[Python-Dev] Re: Christmas Wishlist (original) (raw)
Barry Warsaw barry at python.org
Mon Dec 15 12:39:47 EST 2003
- Previous message: [Python-Dev] Re: Christmas Wishlist
- Next message: [Python-Dev] Re: Christmas Wishlist
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 2003-12-15 at 12:07, Guido van Rossum wrote:
> Actually, if truth be told, I'd love to just ban local imports. I > understand that might be controversial though .
Works for me. :-)
Yay! :)
> The next best thing would be to force local imports to use special > syntax (I was going to say "ugly" :) like what you suggest above, but > I'm afraid that that might be more disruptive, requiring future imports > and such. I think having a syntax for spelling global imports can be > done in a backwards compatible way for 2.4.
Well, but since you want all imports to be global, it'd be insane to introduce new syntax for global imports, wouldn't it?
If we banned relative (a.k.a. local) imports, yes definitely.
from future global_imports
?
pep-time-ly y'rs, -Barry
- Previous message: [Python-Dev] Re: Christmas Wishlist
- Next message: [Python-Dev] Re: Christmas Wishlist
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]