[Python-Dev] question/comment about documentation of relative imports

Antoine Pitrou solipsis at pitrou.net
Tue Oct 5 18:43:26 CEST 2010


On Tue, 05 Oct 2010 17:18:18 +0100
Michael Foord <fuzzyman at voidspace.org.uk> wrote:
> >
> > Generally I'm +0 on relative imports as a whole.
> 
> As the OP pointed out, for code that may be *included* in other projects 
> there is no other choice. This is often useful for packages shared 
> between one or two projects that nonetheless don't warrant separate 
> distribution.

You can put several packages in a single distribution.

Regards

Antoine.




More information about the Python-Dev mailing list