Python’s Preprocessor
41–50 of 109 posts
Re: Python’s Preprocessor
#42Re: Python’s Preprocessor
#43Earlier quoted context omitted.
Let's not forget this fine contribution to the Python's nest. https://github.com/ajalt/fuckitpy
> https://github.com/ajalt/fuckitpy 10 years ago this was just a joke, but today, now that we're finally agile enough so that any disorganized jumble of completely unreviewed and unversioned notebooks might suddenly become a production pipeline? Why let a little thing like critical errors halt the execution of that perfect nightmare you've been working on! The only problem is that the database still won't let you sho…
Re: Python’s Preprocessor
#44Otherwise, ..have fun with that :). Probably easier to rewrite any library rather than fight such dragons (because if someone put this in, what other traps await? Seems almost guaranteed.)
Re: Python’s Preprocessor
#45I thought getting cute with import-hooks was probably the most creative possible way to get fired, but I see now that this was naive. My only regret is that the codec regex probably prevents using stuff like "μtf8" to really troll people properly, so now I'm going to have to use import hooks, preprocessors, and sys.settrace to monkey-patch every function to the previously called one, while swapping stdout and stderr…
Re: Python’s Preprocessor
#46Re: Python’s Preprocessor
#47Earlier quoted context omitted.
As a community we really couldn't come up with a better name, eh?
PrePy could have worked... I guess lol maybe it was taken, cause Pydong... yeah.
Re: Python’s Preprocessor
#48Re: Python’s Preprocessor
#49>>> from __future__ import braces File " ", line 1 SyntaxError: not a chance For those interested in how this (hilarious) error text came to be, it's been hardcoded in cpython since 2001! https://github.com/python/cpython/commit/ad3d3f2f3f19833f59f... The author, Jeremy Hylton, is now a Principal Engineer at Google working on AI search quality. It's quite remarkable that in 24 years, a single person's career has gone…
Re: Python’s Preprocessor
#50Earlier quoted context omitted.
As a community we really couldn't come up with a better name, eh?
Not a prude but this name just reeks of immaturity.