Georg Brandl
8fc6cb35c5
Move 3.1 and 3.2 NEWS items to HISTORY.
2012-10-01 18:55:32 +02:00
Ezio Melotti
00160661a5
Update suspicious ignore file.
2012-10-01 07:10:08 +03:00
R David Murray
445d69c2bd
More additions to whatsnew.
2012-09-30 21:59:56 -04:00
R David Murray
c652ce6d02
More whatsnew adds, especially the os module.
...
I went through all the versionchanged/versionadded tags in the os doc page for
this changeset.
2012-09-30 20:07:42 -04:00
R David Murray
d2489cf4d0
Add some missing stuff to whatsnew.
2012-09-30 17:28:54 -04:00
Ezio Melotti
8a9cc526fe
#15923 : merge with 3.2.
2012-09-30 22:47:47 +03:00
Ezio Melotti
cb2916a714
#15923 : fix a mistake in asdl_c.py that resulted in a TypeError after 2801bf875a24 (see #15801 ).
2012-09-30 22:41:37 +03:00
Georg Brandl
eea74276cc
Fix reST markup in NEWS.
2012-09-30 14:42:22 +02:00
Chris Jerdonek
28714c8c26
Issue #15533 : Merge fix from 3.2.
2012-09-30 02:15:37 -07:00
Georg Brandl
81b409c618
Add missing 3.3.1 NEWS entries deleted in 83496b5e1916.
2012-09-30 09:40:45 +02:00
Chris Jerdonek
ec3ea94251
Issue #15533 : Clarify docs and add tests for subprocess.Popen()'s cwd argument.
2012-09-30 00:10:28 -07:00
Nadeem Vawda
6c57318c3a
Issue #16034 : Fix performance regressions in the new BZ2File implementation.
...
Thanks to Victor Hooi for the bug report, and Serhiy Storchaka for the initial patch.
2012-09-30 03:57:33 +02:00
Gregory P. Smith
02dee1acd8
Fixes issue #15756 : subprocess.poll() now properly handles errno.ECHILD
...
to return a returncode of 0 when the child has already exited or cannot be
waited on.
2012-09-29 11:53:08 -07:00
Gregory P. Smith
3905171f1e
Fixes issue #15756 : subprocess.poll() now properly handles errno.ECHILD
...
to return a returncode of 0 when the child has already exited or cannot
be waited on.
2012-09-29 11:40:38 -07:00
Benjamin Peterson
14fb44e1ba
merge mostly from default
2012-09-29 14:14:19 -04:00
Georg Brandl
ac76833033
Post-release update.
2012-09-29 14:21:25 +02:00
Georg Brandl
99a247fd01
Merge with main repo default branch.
2012-09-29 09:27:15 +02:00
Georg Brandl
c7dcd50e4e
Bump version to 3.3.0 final.
2012-09-29 09:04:54 +02:00
Michael Foord
8ec31c2006
Merge
2012-09-28 16:16:24 +01:00
Michael Foord
28d591ceef
Closes issue 15323. Improve failure message of Mock.assert_called_once_with
2012-09-28 16:15:22 +01:00
Georg Brandl
811b981fcb
Move NEWS items from 3.3.0 to that section, to ease merging from the release clone later.
2012-09-28 17:10:11 +02:00
Michael Foord
8ef1fcecc5
Merge
2012-09-28 15:19:45 +01:00
Michael Foord
d38e6e516d
Closes issue 16064. No longer hard code executable name in unittest help output.
2012-09-28 15:14:37 +01:00
Michael Foord
7a1901f861
Closes issue #12376 : Pass on parameters in unittest.TextTestResult.__init__ super call
2012-09-28 14:14:03 +01:00
Chris Jerdonek
2246aa8ac8
Issue #16036 : Merge update from 3.2.
2012-09-28 01:15:39 -07:00
Chris Jerdonek
57491e0703
Issue #16036 : Improve documentation of built-in int()'s signature and arguments.
2012-09-28 00:10:44 -07:00
Mark Dickinson
3d7838593b
Issue #16060 : Fix a double DECREF in int() implementation. Thanks Serhiy Storchaka.
2012-09-27 19:38:59 +01:00
Mark Dickinson
7c95bb35e4
Issue #16060 : Fix a double DECREF in int() implementation. Thanks Serhiy Storchaka.
2012-09-27 19:38:59 +01:00
Petri Lehtinen
f6b30385cc
#15222 : Merge 3.2
2012-09-25 22:06:07 +03:00
Petri Lehtinen
f39884bb5a
#15222 : Insert blank line after each message in mbox mailboxes
2012-09-25 22:02:06 +03: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
Benjamin Peterson
feaa54f537
don't depend on __debug__ because it's baked in at freeze time (issue #16046 )
2012-09-25 11:22:59 -04:00
Barry Warsaw
d09a05ebc5
Merge 3.2 except the massive Misc/NEWS conflict, so hand apply the NEWS entry.
2012-09-25 10:47:55 -04:00
Barry Warsaw
1dedd0a4a4
- Issue #15935 : Clarification of argparse docs, re: add_argument() type and
...
default arguments. Patch contributed by Chris Jerdonek.
2012-09-25 10:37:58 -04:00
Senthil Kumaran
49d130227b
merge 3.2: Issue #16013 : Fix CSV Reader parsing issue with ending quote characters. Patch by Serhiy Storchaka.
2012-09-25 02:37:20 -07:00
Senthil Kumaran
67b7b98a47
Issue #16013 : Fix CSV Reader parsing issue with ending quote characters. Patch by Serhiy Storchaka.
2012-09-25 02:30:27 -07:00
Georg Brandl
d37b9d7e1b
Port #16012 fix: parameter parsing regression in pyexpat parser UseForeignDTD() method.
2012-09-24 13:41:52 +02:00
Christian Heimes
22340be15e
Issue #16012 : Fix a regression in pyexpat. The parser's UseForeignDTD()
...
method doesn't require an argument again.
2012-09-24 13:27:28 +02:00
Christian Heimes
e26d3af7ee
Issue #16012 : Fix a regression in pyexpat. The parser's UseForeignDTD()
...
method doesn't require an argument again.
2012-09-24 13:17:08 +02:00
Georg Brandl
b5f91d7eb7
Merge with 3.3.0 release clone.
2012-09-24 07:46:35 +02:00
Georg Brandl
f2487177eb
Post-release updates.
2012-09-24 07:42:20 +02:00
Antoine Pitrou
a1f7655fa7
Issue #15379 : Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings).
...
Patch by Serhiy Storchaka.
2012-09-23 20:00:04 +02:00
Antoine Pitrou
6f80f5d444
Issue #15379 : Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings).
...
Patch by Serhiy Storchaka.
2012-09-23 19:55:21 +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
Victor Stinner
707bce4a66
Issue #15969 : Fix the issue number in Misc/NEWS
2012-09-23 11:11:07 +02:00
Victor Stinner
a3ff101e6a
Issue #5969 : faulthandler module: rename dump_tracebacks_later() to
...
dump_traceback_later() and cancel_dump_tracebacks_later() to
cancel_dump_traceback_later().
2012-09-23 11:06:21 +02:00
R David Murray
752a2241ea
#15925 : fix regression: return None for null and non-date strings.
...
Since the logic for null detection had to move into the _parseaddr
functions, I removed the wrappers from email.utils and just import the
_parseaddr functions directly.
2012-09-22 09:59:51 -04:00
Ezio Melotti
f82b9371f5
#15421 : merge with 3.2.
2012-09-21 17:29:20 +03:00
Ezio Melotti
85710a40e7
#15421 : fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR. Patch by Cédric Krier.
2012-09-21 17:26:35 +03:00
Ezio Melotti
050a61f838
#15304 : merge with 3.2.
2012-09-21 16:53:07 +03:00
Ezio Melotti
e418d76089
#15304 : fix wrong warning message in test.support.temp_cwd().
2012-09-21 16:48:12 +03:00
doko@ubuntu.com
98b1c446d5
- Issue #11715 : Fix multiarch detection without having Debian development
...
tools (dpkg-dev) installed.
2012-09-21 13:52:29 +02:00
Antoine Pitrou
ca8aa4acf6
Issue #15144 : Fix possible integer overflow when handling pointers as integer values, by using Py_uintptr_t instead of size_t.
...
Patch by Serhiy Storchaka.
2012-09-20 20:56:47 +02:00
Christian Heimes
1c47222a25
merge
2012-09-20 12:43:24 +02:00
Christian Heimes
5cb31c9277
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
Ezio Melotti
ab9b661fdd
#15970 : merge with 3.2.
2012-09-19 08:25:01 +03:00
Ezio Melotti
c90111f9ab
#15970 : xml.etree.ElementTree now serializes correctly the empty HTML elements "meta" and "param".
2012-09-19 08:19:12 +03:00
Trent Nelson
9a46105a89
#15965 : Explicitly cast AT_FDCWD as (int).
...
Required on Solaris 10 (which defines AT_FDCWD as 0xffd19553),
harmless on other platforms.
2012-09-18 21:50:06 -04:00
Antoine Pitrou
9b1c84b586
Issue #15842 : the SocketIO.{readable,writable,seekable} methods now raise ValueError when the file-like object is closed.
...
Patch by Alessandro Moura.
2012-09-14 17:30:31 +02:00
Antoine Pitrou
1e7ee9dfa0
Issue #15842 : the SocketIO.{readable,writable,seekable} methods now raise ValueError when the file-like object is closed.
...
Patch by Alessandro Moura.
2012-09-14 17:28:10 +02:00
Ezio Melotti
c2085dd765
#15437 , #15439 : merge with 3.2.
2012-09-14 01:40:41 +03:00
Ezio Melotti
56f37aa965
#15437 , #15439 : merge Doc/ACKS.txt with Misc/ACKS and modify Doc/about.rst accordingly.
2012-09-14 01:24:44 +03:00
Antoine Pitrou
9d20e0edd9
Issue #15926 : Fix crash after multiple reinitializations of the interpreter.
2012-09-12 18:01:36 +02:00
Barry Warsaw
0ae066b281
- Issue #15906 : Fix a regression in argparse caused by the preceding change,
...
when action='append', type='str' and default=[].
2012-09-12 00:12:29 -04:00
Barry Warsaw
4b2f9e914d
- Issue #15906 : Fix a regression in argparse caused by the preceding change,
...
when action='append', type='str' and default=[].
2012-09-11 22:38:47 -04:00
Christian Heimes
8f49456b4e
Updates NEWS for issue #15895
2012-09-11 19:28:42 +02:00
Christian Heimes
6d29352cfd
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
6a77af690f
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
Christian Heimes
26b9f4b2f3
Spelling past tense -> present tense
2012-09-11 14:08:49 +02:00
Christian Heimes
5f520f4fed
Issue #15900 : Fixed reference leak in PyUnicode_TranslateCharmap()
2012-09-11 14:03:25 +02:00
Jesus Cea
b7a2800831
MERGE: Closes #15793 : Stack corruption in ssl.RAND_egd()
2012-09-11 02:08:48 +02:00
Jesus Cea
c8754a13e6
Closes #15793 : Stack corruption in ssl.RAND_egd()
2012-09-11 02:00:58 +02:00
Jesus Cea
7b9c48f339
MERGE: #15676 : Proper attribution in Misc/ACKS
2012-09-10 20:20:02 +02:00
Jesus Cea
3159cb51a7
#15676 : Proper attribution in Misc/ACKS
2012-09-10 20:19:25 +02:00
Stefan Krah
76e12179c5
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
Georg Brandl
be232923e4
Fix issue number.
2012-09-23 11:17:01 +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
Jesus Cea
1b3f3b0316
Closes #15676 : mmap: add empty file check prior to offset check
2012-09-10 01:23:05 +02:00
Alexander Belopolsky
b21d48dabf
merge
2012-09-09 19:01:20 -04:00
Jesus Cea
941bfcc537
Closes #15676 : mmap: add empty file check prior to offset check
2012-09-10 00:27:55 +02:00
Alexander Belopolsky
7330da4297
Issue #15881 : Added NEWS entry and proper credit.
2012-09-09 14:11:45 -04:00
Georg Brandl
5497295917
Merge in changes from 3.3.0rc2 release clone.
2012-09-09 11:19:17 +02:00
Georg Brandl
05823f7d67
Post-release updates for 3.3.0rc2.
2012-09-09 11:16:41 +02:00
Ned Deily
4725b13ab3
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
Ned Deily
47bcfff26b
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 18:50:56 -07:00
Antoine Pitrou
8c195afcac
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:51:22 +02:00
Antoine Pitrou
7ff1822ec7
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
Ross Lagerwall
2dabaf63cf
Issue #15876 : Fix a refleak in the curses module
...
The refleak occurred when assigning to window.encoding.
2012-09-07 08:34:23 +02:00
Antoine Pitrou
5b4faae307
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.
Note that the trashcan functions are part of the stable ABI, therefore
they have to be kept around for binary compatibility of extensions.
2012-09-06 01:17:42 +02:00
Antoine Pitrou
56cd62c04a
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