Commit graph

57040 commits

Author SHA1 Message Date
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
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
a3b84fb2f9 Issue #15814: Documentation: disallow hashing of multi-dimensional memoryviews. 2012-09-02 14:50:56 +02:00
Benjamin Peterson
6a42bd67d7 Make super() internal errors RuntimeError instead of SystemError (closes #15839) 2012-09-01 23:04:38 -04:00
Victor Stinner
9f16e44a47 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
Stefan Krah
dbf56c2ef3 Issue #15814: Document planned restrictions for memoryview hashes in 3.3.1. 2012-09-01 14:34:45 +02:00
Stefan Krah
49dc1d4013 Add missing unit. 2012-09-01 14:27:51 +02:00