News for hackers. Stuff that matters.
Re:Structuring Your Project by j88439h84 on Saturday December 07, 2019 @07:21PM (#21733591)
That's really not recommended. A lot of behaviors are subtly affected by failing to have init files.
Re:Structuring Your Project by bobbylarrybobby on Sunday December 08, 2019 @12:04AM (#21734421)
Like what?
Re:Structuring Your Project by samdixon on Sunday December 08, 2019 @01:00AM (#21734554)
Not op but I have personally noticed that doing a ‘python setup.py install’ doesn’t correctly import modules unless you have an __init__.py file. It’s possible I could be doing something wrong however.
Re:Structuring Your Project by eirki on Sunday December 08, 2019 @03:12AM (#21734883)
Mypy sometimes uses init files to understand internal imports.