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/2006-April/064441.html below:

[Python-Dev] Dropping __init__.py requirement for subpackages

[Python-Dev] Dropping __init__.py requirement for subpackages [Python-Dev] Dropping __init__.py requirement for subpackagesTerry Reedy tjreedy at udel.edu
Wed Apr 26 23:23:12 CEST 2006
"Phillip J. Eby" <pje at telecommunity.com> wrote in message 
news:5.1.1.6.0.20060426164925.01e33228 at mail.telecommunity.com...
>>It might also be good to check that the directory actually contained 
>>python
>>modules.
>
> This is a great idea, but might be hard to implement in practice with the
> current C implementation of import, at least for the general case.

Perhaps checking and autogeneration of __init__.py should better be part of 
a Python-aware editor/IDE.  A File menu could have a New Package entry to 
create a directory + empty __init__.py.

Terry Jan Reedy



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