Commit Graph

56578 Commits

Author SHA1 Message Date
Christian Heimes fd30236494 Fixed memory leak in error branch of formatfloat(). CID 719687 2012-09-10 11:48:41 +02:00
Georg Brandl be232923e4 Fix issue number. 2012-09-23 11:17:01 +02:00
Larry Hastings 60eba57f3e Cleanup/rewrite shutil docs regarding follow_symlinks and copying attributes. 2012-09-21 10:12:14 -07:00
Larry Hastings dc07bac29e Mention that "defaults" can be None for inspect.getfullargspec.
Also minor formatting cleanups.
2012-09-21 09:40:41 -07:00
Larry Hastings 9471797cc6 Add What's New entries for some minor work I did in 3.3. 2012-09-21 09:30:19 -07:00
Christian Heimes 19606411d3 Fixed out-of-bounce write to rawmode buffer. The fixed size buffer wasn't enlarged for the new 'x' flag. The buffer may contain the 5 flags xrwa+ and the \0 byte 2012-09-10 03:50:48 +02:00
Christian Heimes bdc7e69f42 Issue #15900: Fixed reference leak in PyUnicode_TranslateCharmap() 2012-09-11 14:03:25 +02:00
Georg Brandl 0085a24075 Closes #15973: fix a segmentation fault when comparing timezone objects. 2012-09-22 09:23:12 +02:00
Antoine Pitrou fd296ff5d6 Issue #15926: Fix crash after multiple reinitializations of the interpreter. 2012-09-12 18:01:36 +02:00
Georg Brandl 1aca31e8f3 Closes #15925: fix regression in parsedate() and parsedate_tz() that should return None if unable to parse the argument. 2012-09-22 09:03:56 +02:00
Georg Brandl deb92b5b1b Closes #15969: rename new API to have consistent names in the faulthandler module. 2012-09-22 08:58:55 +02:00
Georg Brandl ebf7f957d7 Fix NEWS entry location. 2012-09-22 08:56:12 +02:00
Christian Heimes 63b38bbd1d Issue #15977: Fix memory leak in Modules/_ssl.c when the function _set_npn_protocols() is called multiple times 2012-09-20 12:42:54 +02:00
Georg Brandl f022aa502d Spacing fix. 2012-09-22 08:53:12 +02:00
Stefan Krah dbcf103be0 Issue #15882: Change _decimal to accept any coefficient tuple when
constructing infinities. This is done for backwards compatibility
with decimal.py: Infinity coefficients are undefined in _decimal
(in accordance with the specification).
2012-09-10 19:34:58 +02:00
Christian Heimes 6c4b095334 Updates NEWS for issue #15895 2012-09-11 19:28:42 +02:00
Christian Heimes 04ac4c1cb8 Issue #15895: my analysis was slightly off. The FILE pointer is only leaked when set_main_loader() fails for a pyc file with closeit=0. In the success case run_pyc_file() does its own cleanup of the fp. I've changed the code to use another FILE ptr for pyc files and moved the fclose() to PyRun_SimpleFileExFlags() to make it more obvious what's happening. 2012-09-11 15:47:28 +02:00
Christian Heimes eeb5635843 Issue #15895: Fix FILE pointer leak in PyRun_SimpleFileExFlags() when filename points to a pyc/pyo file and closeit is false. 2012-09-11 14:11:03 +02:00
Georg Brandl 05823f7d67 Post-release updates for 3.3.0rc2. 2012-09-09 11:16:41 +02:00
Georg Brandl 023e03bbfc Added tag v3.3.0rc2 for changeset 88a0792e8ba3 2012-09-09 09:04:21 +02:00
Stefan Krah 9e31d36d4a Issue #15814: Update whatsnew to the current state of hashing memoryviews. 2012-09-08 15:35:01 +02:00
Nick Coghlan 0b164c04ba Issue #15814: Add NEWS entry regarding intended memoryview hashing restrictions 2012-09-03 21:46:33 +10:00
Stefan Krah 9c8ad0737a Issue #15814: Documentation: disallow hashing of multi-dimensional memoryviews. 2012-09-02 14:50:56 +02:00
Georg Brandl 02f66cbe87 Bump to 3.3.0rc2. 2012-09-09 08:56:46 +02:00
Georg Brandl 070175df98 Fix NEWS entry location. 2012-09-09 08:31:16 +02:00
Ned Deily 24ec054ea1 Issue #15822: Fix installation of lib2to3 grammar pickles to ensure
they are created in the install locations and with the proper timestamp.
(Solution suggested by MvL)
2012-09-08 19:04:47 -07:00
Antoine Pitrou 2b0218a259 Issue #13992: The trashcan mechanism is now thread-safe. This eliminates
sporadic crashes in multi-thread programs when several long deallocator
chains ran concurrently and involved subclasses of built-in container
types.

