[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No __init__.py for namespaced module in Python 3.4



On Sep 05, 2014, at 11:28 AM, Paul Tagliamonte wrote:

>Empty init is totally valid - http://legacy.python.org/dev/peps/pep-0420/

Right, but just to be clear, as you noted the presence of *any* __init__.py
regardless of contents, makes it a "regular" (i.e. concrete) package instead
of a namespace package.  It sure sounds like `oslo` wants to be a namespace
package.

https://docs.python.org/3/reference/import.html#packages

Cheers,
-Barry

Attachment: signature.asc
Description: PGP signature


Reply to: