[Python-Dev] Re: [Patches] [Patch #101234] Allow all assignment expressions after 'import something as' (original) (raw)
Peter Schneider-Kamp nowonder@nowonder.de
Sun, 20 Aug 2000 23:22:10 +0000
- Previous message: [Python-Dev] Re: [Patches] [Patch #101234] Allow all assignment expressions after 'import something as'
- Next message: [Python-Dev] Re: [Patches] [Patch #101234] Allow all assignment expressions after 'import something as'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thomas Wouters wrote:
> Date: 2000-Aug-20 20:02 > By: nowonder > > Comment: > Looks fine. Works as I expect. Doesn't break old code. I hope Guido likes > it (assigned to gvanrossum). Actually, it will break old code. Try using some of those tricks on, say, 'encodings', like so (excessively convoluted to prove a point ;):
Actually, I meant that it won't break any existing code (because there is no code using 'import x as y' yet).
Although I don't understand your example (because the word "encoding" makes me want to stick my head into the sand), I am fine with your shift of the list building to compile-time. When I realized what IMPORT_NAME does at runtime, I wondered if this was really neccessary.
Peter
Peter Schneider-Kamp ++47-7388-7331 Herman Krags veg 51-11 mailto:peter@schneider-kamp.de N-7050 Trondheim http://schneider-kamp.de
- Previous message: [Python-Dev] Re: [Patches] [Patch #101234] Allow all assignment expressions after 'import something as'
- Next message: [Python-Dev] Re: [Patches] [Patch #101234] Allow all assignment expressions after 'import something as'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]