Because of this change, a couple extension modules compiled for 3.2.4
(those which use the trashcan mechanism, despite it being undocumented)
will not be loadable by 3.2.3 and earlier. However, extension modules
compiled for 3.2.3 and earlier will be loadable by 3.2.4.
2012-09-06 00:59:49 +02:00
Georg Brandl ef06595535 Changelog entry for 8c2e87aeb707. 2012-09-08 07:58:37 +02:00
Zbigniew Jędrzejewski-Szmek 55c206ab2f Fix bug with argparse.Parser.parse_args(*args) 2012-09-02 14:59:19 +02:00
Stefan Krah af3f3a7f00 Closes #10650: Deprecate the watchexp parameter of Decimal.quantize(). 2012-08-30 12:33:55 +02:00
Stefan Krah 9ecae7a437 Issue #15814: Document planned restrictions for memoryview hashes in 3.3.1. 2012-09-01 14:34:45 +02:00
Stefan Krah 2a70535afd Issue #15724: Add versionchanged tags to the memoryview documentation. 2012-08-30 12:09:09 +02:00
Stefan Krah a3f4a16607 Add missing unit. 2012-09-01 14:27:51 +02:00
Stefan Krah ceaaced4be Compile _decimal without asserts and update benchmark results. 2012-09-01 14:21:22 +02:00
Victor Stinner eaaf9e9249 Close #14223: Fix window.addch(curses.ACS_HLINE)
Fix window.addch() of the curses module for special characters like
curses.ACS_HLINE: the Python function addch(int) and addch(bytes) is now
calling the C function waddch()/mvwaddch() (as it was done in Python 3.2),
instead of wadd_wch()/mvwadd_wch(). The Python function addch(str) is still
calling the C function wadd_wch()/mvwadd_wch() if the Python curses is linked
to libncursesw.
2012-09-01 15:00:34 +02:00
Brett Cannon 848cdfdf97 Issue #15828: Don't try to close a file if imp.find_module() doesn't
return one.
2012-08-31 11:31:20 -04:00
Nick Coghlan 91b9f139bc Issue #15828: Restore support for C extension modules in imp.load_module() 2012-09-01 00:13:45 +10:00
Antoine Pitrou 380c55cc58 Issue #15340: Fix importing the random module when /dev/urandom cannot be opened.
This was a regression caused by the hash randomization patch.
2012-09-07 23:49:07 +02:00
Antoine Pitrou 0398985920 Issue #15781: Fix two small race conditions in import's module locking. 2012-08-28 00:24:52 +02:00
Richard Oudkerk 30147710e8 Issue #15784: Modify OSError.__str__() to better distinguish between
errno error numbers and Windows error numbers.
2012-08-28 19:33:26 +01:00
Victor Stinner ca2b64682e Issue #15785: Modify window.get_wch() API of the curses module: return a
character for most keys, and an integer for special keys, instead of always
returning an integer. So it is now possible to distinguish special keys like
keypad keys.
2012-08-29 01:40:57 +02:00
Georg Brandl 3694401ad2 Post-release updates. 2012-08-25 21:33:08 +02:00
Georg Brandl 44ac85057e Added tag v3.3.0rc1 for changeset 8bb5c7bc46ba 2012-08-25 12:16:59 +02:00
Georg Brandl 4ab4ec258c Bump to 3.3.0rc1. 2012-08-25 12:16:37 +02:00
Georg Brandl d183f0be0b Update pydoc topics and suspicious markup file. 2012-08-25 12:14:59 +02:00
Ronald Oussoren cb460b920f Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is
compiled using the clang compiler

(merge from 3.2)
2012-08-25 11:24:00 +02:00
Ronald Oussoren 25437565f9 Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is compiled using the clang compiler 2012-08-25 11:19:14 +02:00
Georg Brandl cc0274b90f merge with 3.2 2012-08-25 10:12:47 +02:00
Georg Brandl c8076dfa9d Fix wrong way of adding Error information in shutil.copytree. 2012-08-25 10:11:57 +02:00
Nick Coghlan 06e1ab0a6b Close #15573: use value-based memoryview comparisons (patch by Stefan Krah) 2012-08-25 17:59:50 +10:00