- 22 Nis, 2006 2 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
- 21 Nis, 2006 22 kayıt (commit)
-
-
Phillip J. Eby yazdı
-
Tim Peters yazdı
Python 2.4 changed ntpath.abspath to do an import inside the function. As a result, due to Python's import lock, anything calling abspath on Windows (directly, or indirectly like tempfile.TemporaryFile) hung when it was called from a thread spawned as a side effect of importing a module. This is a depressingly frequent problem, and deserves a more general fix. I'm settling for a micro-fix here because this specific one accounts for a report of Zope Corp's ZEO hanging on Windows, and it was an odd way to change abspath to begin with (ntpath needs a different implementation depending on whether we're actually running on Windows, and the _obvious_ way to arrange for that is not to bury a possibly-failing import _inside_ the function). Note that if/when other micro-fixes of this kind get made, the new Lib/test/threaded_import_hangers.py is a convenient place to add tests for them.
-
Thomas Heller yazdı
I think that 'generic operating system services' is the best category. Note that the Doc/lib/libctypes.latex file is generated from reST sources. You are welcome to make typo fixes, and I'll try to keep the reST sources in sync, but markup changes would be lost - they should be fixed in the tool that creates the latex file. The conversion script is external/ctypes/docs/manual/mkpydoc.py.
-
Thomas Heller yazdı
-
Thomas Heller yazdı
-
Tim Peters yazdı
-
George Yoshida yazdı
-
Hye-Shik Chang yazdı
Add empty __init__ methods for stateful multibytecodec instances. This resolves a problem found by Thomas Wouters: http://mail.python.org/pipermail/python-dev/2006-April/064051.html
-
George Yoshida yazdı
This generated a ugly code, "P>".
-
Thomas Wouters yazdı
string, because of a cast to int.
-
Martin v. Löwis yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Thomas Wouters yazdı
__delitem__, __setslice__ and __delslice__ hooks. This caused test_weakref and test_userlist to fail in the p3yk branch (where UserList, like all classes, is new-style) on amd64 systems, with open-ended slices: the sys.maxint value for empty-endpoint was transformed into -1.
-
Martin v. Löwis yazdı
-
Skip Montanaro yazdı
-
Skip Montanaro yazdı
Barry approved it awhile ago. Been sitting in my sandbox for awhile as well.
-
- 20 Nis, 2006 9 kayıt (commit)
-
-
Jack Jansen yazdı
- tp_new (which was apparently always overridden:-) called base class tp_init in stead of tp_new.
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
Add some items; add "New module" consistently; make contextlib.closing example more interesting and more correct (thanks Gustavo!); add a name
-
Neal Norwitz yazdı
I tested this with valgrind on amd64. The man pages I found for diff architectures are inconsistent on this. I'm not entirely sure this change is correct for all architectures either. Perhaps we should just over-allocate and not worry about it?
-
Neal Norwitz yazdı
-
Martin v. Löwis yazdı
-
Skip Montanaro yazdı
case. I've yet to figure out how to provoke a None return I can test.
-
- 19 Nis, 2006 7 kayıt (commit)
-
-
Marc-André Lemburg yazdı
-
Thomas Wouters yazdı
-
Marc-André Lemburg yazdı
-
Thomas Wouters yazdı
was having funny effects when called on >2Gb strings ;P
-
Thomas Wouters yazdı
zfill stringmethods, so they can create strings larger than 2Gb on 64bit systems (even win64.) The unicode versions of these methods already did this right.
-
Andrew M. Kuchling yazdı
Write datetime.strptime() item; show use of @contextmanager in defining __context__ methods; minor edits; add two names
-
Armin Rigo yazdı
abstract namespace that is now fully supported.
-