• Just van Rossum's avatar
    Fix for bug #661136 · 9a3129c1
    Just van Rossum yazdı
    Lesson learned: kids should not be allowed to use API's starting
    with an underscore :-/
    zipimport in 2.3a1 is even more broken than I thought: I attemped
    to _PyString_Resize a string created by PyString_FromStringAndSize,
    which fails for strings with length 0 or 1 since the latter returns
    an interned string in those cases. This would cause a SystemError
    with empty source files (and no matching pyc) in the zip archive.
    I rewrote the offending code to simply allocate a new buffer and
    avoid _PyString_Resize altogether.
    Added a test that would've caught the problem.
    9a3129c1
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...