Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision dfdac1af4d323f4f69775794777197ea31d804ef authored by Barry Warsaw on 23 March 2001, 16:13:30 UTC, committed by Barry Warsaw on 23 March 2001, 16:13:30 UTC
#403666. Specifically, In codestr, force `c' to be global. It's unclear what the semantics should be for a code object compiled at module scope, but bound and run in a function. In CPython, `c' is global (by accident?) while in Jython, `c' is local. The intent of the test clearly is to make `c' global, so let's be explicit about it. Jython also does not have a __builtins__ name in the module's namespace, so we use a more portable alternative (though I'm not sure why the test requires "__builtins__" in the g namespace). Finally, skip the new.code() test if the new module doesn't have a `code' attribute. Jython will never have this.
1 parent 101651c
Tip revision: dfdac1af4d323f4f69775794777197ea31d804ef authored by Barry Warsaw on 23 March 2001, 16:13:30 UTC
Several changes for Jython portability. This closes SF patch
Several changes for Jython portability. This closes SF patch
Tip revision: dfdac1a
File | Mode | Size |
---|---|---|
RPM | ||
ACKS | -rw-r--r-- | 6.1 KB |
AIX-NOTES | -rw-r--r-- | 7.3 KB |
BLURB | -rw-r--r-- | 1.6 KB |
BLURB.LUTZ | -rw-r--r-- | 5.6 KB |
BLURB.WINDOWS | -rw-r--r-- | 3.8 KB |
BeOS-NOTES | -rw-r--r-- | 4.3 KB |
HISTORY | -rw-r--r-- | 305.2 KB |
HPUX-NOTES | -rw-r--r-- | 1.0 KB |
HYPE | -rw-r--r-- | 3.1 KB |
Makefile.pre.in | -rw-r--r-- | 9.9 KB |
NEWS | -rw-r--r-- | 63.3 KB |
NEXT-NOTES | -rw-r--r-- | 2.2 KB |
PURIFY.README | -rw-r--r-- | 3.6 KB |
Porting | -rw-r--r-- | 1.9 KB |
README | -rw-r--r-- | 1.8 KB |
RFD | -rw-r--r-- | 3.9 KB |
cheatsheet | -rw-r--r-- | 21.8 KB |
comparisons | -rw-r--r-- | 6.6 KB |
editline-fix | -rw-r--r-- | 2.4 KB |
faq2html.py | -rwxr-xr-x | 6.6 KB |
find_recursionlimit.py | -rw-r--r-- | 2.2 KB |
fixfuncptrs.sh | -rwxr-xr-x | 2.2 KB |
gdbinit | -rw-r--r-- | 898 bytes |
indent.pro | -rw-r--r-- | 66 bytes |
python-mode.el | -rw-r--r-- | 115.9 KB |
python.man | -rw-r--r-- | 10.1 KB |
renumber.py | -rwxr-xr-x | 2.6 KB |
setuid-prog.c | -rw-r--r-- | 5.3 KB |
unicode.txt | -rw-r--r-- | 38.0 KB |
vgrindefs | -rw-r--r-- | 498 bytes |
Computing file changes ...