A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-January/107650.html below:

[Python-Dev] Keeping __init__.py empty for Python packages used for module grouping.

[Python-Dev] Keeping __init__.py empty for Python packages used for module grouping. [Python-Dev] Keeping __init__.py empty for Python packages used for module grouping."Martin v. Löwis" martin at v.loewis.de
Tue Jan 25 00:04:03 CET 2011
> If that pattern is a goal, having all versions of the namespace's
> __init__.py empty of anything but the __path__-munging majyk /
> boilerplate is required to make such installs work regardless of the
> order of PYTHONPATH.

With PEP 382, having extensible packages won't contradict to having
a non-trivial __init__.py, and no __path__-munging will be necessary.

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4