Issue444292
Created on 2001-07-24.22:59:44 by crumhorn, last changed 2001-07-29.15:01:17 by bckfnn.
History | |||
---|---|---|---|
Date | User | Action | Args |
2001-07-24 22:59:44 | crumhorn | create |
Created on 2001-07-24.22:59:44 by crumhorn, last changed 2001-07-29.15:01:17 by bckfnn.
Messages | |||
---|---|---|---|
msg354 (view) | Author: Alan Harkreader (crumhorn) | Date: 2001-07-24.22:59:44 | |
Expect pickle-module-str for second print stmt (not '1'); Jython seems to ignore import in favor of earlier local binding in jython 2.1a2: >>> def foo(pickle): ... print pickle ... import pickle ... print pickle ... >>> foo(1) 1 1 >>> ---------------------------------------------------- python 2.1 works as expected: Python 2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit (Intel)] on win32 Type "copyright", "credits" or "license" for more information. >>> def foo(pickle): ... print pickle ... import pickle ... print pickle ... >>> foo(1) 1 <module 'pickle' from 'd:\python21\lib\pickle.py'> >>> |
|||
msg355 (view) | Author: Samuele Pedroni (pedronis) | Date: 2001-07-25.13:59:07 | |
Logged In: YES user_id=61408 What to say? my fault. A bad interaction of my new optimisation for frame locals, and the old logic in the imp.import* family. |
|||
msg356 (view) | Author: Finn Bock (bckfnn) | Date: 2001-07-29.15:01:17 | |
Logged In: YES user_id=4201 Fixed by patch #444911. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2001-07-24 22:59:44 | crumhorn | create |
Supported by Python Software Foundation,
Powered by Roundup