Staging
v0.5.1
v0.5.1
swh:1:snp:635f4099902912592851108bcac178ff574f7c5f
Revision c8967002353864e012567125d7824abaeeb31dd3 authored by Christian Heimes on 30 November 2007, 10:18:26 UTC, committed by Christian Heimes on 30 November 2007, 10:18:26 UTC
Multiple reinitializations of Python 3.0 failed on a system without a hardcoded default fs encoding. The patch makes sure that the default fs encoding is freed and reset to NULL on e.g. Linux. I've also taken the liberty to increase the debugging in Objects/object.c:_Py_ForgetReference(). The method is used to validate the reference chain. Reinitialization still fails in the 3rd round of my test suite: * ob object : <refcnt 0 at 0x821c840> type : str refcount: 0 address : 0x821c840 * op->_ob_prev->_ob_next object : <refcnt 0 at 0x821c840> type : str refcount: 0 address : 0x821c840 * op->_ob_next->_ob_prev object : bytearray(b'') type : bytearray refcount: 1 address : 0x826b838 Fatal Python error: UNREF invalid object
1 parent a22e8bd
Tip revision: 550e4673be538d98b6ddf5550b3922539cf5c4b2 authored by Victor Stinner on 08 December 2020, 23:32:54 UTC
bpo-32381: Add _PyRun_SimpleFileObject() (GH-23709)
bpo-32381: Add _PyRun_SimpleFileObject() (GH-23709)
Tip revision: 550e467
File | Mode | Size |
---|---|---|
Demo | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
PCbuild8 | ||
PCbuild9 | ||
Parser | ||
Python | ||
Tools | ||
.hgtags | -rw-r--r-- | 2.6 KB |
INTBENCH | -rw-r--r-- | 941 bytes |
LICENSE | -rw-r--r-- | 13.5 KB |
Makefile.pre.in | -rw-r--r-- | 35.9 KB |
README | -rw-r--r-- | 4.6 KB |
RELNOTES | -rw-r--r-- | 1.2 KB |
configure | -rwxr-xr-x | 629.5 KB |
configure.in | -rw-r--r-- | 96.0 KB |
install-sh | -rwxr-xr-x | 7.0 KB |
pyconfig.h.in | -rw-r--r-- | 27.2 KB |
runtests.sh | -rwxr-xr-x | 2.1 KB |
setup.py | -rw-r--r-- | 67.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...