[Zope-dev] Coding style clarifications

Martijn Faassen faassen at startifact.com
Fri Feb 20 10:22:06 EST 2009


Jim Fulton wrote:
> On Feb 19, 2009, at 2:07 PM, Marius Gedminas wrote:
> ...
>>  -1 for repeating
>> english.adjective.fully english.adverb.qualified english.noun.package
>> english.noun.names all over the place in the code
> 
> If you have package hierarchies remotely that deep, you have bigger  
> problems.

Dotted name imports within a package's modules like that break the 
ability for people to create package specific namespaces in __init__.py 
due to subtle circular dependency issues. from imports tend to avoid 
this as the namespace package isn't actually needed yet for dotted 
access at a critical point.

Regards,

Martijn



More information about the Zope-Dev mailing list