R David Murray
14d66a98ed
#5088 : document behavior of optparse defaults with 'append' action.
2012-09-08 16:45:35 -04:00
R David Murray
230f6621fa
Merge Ezio's 'merge heads'.
2012-09-08 16:43:17 -04:00
Ezio Melotti
8bdcdc235e
Merge heads.
2012-09-08 20:52:19 +03:00
Ezio Melotti
8b61611309
#15865 : merge with 3.2.
2012-09-08 20:49:18 +03:00
Ezio Melotti
e927e25637
#15865 : add "*" in the signature to document keyword-only args in the docs. Patch by Chris Jerdonek.
2012-09-08 20:46:01 +03:00
R David Murray
0fbbce99c3
Merge #15510 : clarify textwrap's handling of whitespace, and add confirming tests.
...
Patch by Chris Jerdonek.
2012-09-08 13:14:58 -04:00
R David Murray
1585b70813
#15510 : clarify textwrap's handling of whitespace, and add confirming tests.
...
Patch by Chris Jerdonek.
2012-09-08 13:13:25 -04:00
R David Murray
63755f3bd9
merge #15847 : allow args to be a tuple in parse_args
...
This fixes a regression introduced by the fix for issue #13922 . Although args
is not documented as being allowed to be a tuple, previously this worked and
so naturally there are programs in the field that depend on it.
Patch by Zbyszek Jędrzejewski-Szmek.
2012-09-08 12:14:25 -04:00
R David Murray
b522828d2a
#15847 : allow args to be a tuple in parse_args
...
This fixes a regression introduced by the fix for issue #13922 . Although args
is not documented as being allowed to be a tuple, previously this worked and
so naturally there are programs in the field that depend on it.
Patch by Zbyszek Jędrzejewski-Szmek.
2012-09-08 12:08:01 -04:00
Stefan Krah
9e31d36d4a
Issue #15814 : Update whatsnew to the current state of hashing memoryviews.
2012-09-08 15:35:01 +02:00
Stefan Krah
37a0170fa3
Issue #15814 : Update whatsnew to the current state of hashing memoryviews.
2012-09-08 15:35:01 +02:00
Stefan Krah
ea94ba45fa
Merge 3.2.
2012-09-08 11:19:27 +02:00
Stefan Krah
96efdd422c
Issue #15868 : Fix refleak in bytesio.c (Coverity #715365 ).
2012-09-08 11:12:33 +02: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
Christian Heimes
4e2514031a
Fix for fcc629208842
...
BSD's make doesn't support some of the features.
2012-09-07 02:26:26 +02:00
Christian Heimes
5f381210c4
Fix for fcc629208842
...
BSD's make doesn't support some of the features.
2012-09-07 02:24:58 +02:00
Christian Heimes
693320add4
Issue #15591 and Issue #11715 : silence output of setup.py when make is run with -s option.
2012-09-07 01:07:12 +02:00
Christian Heimes
74b65c8ebc
Issue #15591 and Issue #11715 : silence output of setup.py when make is run with -s option.
2012-09-07 00:56:56 +02:00
Christian Heimes
0897683381
Issue #15591 and Issue #11715 : silence output of setup.py when make is run with -s option.
2012-09-07 00:55:33 +02:00
Ross Lagerwall
ce66a3e36f
Fix a typo in the curses docs
2012-09-06 18:58:43 +02:00
Christian Heimes
6d1fb5aa85
Issue #15591 : run ctypes' configure in quiet mode when setup.py runs silently
2012-09-06 18:03:32 +02:00
Christian Heimes
7dd06e1dc0
Issue #15591 : run ctypes' configure in quiet mode when setup.py runs silently
2012-09-06 18:02:49 +02:00
Stefan Krah
d9c1bf7f1f
After the jump in line 1051 unicode_tmp is NULL. Found by Coverity.
2012-09-06 13:02:46 +02:00
Stefan Krah
527a2400fb
_testbuffer.c: In all current use cases of cmp_structure() dest->format and
...
src->format are either both NULL or both non-NULL. However, it is safer to
generalize the function. Found by Coverity.
2012-09-06 09:42:29 +02:00
Eric Snow
b2a61e1ead
add whatsnew entry for PEP 421
2012-09-05 22:19:38 -07: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
Antoine Pitrou
11946fbe80
Issue #15841 : The readable(), writable() and seekable() methods of BytesIO
...
and StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
2012-09-05 20:13:48 +02:00
Antoine Pitrou
1d857453b7
Issue #15841 : The readable(), writable() and seekable() methods of BytesIO
...
and StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
2012-09-05 20:11:49 +02:00
Alexander Belopolsky
e8677c038f
Issue #15855 : updated related manual entries.
2012-09-03 17:29:22 -04:00
Alexander Belopolsky
f73c69e06f
Issue #15855 : added docstrings for memoryview methods and data descriptors new in 3.3.
2012-09-03 16:51:01 -04:00
Alexander Belopolsky
e370c38131
Issue #15855 : added docstrings for memoryview methods and data descriptors (merge 3.2).
2012-09-03 16:43:55 -04:00
Alexander Belopolsky
397e5c98bc
Issue #15855 : added docstrings for memoryview methods and data descriptors.
2012-09-03 16:29:11 -04:00
R David Murray
3561901cd9
#15557,#15447,#15509: webbrowser test suite added.
...
Initial patch by Anton Barkovsky, refined a bit by me to further subdivide the
test methods. Provides tests for the previous two bug fix commits.
2012-09-03 12:52:08 -04:00
R David Murray
02ca144b92
#15447 : Use subprocess.DEVNULL in webbrowser, instead of opening
...
This eliminates a ResourceWarning, since before webbrowser was
explicitly opening os.devnull and then leaving it open. Tests
to follow.
Patch by Anton Barkovsky.
2012-09-03 12:44:29 -04:00
R David Murray
d674a770e9
Merge #15509 : If %action substitution produces a null string, drop it.
...
Patch by Anton Barkovsky, comment addition by me.
This shows up as a bug in 3.3 because the definition for Chrome
produces such an empty string. Tests will follow.
2012-09-03 12:37:59 -04:00
R David Murray
94dd7cb0c7
#15509 : If %action substitution produces a null string, drop it.
...
Patch by Anton Barkovsky, comment addition by me.
This showed up as a bug in 3.3 because the definition for Chrome
produced such an empty string. This fix is tested in 3.3+;
backporting the new test suite is more trouble than it is worth.
2012-09-03 12:30:12 -04:00
Nick Coghlan
0b164c04ba
Issue #15814 : Add NEWS entry regarding intended memoryview hashing restrictions
2012-09-03 21:46:33 +10:00
Nick Coghlan
f147d7345a
Issue #15814 : Add NEWS entry regarding intended memoryview hashing restrictions
2012-09-03 21:46:33 +10:00
Benjamin Peterson
d40528fe9a
merge 3.2
2012-09-02 16:37:09 -04:00
Benjamin Peterson
c7dedb0945
put * in the normal place
2012-09-02 16:36:01 -04:00
Benjamin Peterson
bd0df50fb6
get rid of ast_error_finish by passing the compiling struct to ast_error
2012-09-02 15:04:51 -04:00
Benjamin Peterson
e9f72dbf0d
merge 3.2
2012-09-02 14:38:15 -04:00
Benjamin Peterson
c5d7518a2e
move variable decl to the top of the function
2012-09-02 14:38:08 -04:00
Benjamin Peterson
f2f2bfee8a
merge heads
2012-09-02 14:25:18 -04:00
Benjamin Peterson
c7f447c89f
merge 3.2 ( #15846 )
2012-09-02 14:24:44 -04:00
Benjamin Peterson
2e2c903700
prevert ast errors from being normalized before ast_error_finish is called ( closes #15846 )
2012-09-02 14:23:15 -04:00
Antoine Pitrou
057119b0b7
Fix C++-style comment (xlc compilation failure)
2012-09-02 17:56:33 +02:00