- 18 Sep, 2009 10 commits
-
-
Benjamin Peterson authored
-
Mark Dickinson authored
-
Thomas Heller authored
does now always result in NULL.
-
Thomas Heller authored
base class positional arguments.
-
Mark Dickinson authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
- 17 Sep, 2009 12 commits
-
-
Benjamin Peterson authored
-
Georg Brandl authored
Make the optparse doc style a bit more standard: use standard description units for attrs/methods/etc., and use the correct referencing roles.
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
UTF-32 stream with a non-raising error handler like "replace" or "ignore".
-
Georg Brandl authored
-
Georg Brandl authored
-
Benjamin Peterson authored
-
Brett Cannon authored
Note in the intro to Extending... that ctypes can be a simpler, more portable solution than custom C code.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 16 Sep, 2009 16 commits
-
-
Mark Dickinson authored
(up to 3.1 times faster in tests), by special-casing base 10 in _PyLong_Format. (Backport of r74851 from py3k.)
-
Thomas Wouters authored
-
Georg Brandl authored
This works by always setting it in __dict__, except when it's implicitly set in __init__.
-
Mark Dickinson authored
non-Apple gcc4.3 and gcc4.4 (because CoreFoundation/CoreFoundation.h won't compile under non-Apple gcc).
-
Thomas Wouters authored
acquiring the import lock around fork() calls. This prevents other threads from having that lock while the fork happens, and is the recommended way of dealing with such issues. There are two other locks we care about, the GIL and the Thread Local Storage lock. The GIL is obviously held when calling Python functions like os.fork(), and the TLS lock is explicitly reallocated instead, while also deleting now-orphaned TLS data. This only fixes calls to os.fork(), not extension modules or embedding programs calling C's fork() directly. Solving that requires a new set of API functions, and possibly a rewrite of the Python/thread_*.c mess. Add a warning explaining the problem to the documentation in the mean time. This also changes behaviour a little on AIX. Before, AIX (but only AIX) was getting the import lock reallocated, seemingly to avoid this very same problem. This is not the right approach, because the import lock is a re-entrant one, and reallocating would do the wrong thing when forking while holding the import lock. Will backport to 2.6, minus the tiny AIX behaviour change.
-
Georg Brandl authored
Make the pdb displayhook compatible with the standard displayhook: do not print Nones. Add a test for that.
-
Georg Brandl authored
-
Georg Brandl authored
-
Ezio Melotti authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
- 15 Sep, 2009 2 commits
-
-
Ronald Oussoren authored
to --with-universal-archs
-
Georg Brandl authored
-