'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)) (original) (raw)
Peter Schneider-Kamp nowonder@nowonder.de
Thu, 10 Aug 2000 07:21:13 +0000
- Previous message: '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))
- Next message: '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))
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Peter Schneider-Kamp wrote:
-1 on the implementation. Although it looked okay on a first visual inspection, it builds a segfaulting python executable on linux: make distclean && ./configure && make test segfaults when first time starting python to run regrtest.py. Reversing the patch and doing a simple 'make test' has everything running again.
Also note the following problems:
nowonder@mobility:~/python/python/dist/src > ./python Python 2.0b1 (#12, Aug 10 2000, 07:17:46) [GCC 2.95.2 19991024 (release)] on linux2 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam Copyright 1995-2000 Corporation for National Research Initiatives (CNRI)
from string import join Speicherzugriffsfehler nowonder@mobility:~/python/python/dist/src > ./python Python 2.0b1 (#12, Aug 10 2000, 07:17:46) [GCC 2.95.2 19991024 (release)] on linux2 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam Copyright 1995-2000 Corporation for National Research Initiatives (CNRI) from string import join as j File "", line 1 from string import join as j ^ SyntaxError: invalid syntax
I think the problem is in compile.c, but that's just my bet.
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: '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))
- Next message: '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))
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]