News for hackers. Stuff that matters.
Re:How the Python import system works by andrewaylett on Saturday July 24, 2021 @06:04PM (#27944823)
Lots of things you can do with Python but probably shouldn't and people typically don't. That's one reason I prefer it to Ruby, or even Node, where monkey-patching or otherwise exposing bad magical behaviours is common and even encouraged -- the power is all there, but the ecosystem encourages you to use it for good, not evil.

This sounds very much like the good kind of magic, though.

Re:How the Python import system works by andrewaylett on Sunday July 25, 2021 @07:49AM (#27948452)
To add to this: bad magic is magic that the user has to be aware of in order to use safely. Good magic is an implementation detail that the user doesn't need to know anything about.
Re:How the Python import system works by chucke on Sunday July 25, 2021 @08:46PM (#27954307)
I don't even know what that means.