Senthil Kumaran
1e7551dc87
Reverting the changeset 5126e62c60af made for Issue #12921
2013-03-05 02:25:58 -08:00
Senthil Kumaran
c37f835a43
Fix Issue #12921 : BaseHTTPServer's send_error should send the correct error
...
response message when send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:23:44 -08:00
Senthil Kumaran
3fb066d286
Fix Issue #12921 : BaseHTTPServer's send_error should send the correct error
...
response message when send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:22:57 -08:00
Antoine Pitrou
31584e30ab
Issue #17278 : Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
2013-03-04 20:33:36 +01:00
Antoine Pitrou
44d5214927
Issue #17278 : Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
2013-03-04 20:30:01 +01:00
Benjamin Peterson
b1efa53662
fix possible setdefault refleak ( closes #17328 )
2013-03-04 09:47:50 -05:00
Nadeem Vawda
ad246bfb71
Issue #13898 : test_ssl no longer prints a spurious stack trace on Ubuntu.
2013-03-03 22:44:22 +01:00
Nadeem Vawda
7b39b9b51b
Issue #13898 : test_ssl no longer prints a spurious stack trace on Ubuntu.
2013-03-03 22:31:21 +01:00
Gregory P. Smith
255bf5b9ec
Issue #16962 : Use getdents64 instead of the obsolete getdents syscall in
...
the subprocess module on Linux.
2013-03-03 10:45:05 -08:00
Ezio Melotti
bce9a5d5cd
#17334 : test_index now works with unittest test discovery. Patch by Zachary Ware.
2013-03-02 14:47:07 +02:00
Ezio Melotti
02bf701b25
#17333 : test_imaplib now works with unittest test discovery. Patch by Zachary Ware.
2013-03-02 14:25:56 +02:00
Ezio Melotti
f79493bf9e
#17082 : test_dbm* now work with unittest test discovery. Patch by Zachary Ware.
2013-03-01 11:23:28 +02:00
Ezio Melotti
520378f81d
#17079 : test_ctypes now works with unittest test discovery. Patch by Zachary Ware.
2013-03-01 10:55:17 +02:00
Chris Jerdonek
79333db79a
Issue #16406 : Combine the doc pages for uploading and registering to PyPI.
2013-02-27 10:03:26 -08:00
Chris Jerdonek
13fb979638
Issue #16406 : Combine the doc pages for uploading and registering to PyPI.
2013-02-27 10:00:20 -08:00
R David Murray
1cb0cb2fcd
#17296 : backport fix for issue 1692335, naive exception pickling.
2013-02-27 08:57:09 -05:00
Ezio Melotti
e601fb0691
#17304 : test_hash now works with unittest test discovery. Patch by Zachary Ware.
2013-02-27 10:09:12 +02:00
Ezio Melotti
1ed6be3793
#17303 : test_future* now work with unittest test discovery. Patch by Zachary Ware.
2013-02-27 10:00:03 +02:00
Richard Oudkerk
5b8a3242c4
Merge
2013-02-26 13:00:15 +00:00
Richard Oudkerk
7aaa1ef858
Issue #17018 : Make Process.join() retry if os.waitpid() fails with EINTR.
2013-02-26 12:39:57 +00:00
Victor Stinner
29ec595c6a
Issue #17223 : array module: Fix a crasher when converting an array containing
...
invalid characters (outside range [U+0000; U+10ffff]) to Unicode: repr(array),
str(array) and array.tounicode(). Patch written by Manuel Jacob.
2013-02-26 00:27:38 +01:00
Victor Stinner
d21b58c05d
Issue #17223 : Fix PyUnicode_FromUnicode() for string of 1 character outside
...
the range U+0000-U+10ffff.
2013-02-26 00:15:54 +01:00
R David Murray
9f10f56d13
Merge #17275 : Fix class name in init errors in C bufferedio classes.
...
This fixes an apparent copy-and-paste error.
Patch by Manuel Jacob.
2013-02-23 22:07:55 -05:00
R David Murray
67bfe80758
#17275 : Fix class name in init errors in C bufferedio classes.
...
This fixes an apparent copy-and-paste error.
Patch by Manuel Jacob.
2013-02-23 21:51:05 -05:00
Petri Lehtinen
e766c742c1
Revert "Issue #16121 : Fix line number accounting in shlex"
2013-02-23 23:12:35 +01:00
Petri Lehtinen
0362b54fd9
Revert "Issue #16121 : Fix line number accounting in shlex"
2013-02-23 23:12:03 +01:00
Petri Lehtinen
6d61eaa0d0
Issue #16121 : Fix line number accounting in shlex
2013-02-23 22:09:51 +01:00
Petri Lehtinen
7a05113ccf
Issue #16121 : Fix line number accounting in shlex
2013-02-23 22:08:07 +01:00
Petri Lehtinen
7de72ad8a0
Issue #16403 : Document how distutils uses the maintainer field in PKG-INFO
2013-02-23 21:09:12 +01:00
Petri Lehtinen
905b648754
Issue #16403 : Document how distutils uses the maintainer field in PKG-INFO
2013-02-23 21:06:16 +01:00
Petri Lehtinen
e2c114733b
Issue #16695 : Document how glob handles filenames starting with a dot
2013-02-23 19:55:36 +01:00
Petri Lehtinen
ee4a20bad6
Issue #16695 : Document how glob handles filenames starting with a dot
2013-02-23 19:53:27 +01:00
Petri Lehtinen
3c75a48c86
Issue #8890 : Stop advertising an insecure use of /tmp in docs
2013-02-23 19:34:44 +01:00
Petri Lehtinen
9f74c6cf7d
Issue #8890 : Stop advertising an insecure use of /tmp in docs
2013-02-23 19:27:49 +01:00
Petri Lehtinen
f484efdb60
Issue #14720 : sqlite3: Convert datetime microseconds correctly
2013-02-23 19:09:45 +01:00
Petri Lehtinen
8b945148e3
Issue #14720 : sqlite3: Convert datetime microseconds correctly
...
Patch by Lowe Thiderman
2013-02-23 19:05:56 +01:00
Petri Lehtinen
d2132144a4
Issue #5033 : Fix building of the sqlite3 extension module
2013-02-23 17:24:00 +01:00
Petri Lehtinen
ed909bcbdd
Issue #5033 : Fix building of the sqlite3 extension module
2013-02-23 17:16:20 +01:00
Ezio Melotti
35246bd5b1
#17249 : merge with 3.2.
2013-02-23 05:58:38 +02:00
Ezio Melotti
29267c81ce
#17249 : convert a test in test_capi to use unittest and reap threads.
2013-02-23 05:52:46 +02:00
Chris Jerdonek
8c0bbfd101
Issue #17203 : add long option names to unittest discovery docs.
2013-02-21 19:00:06 -08:00
Chris Jerdonek
d69ad55220
Issue #17203 : add long option names to unittest discovery docs.
2013-02-21 18:54:43 -08:00
Ezio Melotti
600b71167e
#17255 : merge with 3.2.
2013-02-21 23:17:08 +02:00
Ezio Melotti
0f4377c100
#17255 : test short-circuiting behavior of any()/all(). Patch by Wim Glenn.
2013-02-21 23:15:40 +02:00
Serhiy Storchaka
ed891c1517
Issue #17225 : JSON decoder now counts columns in the first line starting
...
with 1, as in other lines.
2013-02-21 20:21:21 +02:00
Serhiy Storchaka
c510a048ba
Issue #17225 : JSON decoder now counts columns in the first line starting
...
with 1, as in other lines.
2013-02-21 20:19:16 +02:00
Benjamin Peterson
2dba1ee3e6
fix building without pymalloc ( closes #17228 )
2013-02-20 16:54:30 -05:00
R David Murray
6cd6f01556
Merge: #13700 : Make imap.authenticate with authobject work.
...
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
2013-02-19 12:19:13 -05:00
R David Murray
774a39f26e
#13700 : Make imap.authenticate with authobject work.
...
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
2013-02-19 12:17:31 -05:00
R David Murray
702a5dc1ed
#7963 : fix error message when 'object' called with arguments.
2013-02-18 21:39:18 -05:00
R David Murray
6b30759022
#7963 : fix error message when 'object' called with arguments.
...
Patch by Alexander Belopolsky.
2013-02-18 21:20:08 -05:00
Serhiy Storchaka
df4aa642a5
Issue #13153 : Tkinter functions now raise TclError instead of ValueError when
...
a string argument contains non-BMP character.
2013-02-18 13:02:41 +02:00
Serhiy Storchaka
59f5dee3d6
Issue #13153 : Tkinter functions now raise TclError instead of ValueError when
...
a string argument contains non-BMP character.
2013-02-18 13:01:52 +02:00
Serhiy Storchaka
b0c75a7dec
Issue #9669 : Protect re against infinite loops on zero-width matching in
...
non-greedy repeat. Patch by Matthew Barnett.
2013-02-16 21:25:05 +02:00
Serhiy Storchaka
fa46816915
Issue #9669 : Protect re against infinite loops on zero-width matching in
...
non-greedy repeat. Patch by Matthew Barnett.
2013-02-16 21:23:53 +02:00
Serhiy Storchaka
a0eb809995
Issue #13169 : The maximal repetition number in a regular expression has been
...
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on
64-bit).
2013-02-16 16:54:33 +02:00
Serhiy Storchaka
70ca0210e8
Issue #13169 : The maximal repetition number in a regular expression has been
...
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on
64-bit).
2013-02-16 16:47:47 +02:00
Ezio Melotti
293ab9728a
#17178 : merge with 3.2.
2013-02-15 23:38:05 +02:00
Ezio Melotti
b19ed57d8d
#17178 : update any()/all() docstrings to document their behavior with empty iterables. Patch by Ankur Ankan.
2013-02-15 23:35:14 +02:00
Ezio Melotti
23e043fdcd
#17143 : fix a missing import in the trace module. Initial patch by Berker Peksag.
2013-02-15 21:20:50 +02:00
Ezio Melotti
3a03d2eaef
#17163 : test_file now works with unittest test discovery. Patch by Zachary Ware.
2013-02-15 19:17:53 +02:00
Richard Oudkerk
a90b7132b7
Merge
2013-02-13 15:21:23 +00:00
Richard Oudkerk
439bdb1062
Add Misc/NEWS entry for Issue #16743
2013-02-13 15:19:36 +00:00
Serhiy Storchaka
5a1f152d19
Issue #5308 : Raise ValueError when marshalling too large object (a sequence
...
with size >= 2**31), instead of producing illegal marshal data.
2013-02-13 12:11:03 +02:00
Serhiy Storchaka
7e0191170e
Issue #5308 : Raise ValueError when marshalling too large object (a sequence
...
with size >= 2**31), instead of producing illegal marshal data.
2013-02-13 12:08:15 +02:00
Serhiy Storchaka
ff7fef9601
Issue #16800 : tempfile.gettempdir() no longer left temporary files when
...
the disk is full. Original patch by Amir Szekely.
2013-02-13 00:37:29 +02:00
Serhiy Storchaka
f6b361ec1a
Issue #16800 : tempfile.gettempdir() no longer left temporary files when
...
the disk is full. Original patch by Amir Szekely.
2013-02-13 00:35:30 +02:00
Serhiy Storchaka
e4ad8aacd1
Issue #4591 : Uid and gid values larger than 2**31 are supported now.
2013-02-12 09:24:16 +02:00
R David Murray
66383b2e0a
Merge: #17171 : fix email.encoders.encode_7or8bit when applied to binary data.
2013-02-11 10:53:35 -05:00
R David Murray
ec317a8985
#17171 : fix email.encoders.encode_7or8bit when applied to binary data.
2013-02-11 10:51:28 -05:00
Michael Foord
b71b8ec7b1
Merge
2013-02-11 13:29:58 +00:00
Michael Foord
f78f5b11f6
Correction to issue 17052 fix
2013-02-11 13:20:52 +00:00
Michael Foord
a23a39c07d
Merge
2013-02-11 00:18:07 +00:00
Michael Foord
8fd396bd22
Issue 17502: unittest discovery should use self.testLoader
2013-02-11 00:04:24 +00:00
Serhiy Storchaka
7cf5599346
Issue #4591 : Uid and gid values larger than 2**31 are supported now.
2013-02-10 21:56:49 +02:00
Serhiy Storchaka
ac99576a8e
Issue #17141 : random.vonmisesvariate() no more hangs for large kappas.
2013-02-10 19:29:20 +02:00
Serhiy Storchaka
6c22b1d760
Issue #17141 : random.vonmisesvariate() no more hangs for large kappas.
2013-02-10 19:28:56 +02:00
Serhiy Storchaka
801d955f04
Issue #12983 : Bytes literals with invalid \x escape now raise a SyntaxError
...
and a full traceback including line number.
2013-02-10 17:42:01 +02:00
Serhiy Storchaka
5e61f14c6d
Issue #12983 : Bytes literals with invalid \x escape now raise a SyntaxError
...
and a full traceback including line number.
2013-02-10 17:36:00 +02:00
Mark Dickinson
6427358501
Issue #17149 : merge fix from 3.2.
2013-02-10 14:16:56 +00:00
Mark Dickinson
be5f91957f
Issue #17149 : Fix random.vonmisesvariate to always return results in [0, 2*math.pi].
2013-02-10 14:16:10 +00:00
Serhiy Storchaka
9fef188c9e
Issue #1470548 : XMLGenerator now works with binary output streams.
2013-02-10 14:31:07 +02:00
Serhiy Storchaka
88efc52d74
Issue #1470548 : XMLGenerator now works with binary output streams.
2013-02-10 14:29:52 +02:00
Serhiy Storchaka
d83c82440b
Issue #6975 : os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
2013-02-10 12:23:10 +02:00
Serhiy Storchaka
df32691e6f
Issue #6975 : os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
2013-02-10 12:22:07 +02:00
Antoine Pitrou
c73c561181
Issue #17173 : Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter.
...
I've left a couple of them in: zlib (third-party lib), getaddrinfo.c
(doesn't include Python.h, and probably obsolete), _sre.c (legitimate
use for the re.LOCALE flag), mpdecimal (needs to build without Python.h).
2013-02-09 23:14:42 +01:00
Antoine Pitrou
4de7457009
Issue #17173 : Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter.
...
I've left a couple of them in: zlib (third-party lib), getaddrinfo.c
(doesn't include Python.h, and probably obsolete), _sre.c (legitimate
use for the re.LOCALE flag).
2013-02-09 23:11:27 +01:00
Serhiy Storchaka
859cd4723f
Issue #17156 : pygettext.py now uses an encoding of source file and correctly
...
writes and escapes non-ascii characters.
2013-02-09 22:38:12 +02:00
Serhiy Storchaka
b6ed17344b
Issue #17156 : pygettext.py now uses an encoding of source file and correctly
...
writes and escapes non-ascii characters.
2013-02-09 22:37:22 +02:00
R David Murray
6cb1d67eb3
Merge: #16564 : Fix regression in use of encoders.encode_noop with binary data.
2013-02-09 13:10:54 -05:00
R David Murray
ceaa8b1d75
#16564 : Fix regression in use of encoders.encode_noop with binary data.
2013-02-09 13:02:58 -05:00
Serhiy Storchaka
33182807f8
Issue #10355 : SpooledTemporaryFile properties now work for unrolled files.
...
Remove obsoleted xreadline method.
2013-02-09 12:21:52 +02:00
Serhiy Storchaka
bbbbe8eb60
Issue #10355 : SpooledTemporaryFile properties now work for unrolled files.
...
Remove obsoleted xreadline method.
2013-02-09 12:21:14 +02:00
Serhiy Storchaka
8135de80f7
Issue #16686 : Fixed a lot of bugs in audioop module.
...
* avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX.
* ratecv() no more crashes on empty input fragment.
* Fixed an integer overflow in ratecv().
* Fixed an integer overflow in add() and bias() for 32-bit samples.
* reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples.
* max() and rms() no more returns negative result for 32-bit sample -0x80000000.
* minmax() now returns correct max value for 32-bit sample -0x80000000.
* avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000.
* add() now can return 32-bit sample -0x80000000.
2013-02-09 11:12:36 +02:00
Serhiy Storchaka
01ad622a2c
Issue #16686 : Fixed a lot of bugs in audioop module.
...
* avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX.
* ratecv() no more crashes on empty input fragment.
* Fixed an integer overflow in ratecv().
* Fixed an integer overflow in add() and bias() for 32-bit samples.
* reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples.
* max() and rms() no more returns negative result for 32-bit sample -0x80000000.
* minmax() now returns correct max value for 32-bit sample -0x80000000.
* avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000.
* add() now can return 32-bit sample -0x80000000.
2013-02-09 11:10:53 +02:00
Ned Deily
aa20b000d1
Issue #17161 : make install now also installs a python3 man page.
2013-02-08 23:02:09 -08:00
Ned Deily
a48b61f8f2
Issue #17161 : make install now also installs a python3 man page.
2013-02-08 22:53:51 -08:00
Serhiy Storchaka
70ea7fa6e5
Fix accidental non-breakable spaces (U+00A0).
2013-02-08 11:24:16 +02:00
Serhiy Storchaka
1273dfc39c
Fix accidental non-breakable spaces (U+00A0).
2013-02-08 11:22:05 +02:00
Victor Stinner
bbbac2ec34
Issue #17137 : When an Unicode string is resized, the internal wide character
...
string (wstr) format is now cleared.
2013-02-07 23:12:46 +01:00