'import x as y' stops the show (was: Re: [Python-Dev] [Patch #101135] 'import x as y' and 'from x import y as z' (fwd))

Peter Schneider-Kamp nowonder@nowonder.de
Thu, 10 Aug 2000 07:37:44 +0000


Thomas Wouters wrote:
> 
> If it still goes crashy crashy after you re-make the grammar, I'll, well,
> I'll, I'll make Baldrick eat one of his own dirty socks ;)

I just found that out for myself. The syntaxerror in the
second examples lead my way ...

Sorry for the hassle, but next time please remind me that
I have to remake the grammar.

+1 on the implementation now.

perversely-minded-note:
What about 'from string import *, join as j'?
I think that would make sense, but as we are not fond of
the star in any case maybe we don't need that.

Peter

P.S.: I'd like to see Baldrick do that. What the heck is
      a Baldrick? I am longing for breakfast, so I hope
      I can eat it. Mjam.
--
Peter Schneider-Kamp          ++47-7388-7331
Herman Krags veg 51-11        mailto:peter@schneider-kamp.de
N-7050 Trondheim              http://schneider-kamp.de