Antoine Pitrou
6d58d64919
Issue #11127 : Raise a TypeError when trying to pickle a socket object.
2011-03-20 23:56:36 +01:00
Victor Stinner
b938bcd211
(merge) Issue #11395 : io.FileIO().write() clamps the data length to 32,767
...
bytes on Windows if the file is a TTY to workaround a Windows bug. The Windows
console returns an error (12: not enough space error) on writing into stdout if
stdout mode is binary and the length is greater than 66,000 bytes (or less,
depending on heap usage).
2011-03-20 23:37:55 +01:00
Victor Stinner
e0daff1c61
Issue #11395 : io.FileIO().write() clamps the data length to 32,767 bytes on
...
Windows if the file is a TTY to workaround a Windows bug. The Windows console
returns an error (12: not enough space error) on writing into stdout if
stdout mode is binary and the length is greater than 66,000 bytes (or less,
depending on heap usage).
2011-03-20 23:36:35 +01:00
Éric Araujo
6a1454f3a4
Use proper gettext plural forms in optparse ( closes #4391 ).
...
Original patch by Dwayne Bailey.
2011-03-20 19:59:25 +01:00
Senthil Kumaran
799c669283
Add NEWS for Issue #11563 .
2011-03-20 09:26:57 +08:00
Antoine Pitrou
7b98d02302
Issue #11459 : A `bufsize` value of 0 in subprocess.Popen() really creates
...
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:04:13 +01:00
Antoine Pitrou
877766dee8
Issue #11459 : A `bufsize` value of 0 in subprocess.Popen() really creates
...
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:00:37 +01:00
Antoine Pitrou
e147484666
Oops, wrong issue number in NEWS
2011-03-17 23:40:53 +01:00
Antoine Pitrou
819be3406d
Add news entry for a791dd7d51f3
2011-03-17 23:36:13 +01:00
Antoine Pitrou
9befeb3743
Issue #5421 : merge fix
2011-03-17 22:40:18 +01:00
Antoine Pitrou
5e98141f9f
Issue #5421 : Fix misleading error message when one of socket.sendto()'s
...
arguments has the wrong type. Patch by Nikita Vetoshkin.
2011-03-17 22:38:37 +01:00
Michael Foord
f40834f39b
Move NEWS entry to correct place
2011-03-17 13:47:12 -04:00
Michael Foord
42ec7cb105
Issue #10979 . unittest stdout buffering now works with class and module setup and teardown.
2011-03-17 13:44:18 -04:00
Nick Coghlan
b52c0be4d2
Merge from remote
2011-03-16 22:09:10 -04:00
Nick Coghlan
b3c728fd89
Close #11577 : Improve binhex test coverage and fix ResourceWarning
2011-03-16 21:26:40 -04:00
R David Murray
a215023b78
#11243 : tests and fixes for handling of 'dirty data' in additional methods
2011-03-16 21:11:23 -04:00
R David Murray
4e4326829f
Merge #11401 fix from 3.1.
2011-03-16 18:27:34 -04:00
R David Murray
de91276a5c
#11401 : handle headers with no value.
2011-03-16 18:26:23 -04:00
R David Murray
a88da67bcb
#11578 : add unit tests for timeit module.
...
Patch by Michael Henry.
2011-03-16 17:32:27 -04:00
Michael Foord
07926f024a
Closes issue 11503. Improves test coverage of posixpath.
2011-03-16 17:19:16 -04:00
R David Murray
78099bb153
Merge #9298 fix.
2011-03-16 16:13:07 -04:00
R David Murray
6d94bd470e
#9298 : restore proper folding of base64 encoded bodies.
...
Patch by Yves Dorfsman.
2011-03-16 15:52:22 -04:00
Nick Coghlan
7462fa654b
Backport improved test coverage for string.py
2011-03-16 14:30:45 -04:00
Nick Coghlan
454e11d874
Fix typo in NEWS
2011-03-16 14:19:22 -04:00
Nick Coghlan
296d9a6f85
Add missing NEWS entries
2011-03-16 14:14:18 -04:00
Benjamin Peterson
a78e4e6daf
correct patch ack ( #11133 )
2011-03-16 10:29:19 -05:00
Ronald Oussoren
f0edd1b86d
Merge with 3.1
2011-03-16 09:43:06 -04:00
Ronald Oussoren
0b8753d24b
Issue #11569 : use absolute path to the sysctl command in multiprocessing to
...
ensure that it will be found regardless of the shell PATH. This ensures
that multiprocessing.cpu_count works on default installs of MacOSX.
2011-03-16 09:41:32 -04:00
Michael Foord
dcebe0f2dc
Closes issue 11133. Fixes two cases where inspect.getattr_static could trigger code execution
2011-03-15 19:20:44 -04:00
Michael Foord
c867239a31
Wing project file update for mercurial
2011-03-15 18:19:58 -04:00
Raymond Hettinger
29dcaad6eb
Issue 11510: Fix BUILD_SET optimizer bug.
2011-03-15 14:50:16 -07:00
Antoine Pitrou
f134dceeae
Merge
2011-03-15 21:11:27 +01:00
Antoine Pitrou
e870623e96
Merge fix for issue #11501
2011-03-15 21:05:36 +01:00
Antoine Pitrou
2c50a09ac4
On behalf of Tarek: Issue #11501 : disutils.archive_utils.make_zipfile no
...
longer fails if zlib is not installed. Instead, the zipfile.ZIP_STORED
compression is used to create the ZipFile. Patch by Natalia B. Bidart.
2011-03-15 21:02:59 +01:00
Gregory P. Smith
28edfeedb5
issue 11432 news entry.
2011-03-15 16:02:10 -04:00
R David Murray
56a9d7e3da
#11554 : reactivate test_email_codecs, and make it pass.
...
The fix is to charset.py, which was not doing the encoding to the
correct output character set when doing a body_encode for either
the shift-jis or euc-jp charsets. There's also a fix for handling
a bytes input in encoders.py.
Patch by Michael Henry, comment changes by me.
2011-03-15 12:20:02 -04:00
Ezio Melotti
42da663e6f
#11515 : fix several typos. Patch by Piotr Kasprzyk.
2011-03-15 05:18:48 +02:00
Ronald Oussoren
f2db4de4d8
Issue #11500 : Fixed a bug in the os x proxy bypass code for fully qualified IP addresses in the proxy exception list.
2011-03-14 18:46:50 -04:00
Ronald Oussoren
e72e161851
Issue #11500 : Fixed a bug in the os x proxy bypass code for fully qualified IP addresses in the proxy exception list
...
Patch by Scott Wilson.
2011-03-14 18:15:25 -04:00
R David Murray
f8b9dfd9a1
#11496 : skip history test if clear_history is not available.
...
Patch by Natalia B. Bidart.
2011-03-14 17:10:22 -04:00
briancurtin
525c25d42f
Fix #11491 . When dbm.open was called with a file which already exists and
...
the "flag" argument is "n", dbm.error was being raised. As documented,
dbm.open(...,flag='n') will now "Always create a new, empty database,
open for reading and writing", regardless of a previous file existing.
2011-03-14 16:03:54 -04:00
briancurtin
94eceeb89c
Fix #11491 . When dbm.open was called with a file which already exists and
...
the "flag" argument is "n", dbm.error was being raised. As documented,
dbm.open(...,flag='n') will now "Always create a new, empty database,
open for reading and writing", regardless of a previous file existing.
2011-03-14 15:35:35 -04:00
Ronald Oussoren
42d0f68458
Issue #1099 : Fix the build on MacOSX when building a framework with pydebug using GCC 4.0.
2011-03-14 11:04:34 -04:00
Ronald Oussoren
250324952e
Fixes #1099 : Mac compile fails with pydebug and framework enabled
...
Without this patch "./configure --with-pydebug --enable-framework CC=gcc-4.0" fails on MacOSX
2011-03-14 10:11:59 -04:00
R David Murray
1a5201f80d
Merge #11488 patch from 3.1.
2011-03-14 09:57:03 -04:00
R David Murray
d89ee79d19
#11488 : Add tests for writelines method of SpooledTemporaryFile.
...
Patch by Evan Dandrea.
2011-03-14 09:55:46 -04:00
R David Murray
384069c2e8
Merge fix for #11490 from 3.1.
2011-03-13 22:26:53 -04:00
R David Murray
d79210a0e4
#11490 : EACCES can also mean command not found
2011-03-13 22:13:09 -04:00
Antoine Pitrou
d3cccd2a60
Issue #11223 : Fix test_threadsignals to fail, not hang, when the
...
non-semaphore implementation of locks is used under POSIX.
2011-03-13 19:14:21 +01:00
Mark Dickinson
a7f0dffb8d
Merge #11131
2011-03-12 11:17:26 +00:00