Y
Hacker News
new
|
ask
|
show
|
jobs
by
j88439h84
2388 days ago
That's really not recommended. A lot of behaviors are subtly affected by failing to have init files.
1 comments
bobbylarrybobby
2388 days ago
Like what?
link
samdixon
2388 days ago
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.
link
eirki
2388 days ago
Mypy sometimes uses init files to understand internal imports.
link