- 17 Eyl, 2009 4 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
Brett Cannon yazdı
Note in the intro to Extending... that ctypes can be a simpler, more portable solution than custom C code.
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
- 16 Eyl, 2009 16 kayıt (commit)
-
-
Mark Dickinson yazdı
(up to 3.1 times faster in tests), by special-casing base 10 in _PyLong_Format. (Backport of r74851 from py3k.)
-
Thomas Wouters yazdı
-
Georg Brandl yazdı
This works by always setting it in __dict__, except when it's implicitly set in __init__.
-
Mark Dickinson yazdı
non-Apple gcc4.3 and gcc4.4 (because CoreFoundation/CoreFoundation.h won't compile under non-Apple gcc).
-
Thomas Wouters yazdı
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 yazdı
Make the pdb displayhook compatible with the standard displayhook: do not print Nones. Add a test for that.
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Ezio Melotti yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
- 15 Eyl, 2009 6 kayıt (commit)
-
-
Ronald Oussoren yazdı
to --with-universal-archs
-
Georg Brandl yazdı
-
Ronald Oussoren yazdı
and --with-universal-archs=3-way (issue6245)
-
Ezio Melotti yazdı
-
Ronald Oussoren yazdı
Tk.framework and build _tkinter only for those architectures. This replaces the hardcoded solution that is no longer valid now that 64-bit capable versions of Tk are available on OSX.
-
Benjamin Peterson yazdı
-
- 14 Eyl, 2009 3 kayıt (commit)
-
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Ezio Melotti yazdı
-
- 13 Eyl, 2009 11 kayıt (commit)
-
-
Michael Foord yazdı
-
Michael Foord yazdı
Test discovery in unittest will only attempt to import modules that are importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568.
-
Georg Brandl yazdı
-
Michael Foord yazdı
-
Michael Foord yazdı
-
Michael Foord yazdı
Note that sys._getframe is not guaranteed to exist in all implementations of Python, and a corresponding note in inspect.currentframe. Issue 6712.
-
Michael Foord yazdı
Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567.
-
Michael Foord yazdı
-
Matthias Klose yazdı
-
Mark Dickinson yazdı
a couple of whitespace issues.
-
Benjamin Peterson yazdı
-