News for hackers. Stuff that matters.
Re:Never run ‘python’ in your downloads folder by kevin_thibedeau on Sunday August 23, 2020 @12:08PM (#24252844)
Python has little magic in it. It's 3rd party libraries that do un-Pythonic things.
Re:Never run ‘python’ in your downloads folder by quietbritishjim on Monday August 24, 2020 @01:02PM (#24262672)
The descriptor protocol is definitely magic!

It normally doesn't matter that it's magic because most people don't need to interact with it. And it causes a very intuitive result in the part of the language that most people actually do interact with: that x = obj.foo; x() is the same as obj.foo() (not true in Javascript!). But that doesn't change the fact that method binding happens in a more complex way under the hood than you'd expect.

Re:Never run ‘python’ in your downloads folder by kissgyorgy on Sunday August 23, 2020 @05:03PM (#24255279)
> Python has little magic in it.

LOL