ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> import-sig
import-sig
Re: [Import-sig] Re: Proposal for a modified import mechanism.
by M.-A. Lemburg other posts by this author
Nov 11 2001 2:05PM messages near this date
[Import-sig] Re: [Python-Dev] Re: Proposal for a modified import mechanism. | [Import-sig] Re: Proposal for a modified import mechanism.
[Please leave this on the import-sig; severe cross-posting won't get
 you many friends...]

eric wrote:
>  
>  I have to agree with Prabhu on this one.  The current behavior of import,
>  while fine for standard modules and even simple packages with a single
>  level, is sub-optimal for packages that contain sub-packages.  The proposed
>  behavior solves the problem.

I have been doing business in the package and subpackage area
for years now and can't really say that I have serious problems 
with the current situation.

If all you need is relative imports, then writing a small
helper for this should do the trick. The needed information
is readily available now. 

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Consulting & Company:                           http://www.egenix.com/
Python Software:                        http://www.lemburg.com/python/

_______________________________________________
Import-sig mailing list
Import-sig@[...].org
http://mail.python.org/mailman/listinfo/import-sig

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved