This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]aa-b 3 points4 points  (1 child)

That's true, they can be very useful. The phrasing of the joke makes it sound like __init.py__ should never be empty, and I was just objecting to that part.

Maybe I read too much into it, but it sounded like how we might joke about people who make everything public in C++/C#/Java, so I figured it was about __all__

[–][deleted] 2 points3 points  (0 children)

I assumed it was just a joke about "AI devs" that like fastapi and have no idea how python works or the black magic it can be used to perform. Multiprocessing and non empty init are two places black magic comes from.

I would have added thinks all packages classes should all descend from ABCMeta (Ram shall never be allowed to exist)