Commit graph

56591 commits

Author SHA1 Message Date
Mark Dickinson
3d7838593b Issue #16060: Fix a double DECREF in int() implementation. Thanks Serhiy Storchaka. 2012-09-27 19:38:59 +01:00
Benjamin Peterson
0beb4d28d0 don't depend on __debug__ because it's baked in at freeze time (issue #16046) 2012-09-25 11:22:59 -04:00
Victor Stinner
d0af3103ef Close #16022: What's New in Python 3.3 document is no more at beta stage 2012-09-24 23:19:17 +02:00
Georg Brandl
d37b9d7e1b Port #16012 fix: parameter parsing regression in pyexpat parser UseForeignDTD() method. 2012-09-24 13:41:52 +02:00
Georg Brandl
f2487177eb Post-release updates. 2012-09-24 07:42:20 +02:00
Georg Brandl
700765fe91 Added tag v3.3.0rc3 for changeset c191d21cefaf 2012-09-23 17:15:25 +02:00
Georg Brandl
8506d3591c Bump to 3.3.0rc3. 2012-09-23 17:15:21 +02:00
Georg Brandl
6147515d02 Add news entries for recent changes. 2012-09-23 17:11:26 +02:00
Christian Heimes
ab816b5c85 GCC doesn't support typeof in strict ansi mode (e.g. -ansi or -std=c89) 2012-09-23 16:15:01 +02:00
Christian Heimes
b8cd700155 Use C-style comments for C89 / ANSI C compatibility 2012-09-23 16:11:15 +02:00
Stefan Krah
a4b4dea415 Use C-style comments (required for the AIX build slave). 2012-09-23 15:51:16 +02:00
Stefan Krah
f817a7b178 Use C-style comments. 2012-09-23 15:46:09 +02:00
Christian Heimes
8f734ebe94 Fixed reference leak in error branch of _bufferedreader_read_all(). The variable data can contain a bytes object but it wasn't cleaned up when PyList_New() failed. CID 715364 2012-09-10 17:46:09 +02:00
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