Ezio Melotti
10f89329ad
#17143 : merge with 3.3.
2013-02-15 21:22:22 +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
990f69e603
#17163 : merge with 3.3.
2013-02-15 19:19:18 +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
R David Murray
2940e71add
#15220 : simplify and speed up feedparser's line splitting.
...
Original patch submitted by QNX, modified for clarity by me (mostly comments).
QNX reports a 30% speed up in average email parsing time.
2013-02-13 21:17:13 -05:00
Richard Oudkerk
76450e6a84
Merge
2013-02-13 12:33:53 +00:00
Richard Oudkerk
6d40134eba
Merge
2013-02-13 12:32:32 +00:00
Richard Oudkerk
0d09ba8e0b
Issue #16743 : Fix mmap overflow check on 32 bit Windows
2013-02-13 12:18:03 +00:00
Serhiy Storchaka
082022b683
Cleanup a test for issue #5308 .
2013-02-13 12:32:47 +02:00
Serhiy Storchaka
40f42d95f5
Cleanup a test for issue #5308 .
2013-02-13 12:32:24 +02:00
Serhiy Storchaka
540dcba28b
Issue #16996 : webbrowser module now uses shutil.which() to find a
...
web-browser on the executable search path.
2013-02-13 12:19:40 +02:00
Serhiy Storchaka
0c15b5d897
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:12:11 +02: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
7e298d0aa5
Fix for issue #16800 : Use buffered write to handle EINTR.
2013-02-13 01:00:17 +02:00
Serhiy Storchaka
bebd2063e1
Fix for issue #16800 : Use buffered write to handle EINTR.
2013-02-13 00:59:53 +02:00
Serhiy Storchaka
76a2ed1398
Fix for issue #16800 : Use buffered write to handle EINTR.
2013-02-13 00:59:26 +02:00
Serhiy Storchaka
94cd10fa19
Issue #16800 : tempfile.gettempdir() no longer left temporary files when
...
the disk is full. Original patch by Amir Szekely.
2013-02-13 00:38:48 +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
Giampaolo Rodola'
58cf4539b2
fix NameError exception in test_profile
2013-02-12 15:23:21 +01:00
Giampaolo Rodola'
0166a283f6
modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.)
2013-02-12 15:14:17 +01:00
Giampaolo Rodola'
b071d4f3da
profile/cProfile: add tests for run() and runctx() functions
2013-02-12 14:31:06 +01: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
Giampaolo Rodola'
2f50aaf2ff
modernize some modules' code by using with statement around open()
2013-02-12 02:04:27 +01:00
Serhiy Storchaka
fd6e6cfa29
Raise KeyError instead of OverflowError when getpwuid's argument is out of
...
uid_t range.
2013-02-11 20:33:24 +02:00
Serhiy Storchaka
55e2238272
Raise KeyError instead of OverflowError when getpwuid's argument is out of
...
uid_t range.
2013-02-11 20:32:47 +02:00
R David Murray
64634eb321
Merge: #17171 : fix email.encoders.encode_7or8bit when applied to binary data.
2013-02-11 10:54:22 -05: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
R David Murray
a6e902ae35
Merge: #17064 : fix sporadic permission errors in test_mailbox on windows.
...
Patch by Jeremy Kloth.
2013-02-11 10:05:34 -05:00
R David Murray
0b61d3c0f2
Merge: #17064 : fix sporadic permission errors in test_mailbox on windows.
...
Patch by Jeremy Kloth.
2013-02-11 10:05:03 -05:00
R David Murray
b3e8384cbe
#17064 : fix sporadic permission errors in test_mailbox on windows.
...
Patch by Jeremy Kloth.
2013-02-11 10:04:26 -05:00
Michael Foord
890d72d3c9
Merge. Closes issue 17052.
2013-02-11 13:33:00 +00: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
Terry Jan Reedy
3420057adb
Closes #17158 : Add 'symbols' to help() welcome message; clarify 'modules spam'
...
messages.
2013-02-11 02:23:13 -05:00
Michael Foord
4e08f786f0
Merge. Closes issue 17052.
2013-02-11 00:28:02 +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
c2d020090b
Issue #4591 : Uid and gid values larger than 2**31 are supported now.
2013-02-10 22:03:08 +02: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
Antoine Pitrou
2306e6049b
Issue #17165 : fix a bare import in _strptime.py.
...
Patch by Berker Peksag.
2013-02-10 19:29:17 +01:00
Serhiy Storchaka
06e5e730dd
Issue #17141 : random.vonmisesvariate() no more hangs for large kappas.
2013-02-10 19:29:54 +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
b8cbba5877
Issue #12983 : Bytes literals with invalid \x escape now raise a SyntaxError
...
and a full traceback including line number.
2013-02-10 17:43:25 +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
Benjamin Peterson
419d9a83d5
evaluate lambda keyword-only defaults after positional defaults ( #16967 again)
2013-02-10 09:48:22 -05:00
Benjamin Peterson
8b466c9932
merge heads
2013-02-10 09:32:22 -05:00
Benjamin Peterson
1ef876cd28
evaluate positional defaults before keyword-only defaults ( closes #16967 )
2013-02-10 09:29:59 -05:00
Mark Dickinson
1b901baee5
Issue #17149 : merge fix from 3.3.
2013-02-10 14:17:20 +00: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
34a2a87d17
Fix a test for SpooledTemporaryFile (added in issue #10355 ).
2013-02-10 14:44:43 +02:00
Serhiy Storchaka
bf95c143a2
Fix a test for SpooledTemporaryFile (added in issue #10355 ).
2013-02-10 14:44:14 +02:00
Serhiy Storchaka
497cee456c
Fix a test for SpooledTemporaryFile (added in issue #10355 ).
2013-02-10 14:43:46 +02:00
Serhiy Storchaka
02c2076bd5
Issue #1470548 : XMLGenerator now works with binary output streams.
2013-02-10 14:34:53 +02: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
f2619236eb
Issue #6975 : os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
2013-02-10 12:24:06 +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
902fc8b5a0
Issue #13773 : sqlite3.connect() gets a new `uri` parameter to pass the filename as a URI, allowing to pass custom options.
2013-02-10 00:02:44 +01:00
Serhiy Storchaka
26cab56542
Issue #17169 : Restore errno in tempfile exceptions.
2013-02-09 22:27:23 +02:00
Serhiy Storchaka
7451a72e2b
Issue #17169 : Restore errno in tempfile exceptions.
2013-02-09 22:25:49 +02:00
R David Murray
c9b4e60683
Merge: #16564 : Fix regression in use of encoders.encode_noop with binary data.
2013-02-09 13:13:14 -05: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
5d70ccc4a9
Issue #10355 : SpooledTemporaryFile properties now work for unrolled files.
...
Remove obsoleted xreadline method.
2013-02-09 12:22:29 +02: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
9ea2d55d91
Issue #17147 . Mention BytesIO in SpooledTemporaryFile documentation.
2013-02-09 11:53:09 +02:00
Serhiy Storchaka
23a6726bc8
Issue #17147 . Mention BytesIO in SpooledTemporaryFile documentation.
2013-02-09 11:47:20 +02:00
Serhiy Storchaka
4f169a7a4d
Issue #17147 . Mention BytesIO in SpooledTemporaryFile documentation.
2013-02-09 11:46:42 +02:00
Serhiy Storchaka
7611d9a8cf
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:13:46 +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
Serhiy Storchaka
d1938cdc16
Fix accidental non-breakable spaces (U+00A0).
2013-02-08 11:24:55 +02: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
cfd2c1b4cc
(Merge 3.3) Issue #17137 : When an Unicode string is resized, the internal wide
...
character string (wstr) format is now cleared.
2013-02-07 23:17:34 +01: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
Serhiy Storchaka
eae3b33316
Issue #17073 : Fix some integer overflows in sqlite3 module.
2013-02-07 17:05:32 +02:00
Serhiy Storchaka
2efdc90b0f
Issue #17073 : Fix some integer overflows in sqlite3 module.
2013-02-07 17:03:46 +02:00
Serhiy Storchaka
3cf96ac248
Issue #17073 : Fix some integer overflows in sqlite3 module.
2013-02-07 17:01:47 +02:00
Serhiy Storchaka
fe197b78a0
Issue #17118 : Add new tests for testing Python-Tcl interaction.
2013-02-07 15:40:48 +02:00
Serhiy Storchaka
cf0904ff65
Issue #17118 : Add new tests for testing Python-Tcl interaction.
2013-02-07 15:40:26 +02:00
Serhiy Storchaka
df4bb46457
Issue #17118 : Add new tests for testing Python-Tcl interaction.
2013-02-07 15:40:03 +02:00
Serhiy Storchaka
d971793d15
Issue #17114 : IDLE now uses non-strict config parser.
2013-02-07 15:25:33 +02:00
Serhiy Storchaka
705ef7a03d
Issue #17114 : IDLE now uses non-strict config parser.
2013-02-07 15:25:09 +02:00
Serhiy Storchaka
8995300298
Issue #17114 : IDLE now uses non-strict config parser.
2013-02-07 15:24:36 +02:00
Serhiy Storchaka
73cfd79533
Fix test_from_dll* in test_returnfuncptrs.py.
2013-02-07 15:00:02 +02:00
Serhiy Storchaka
f5d245a0a0
Fix test_from_dll* in test_returnfuncptrs.py.
2013-02-07 14:59:25 +02:00
Serhiy Storchaka
c2255ac153
Fix test_from_dll* in test_returnfuncptrs.py.
2013-02-07 14:58:44 +02:00
R David Murray
09f336ceb0
Merge: #17142 : fix apparent copy and paste error in test_all.
2013-02-06 10:05:56 -05:00
R David Murray
cd74322dad
Merge: #17142 : fix apparent copy and paste error in test_all.
2013-02-06 09:57:51 -05:00
R David Murray
1acaf0bce2
#17142 : fix apparent copy and paste error in test_all.
2013-02-06 09:56:19 -05:00
Serhiy Storchaka
daf990f8a7
Issue #16723 : httplib.HTTPResponse no longer marked closed when the connection
...
is automatically closed.
2013-02-06 10:37:19 +02:00
Serhiy Storchaka
b6c86fd87f
Issue #16723 : httplib.HTTPResponse no longer marked closed when the connection
...
is automatically closed.
2013-02-06 10:35:40 +02:00
Serhiy Storchaka
b5b9c8cd40
Issue #16723 : httplib.HTTPResponse no longer marked closed when the connection
...
is automatically closed.
2013-02-06 10:31:57 +02:00
Antoine Pitrou
da23259f99
Issue #17107 : Test client-side SNI support in urllib.request thanks to the new server-side SNI support in the ssl module.
...
Initial patch by Daniel Black.
2013-02-05 21:20:51 +01:00
Serhiy Storchaka
ca4220be1f
Issue #17122 : Fix and cleanup test_functools.py.
2013-02-05 22:12:59 +02:00
Charles-François Natali
773e42dff8
Issue #15359 : Add CAN_BCM protocol support to the socket module. Patch by Brian
...
Thorne.
2013-02-05 19:42:01 +01:00
R David Murray
c44911f49a
Merge: #16948 : Fix quopri encoding of non-latin1 character sets.
2013-02-05 11:34:39 -05:00
R David Murray
e201e9d584
Merge: #16948 : Fix quopri encoding of non-latin1 character sets.
2013-02-05 10:55:27 -05:00
R David Murray
f581b37200
#16948 : Fix quopri encoding of non-latin1 character sets.
2013-02-05 10:49:49 -05:00
Benjamin Peterson
2fdedff213
remain symbol.main to symbol._main mirroring token.py
2013-02-05 10:13:22 -05:00
Benjamin Peterson
0c2e193179
merge 3.3 ( #17132 )
2013-02-05 10:12:31 -05:00
Benjamin Peterson
16d86aa69d
update symbol.py for yield from grammar changes ( closes #17132 )
2013-02-05 10:12:14 -05:00
Benjamin Peterson
003472a645
token.main is now token._main
2013-02-05 10:11:13 -05:00
Hynek Schlawack
4cd7b9c3e9
#17076 : Make copying of xattrs more permissive of missing FS support
...
Patch by Thomas Wouters.
2013-02-05 08:25:24 +01:00
Hynek Schlawack
0beab058dd
#17076 : Make copying of xattrs more permissive of missing FS support
...
Patch by Thomas Wouters.
2013-02-05 08:22:44 +01:00
R David Murray
2c4f6e8693
Merge #16811 : Fix folding of headers with no value in provisional policies.
2013-02-04 15:25:06 -05:00
R David Murray
844b0e6971
#16811 : Fix folding of headers with no value in provisional policies.
2013-02-04 15:22:53 -05:00
Serhiy Storchaka
88eea543d6
Issue #17089 : Expat parser now correctly works with string input not only when
...
an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and
strings larger than 2 GiB.
2013-02-04 18:29:47 +02:00
Serhiy Storchaka
36b365ccff
Issue #17089 : Expat parser now correctly works with string input not only when
...
an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and
strings larger than 2 GiB.
2013-02-04 18:28:01 +02:00
Serhiy Storchaka
43536e9e37
Issue #17089 : Expat parser now correctly works with string input not only when
...
an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and
strings larger than 2 GiB.
2013-02-04 18:26:15 +02:00
Serhiy Storchaka
db1ba4eeac
Fix test_tools hangs on Windows. Patch by Jeremy Kloth.
2013-02-04 16:55:59 +02:00
Serhiy Storchaka
b3f194d109
Issue #16903 : Popen.communicate() on Unix now accepts strings when
...
universal_newlines is true as on Windows.
2013-02-04 16:47:39 +02:00
Serhiy Storchaka
06f63d094f
Do not raise self.skipTest().
...
skipTest() already raises an exception.
2013-02-04 15:46:18 +02:00
Serhiy Storchaka
8b27f23e02
Do not raise self.skipTest().
...
skipTest() already raises an exception.
2013-02-04 15:45:58 +02:00
Serhiy Storchaka
0b4591e0eb
Do not raise self.skipTest().
...
skipTest() already raises an exception.
2013-02-04 15:45:00 +02:00
Serhiy Storchaka
ac06352c70
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.
2013-02-04 15:20:16 +02:00
Serhiy Storchaka
358751e7bd
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.
2013-02-04 15:19:59 +02:00
Serhiy Storchaka
a66b46aad6
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.
2013-02-04 15:19:37 +02:00
Serhiy Storchaka
b6a53404b7
Issue #6083 : Fix multiple segmentation faults occured when PyArg_ParseTuple
...
parses nested mutating sequence.
2013-02-04 12:57:16 +02:00
Serhiy Storchaka
1d0bb9c8f9
Issue #6083 : Fix multiple segmentation faults occured when PyArg_ParseTuple
...
parses nested mutating sequence.
2013-02-04 12:54:04 +02:00
Serhiy Storchaka
19c4e0df29
Issue #6083 : Fix multiple segmentation faults occured when PyArg_ParseTuple
...
parses nested mutating sequence.
2013-02-04 12:47:24 +02:00
Benjamin Peterson
d41e01dfb5
merge 3.3 ( #5289 )
2013-02-03 19:26:51 -05:00
Benjamin Peterson
cfe34744e3
fix find_library on Solaris ( closes #5289 )
2013-02-03 19:25:11 -05:00
Brett Cannon
c0b631c0c4
merge w/ 3.3
2013-02-03 16:16:44 -05:00
Brett Cannon
7a34f02f9e
Way too many places create modules temporarily that never set
...
__loader__ for this test to succeed without a major changes. It also
doesn't test the original issue of modules imported by Py_Initialize()
having __loader__ set (the rest of the test covers that).
2013-02-03 16:16:07 -05:00
Brett Cannon
2fb00bb5d3
merge
2013-02-03 11:39:02 -05:00
Brett Cannon
416e54cfe1
merge
2013-02-03 11:38:38 -05:00
Brett Cannon
df80914a1e
merge
2013-02-03 11:38:16 -05:00
Brett Cannon
9de80ac127
pyexpat/xml.parsers.expat create their errors and model modules from
...
scratch. This means they do not set __loader__ by default. This is
acceptable under importlib/PEP 302 definitions, so relax the test that
was trying to apply this universally.
2013-02-03 11:37:13 -05:00
Serhiy Storchaka
cce1b8eda8
Issue #17106 : Fix a segmentation fault in io.TextIOWrapper when an underlying
...
stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
2013-02-03 17:09:17 +02:00
Serhiy Storchaka
d03ce4ae3d
Issue #17106 : Fix a segmentation fault in io.TextIOWrapper when an underlying
...
stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
2013-02-03 17:07:32 +02:00
Serhiy Storchaka
94dc6736bd
Issue #17106 : Fix a segmentation fault in io.TextIOWrapper when an underlying
...
stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
2013-02-03 17:03:31 +02:00
Gregory P. Smith
7eca9624be
Refactor recently added bugfix into more testable code by using a
...
method for windows file name sanitization. Splits the unittest up
into several based on platform.
2013-02-03 00:37:36 -08:00
Gregory P. Smith
09aa752067
Refactor recently added bugfix into more testable code by using a
...
method for windows file name sanitization. Splits the unittest up
into several based on platform.
2013-02-03 00:36:32 -08:00
Antoine Pitrou
5c64df70b5
Issue #17015 : When it has a spec, a Mock object now inspects its signature when matching calls, so that arguments can be matched positionally or by name.
2013-02-03 00:23:58 +01:00
Ned Deily
18b30ee88e
Issue #16698 : merge from 3.3
2013-02-02 15:13:45 -08:00
Ned Deily
6d29628d6b
Issue #16698 : merge from 3.2
2013-02-02 15:12:59 -08:00
Ned Deily
028915e6ea
Issue #16698 : Skip posix test_getgroups when built with OS X
...
deployment target prior to 10.6.
2013-02-02 15:08:52 -08:00
Antoine Pitrou
de59565f29
Simplify code in HTTPResponse.read()
2013-02-02 23:08:51 +01:00
Antoine Pitrou
b5032c85af
Issue #15633 : httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.
2013-02-02 23:06:22 +01:00
Antoine Pitrou
6a35e18161
Issue #15633 : httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.
2013-02-02 23:04:56 +01:00
Antoine Pitrou
beec61ae4e
Issue #15633 : httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.
2013-02-02 22:49:34 +01:00
Nadeem Vawda
56265564ff
Back out fix for issue #13886 ; it introduced a new bug in interactive readline use.
2013-02-02 20:29:39 +01:00
Nadeem Vawda
c27bcbf863
Back out fix for issue #13886 ; it introduced a new bug in interactive readline use.
2013-02-02 20:25:19 +01:00
Nadeem Vawda
6375257188
Back out fix for issue #13886 ; it introduced a new bug in interactive readline use.
2013-02-02 20:05:11 +01:00
Serhiy Storchaka
fc23ec62a6
Fix the test for issue #6972 .
...
Remove trailing dots on Windows.
2013-02-02 19:52:45 +02:00
Serhiy Storchaka
672671da47
Fix the test for issue #6972 .
...
Remove trailing dots on Windows.
2013-02-02 19:51:37 +02:00
Serhiy Storchaka
e5e6444497
Fix the test for issue #6972 .
...
Remove trailing dots on Windows.
2013-02-02 19:50:59 +02:00
Serhiy Storchaka
48fb3c46cf
Fix tests for issue #11159 .
2013-02-02 12:17:50 +02:00
Serhiy Storchaka
e080a7a5d4
Fix tests for issue #11159 .
2013-02-02 12:17:30 +02:00
Serhiy Storchaka
1a4ed4ce18
Fix tests for issue #11159 .
2013-02-02 12:17:05 +02:00
Serhiy Storchaka
765122fcb5
Issue #11159 : Add tests for testing SAX parser support of non-ascii file names.
2013-02-02 10:32:11 +02:00
Serhiy Storchaka
efbf40f9e1
Issue #11159 : Add tests for testing SAX parser support of non-ascii file names.
2013-02-02 10:31:50 +02:00
Serhiy Storchaka
d52023968a
Issue #11159 : Add tests for testing SAX parser support of non-ascii file names.
2013-02-02 10:31:17 +02:00
Brett Cannon
addebca751
merge
2013-02-01 16:37:07 -05:00
Brett Cannon
0bc4329cda
merge
2013-02-01 16:36:49 -05:00
Brett Cannon
85ae3566d1
Merge w/ 3.3 more fixes thanks to issue #17098
2013-02-01 16:36:29 -05:00
Brett Cannon
da9cf0eef8
Issue #17098 : Be more stringent of setting __loader__ on early imported
...
modules. Also made test more rigorous.
2013-02-01 15:31:49 -05:00
Brett Cannon
f41fa4f3a0
merge with 3.3
2013-02-01 14:51:43 -05:00
Brett Cannon
e7387b4708
Add a test for fix of issue #17098
2013-02-01 14:43:59 -05:00
Gregory P. Smith
ae42ec8004
Fixes Issue #6972 : The zipfile module no longer overwrites files outside of
...
its destination path when extracting malicious zip files.
2013-02-01 11:35:00 -08:00
Gregory P. Smith
193e1be72d
Fixes Issue #6972 : The zipfile module no longer overwrites files outside of
...
its destination path when extracting malicious zip files.
2013-02-01 11:31:31 -08:00
Gregory P. Smith
b47acbf46a
Fixes Issue #6972 : The zipfile module no longer overwrites files outside of
...
its destination path when extracting malicious zip files.
2013-02-01 11:22:43 -08:00
Brett Cannon
611afc1b3f
Issue #17098 : all modules should have __loader__
2013-02-01 14:07:28 -05:00
Brett Cannon
0ecd30b4af
Issue #17098 : Make sure every module has __loader__ defined.
...
Thanks to Thomas Heller for the bug report.
2013-02-01 14:04:12 -05:00
Serhiy Storchaka
894499fa27
Issue #17041 : Fix doctesting when Python is configured with the
...
--without-doc-strings.
2013-01-31 16:11:47 +02:00
Serhiy Storchaka
3ff4571af3
Issue #17041 : Fix doctesting when Python is configured with the
...
--without-doc-strings.
2013-01-31 16:11:28 +02:00
Serhiy Storchaka
9a11f17673
Issue #17041 : Fix doctesting when Python is configured with the
...
--without-doc-strings.
2013-01-31 16:11:04 +02:00
Serhiy Storchaka
f22ba81748
Added test to ensure localized calendar methods return strings and not bytes.
2013-01-31 16:01:46 +02:00
Serhiy Storchaka
cc9e5369d3
Added test to ensure localized calendar methods return strings and not bytes.
2013-01-31 16:01:21 +02:00
Serhiy Storchaka
f9fcdb7e90
Added test to ensure localized calendar methods return strings and not bytes.
2013-01-31 16:00:42 +02:00
Serhiy Storchaka
db58e15ee5
Issue #4844 : ZipFile now raises BadZipFile when opens a ZIP file with an
...
incomplete "End of Central Directory" record. Original patch by Guilherme
Polo and Alan McIntyre.
2013-01-31 15:30:36 +02:00
Serhiy Storchaka
d72bfe9eb9
Issue #4844 : ZipFile now raises BadZipFile when opens a ZIP file with an
...
incomplete "End of Central Directory" record. Original patch by Guilherme
Polo and Alan McIntyre.
2013-01-31 15:29:20 +02:00
Serhiy Storchaka
d2b1527f14
Issue #4844 : ZipFile now raises BadZipFile when opens a ZIP file with an
...
incomplete "End of Central Directory" record. Original patch by Guilherme
Polo and Alan McIntyre.
2013-01-31 15:27:07 +02:00
Ned Deily
fc20d77b40
Issue #13590 : OS X Xcode 4 - improve support for universal extension modules
...
In particular, fix extension module build failures when trying to use
32-bit-only installer Pythons on systems with Xcode 4 (currently
OS X 10.8, 10.7, and optionally 10.6).
* Backport 3.3.0 fixes to 3.2 branch (for release in 3.2.4)
* Since Xcode 4 removes ppc support, extension module builds now
check for ppc compiler support and by default remove ppc and
ppc64 archs when they are not available.
* Extension module builds now revert to using system installed
headers and libs (/usr and /System/Library) if the SDK used
to build the interpreter is not installed or has moved.
* Try to avoid building extension modules with deprecated
and problematic Apple llvm-gcc compiler. If original compiler
is not available, use clang instead by default.
2013-01-31 01:28:23 -08:00
Michael Foord
beb29b1f6c
Merge
2013-01-29 23:18:48 +00:00
Michael Foord
d1da29c99d
Merge
2013-01-29 23:14:59 +00:00
Michael Foord
6debd76939
Closes issue 15505. unittest.installHandler and non-callable signal handlers.
2013-01-29 23:07:57 +00:00
Antoine Pitrou
64a5562f4c
Issue #17071 : Signature.bind() now works when one of the keyword arguments is named self.
2013-01-29 21:21:56 +01:00
Antoine Pitrou
bd41d1b14c
Issue #17071 : Signature.bind() now works when one of the keyword arguments is named ``self``.
2013-01-29 21:20:57 +01:00
Serhiy Storchaka
f7209225bb
Issue #12004 : Fix an internal error in PyZipFile when writing an invalid
...
Python file. Patch by Ben Morgan.
2013-01-29 20:15:45 +02:00
Serhiy Storchaka
c5b75db5de
Issue #12004 : Fix an internal error in PyZipFile when writing an invalid
...
Python file. Patch by Ben Morgan.
2013-01-29 20:14:08 +02:00
Serhiy Storchaka
45c4375ea7
Issue #12004 : Fix an internal error in PyZipFile when writing an invalid
...
Python file. Patch by Ben Morgan.
2013-01-29 20:10:28 +02:00
Serhiy Storchaka
7b07873b93
Add tests for raw-unicode-escape codec.
2013-01-29 11:41:34 +02:00
Serhiy Storchaka
799fd9c877
Add tests for raw-unicode-escape codec.
2013-01-29 11:41:01 +02:00
Serhiy Storchaka
c9c4338e2b
Add tests for raw-unicode-escape codec.
2013-01-29 11:40:00 +02:00
Serhiy Storchaka
d8f07cd374
Clean up escape-decode decoder tests.
2013-01-29 11:08:06 +02:00
Serhiy Storchaka
db6add7d71
Clean up escape-decode decoder tests.
2013-01-29 11:07:27 +02:00
Serhiy Storchaka
077cb347a9
Clean up escape-decode decoder tests.
2013-01-29 11:06:53 +02:00
Serhiy Storchaka
8fe5a9f9c3
Issue #16979 : Fix error handling bugs in the unicode-escape-decode decoder.
2013-01-29 10:37:39 +02:00
Serhiy Storchaka
24193debd4
Issue #16979 : Fix error handling bugs in the unicode-escape-decode decoder.
2013-01-29 10:28:07 +02:00
Serhiy Storchaka
d679377be7
Issue #16979 : Fix error handling bugs in the unicode-escape-decode decoder.
2013-01-29 10:20:44 +02:00
Serhiy Storchaka
238a617581
Fix skip conditions in some docstings tests.
2013-01-28 13:27:02 +02:00
Serhiy Storchaka
a4fdd599e2
Fix skip conditions in some docstings tests.
2013-01-28 13:26:25 +02:00
Serhiy Storchaka
8e0ae2a4f0
Fix skip conditions in some docstings tests.
2013-01-28 13:25:44 +02:00
Brett Cannon
a66c2eec50
Tweak a comment to be in line with Python 3
2013-01-27 18:58:20 -05:00
Brett Cannon
e4291fa600
merge
2013-01-27 13:08:40 -05:00
Brett Cannon
f3220d6af7
Tweak an exception message
2013-01-27 13:04:56 -05:00
Serhiy Storchaka
f011881d7d
Issue #17041 : Fix testing when Python is configured with the
...
--without-doc-strings.
2013-01-27 20:04:26 +02:00
Serhiy Storchaka
26f1166510
Issue #17041 : Fix testing when Python is configured with the
...
--without-doc-strings.
2013-01-27 20:03:39 +02:00
Serhiy Storchaka
9d0add0c7e
Issue #17041 : Fix testing when Python is configured with the
...
--without-doc-strings.
2013-01-27 19:47:45 +02:00
Nadeem Vawda
ef0a44c629
Issue #13886 : Fix input() to not strip out supposedly-invalid input bytes.
...
Also fix sporadic failures in test_builtin due to dependence on whether the
readline module has previously been imported.
2013-01-27 14:17:21 +01:00
Nadeem Vawda
60cc32382f
Issue #13886 : Fix input() to not strip out supposedly-invalid input bytes.
...
Also fix sporadic failures in test_builtin due to dependence on whether the
readline module has previously been imported.
2013-01-27 14:13:25 +01:00
Nadeem Vawda
6f02ea02c8
Issue #13886 : Fix input() to not strip out supposedly-invalid input bytes.
...
Also fix sporadic failures in test_builtin due to dependence on whether the
readline module has previously been imported.
2013-01-27 14:01:42 +01:00
Mark Dickinson
07c7136524
Issue #16772 : in int(x, base), non-integer bases must have an __index__ method.
2013-01-27 10:17:52 +00:00
Ezio Melotti
3a62e45b97
Merge typo fixes from 3.3.
2013-01-27 06:20:51 +02:00
Ezio Melotti
3f5db3940f
Fix a few typos and a double semicolon. Patch by Eitan Adler.
2013-01-27 06:20:14 +02:00
Brett Cannon
e103d689ac
merge
2013-01-26 08:49:53 -05:00
Brett Cannon
14581d5dc4
Port py_compile over to importlib
2013-01-26 08:48:36 -05:00
Stefan Krah
2d7ee47e42
Merge 3.3.
2013-01-26 13:58:00 +01:00
Stefan Krah
fb931902c8
Fix test_pydoc for build --without-doc-strings.
2013-01-26 13:57:15 +01:00
Stefan Krah
c4a10f5970
Merge 3.3.
2013-01-26 13:07:36 +01:00
Stefan Krah
6e572b8b2e
Adapt test_bytes for a build --without-doc-strings.
2013-01-26 13:06:36 +01:00
Serhiy Storchaka
dd399af438
Optimize the test for issue #13454 .
...
Now it requires almost 4x less memory and is almost 2x faster.
2013-01-26 11:54:27 +02:00
Serhiy Storchaka
1c7181d764
Optimize the test for issue #13454 .
...
Now it requires almost 4x less memory and is almost 2x faster.
2013-01-26 11:53:17 +02:00
Serhiy Storchaka
5bb893c44b
Optimize the test for issue #13454 .
...
Now it requires almost 4x less memory and is almost 2x faster.
2013-01-26 11:52:06 +02:00
Brett Cannon
80512de43b
Skip a test unless the network resource is available.
2013-01-25 22:27:21 -05:00
Serhiy Storchaka
f584aba3a5
Issue #16975 : Fix error handling bug in the escape-decode bytes decoder.
2013-01-25 23:33:22 +02:00
Serhiy Storchaka
e58785b200
Issue #16975 : Fix error handling bug in the escape-decode bytes decoder.
2013-01-25 23:32:41 +02:00
Serhiy Storchaka
ace3ad3bf7
Issue #16975 : Fix error handling bug in the escape-decode bytes decoder.
2013-01-25 23:31:43 +02:00
Brett Cannon
13252b8770
Issue #16972 : Have site.addpackage() consider known paths even when
...
none are explicitly passed in.
2013-01-25 13:57:16 -05:00
Brett Cannon
686e880f20
Touch up exception messaging
2013-01-25 13:49:19 -05:00
doko@python.org
90c8d06d68
- Issue #17031 : Fix running regen in cross builds.
2013-01-25 18:45:41 +01:00
doko@python.org
a10e4a9afb
- Issue #17031 : Fix running regen in cross builds.
2013-01-25 18:45:12 +01:00
Serhiy Storchaka
4a98a71513
Merge heads
2013-01-25 16:09:03 +02:00
Serhiy Storchaka
d5187c2b0c
Merge heads
2013-01-25 16:08:46 +02:00
doko@python.org
981eec3ad4
- Issue #15484 : Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
...
use _PYTHON_PROJECT_BASE in distutils/sysconfig.py.
2013-01-25 14:35:44 +01:00
Serhiy Storchaka
4c9bae3d31
Issue #9290 : In IDLE the sys.std* streams now implement io.TextIOBase
...
interface and support all mandatory methods and properties.
2013-01-25 15:35:28 +02:00
Serhiy Storchaka
b1b3c0dfef
Issue #9290 : In IDLE the sys.std* streams now implement io.TextIOBase
...
interface and support all mandatory methods and properties.
2013-01-25 15:34:21 +02:00
doko@python.org
9731330d6f
- Issue #15484 : Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
...
use _PYTHON_PROJECT_BASE in distutils/sysconfig.py.
2013-01-25 14:33:33 +01:00
Serhiy Storchaka
39e70a4e83
Issue #9290 : In IDLE the sys.std* streams now implement io.TextIOBase
...
interface and support all mandatory methods and properties.
2013-01-25 15:30:58 +02:00
Serhiy Storchaka
c5dadcf2fd
Issue #13454 : Fix a crash when deleting an iterator created by itertools.tee()
...
if all other iterators were very advanced before.
2013-01-25 13:26:55 +02:00
Serhiy Storchaka
339e91d4cb
Issue #13454 : Fix a crash when deleting an iterator created by itertools.tee()
...
if all other iterators were very advanced before.
2013-01-25 13:24:47 +02:00
Serhiy Storchaka
a3e9128aba
Issue #13454 : Fix a crash when deleting an iterator created by itertools.tee()
...
if all other iterators were very advanced before.
2013-01-25 13:19:31 +02:00
Serhiy Storchaka
a8e6af6ac3
Increase the memory limit in the test for issue #16335 .
2013-01-25 10:13:57 +02:00
Serhiy Storchaka
5070c27a8f
Increase the memory limit in the test for issue #16335 .
2013-01-25 10:13:37 +02:00
Serhiy Storchaka
2f2dd992a3
Increase the memory limit in the test for issue #16335 .
2013-01-25 10:12:30 +02:00
Serhiy Storchaka
dec4de235f
Fix pathext test for shutil.which() which was
...
broken after applying the patch for issue #16957 .
2013-01-24 20:04:37 +02:00
Serhiy Storchaka
d70127ac54
Fix pathext test for shutil.which() which was
...
broken after applying the patch for issue #16957 .
2013-01-24 20:03:49 +02:00
Eli Bendersky
fa88b5d656
merge heads
2013-01-24 07:17:17 -08:00
Eli Bendersky
48df2eb965
merge heads
2013-01-24 07:17:05 -08:00
Eli Bendersky
c4d5e08e3f
Issue #9708 : Fix support for iterparse(parser=...) argument per documentation.
...
When _elementtree is imported, iterparse is redefined as a class and the parser
argument was ommitted. Fix this, and add a docstring to the class.
2013-01-24 07:15:46 -08:00
Eli Bendersky
aaa9780fe1
Issue #9708 : Fix support for iterparse(parser=...) argument per documentation.
...
When _elementtree is imported, iterparse is redefined as a class and the parser
argument was ommitted. Fix this, and add a docstring to the class.
2013-01-24 07:15:19 -08:00
Eli Bendersky
5c6198b3fd
Issue #12323 : Strengthen error checking of the position XPath selectors
2013-01-24 06:29:26 -08:00
Stefan Krah
eb8c451bd2
Since the return type of format() is not a Decimal, raise ValueError instead of
...
InvalidOperation if the format specification (width, prec) exceeds the internal
limits of libmpdec.
2013-01-24 15:22:33 +01:00
Serhiy Storchaka
7ff241d830
Fix generating of sre_constants.h on Python 3.
2013-01-24 13:44:18 +02:00
Serhiy Storchaka
33f7cdd975
Fix generating of sre_constants.h on Python 3.
2013-01-24 13:43:46 +02:00
Serhiy Storchaka
385ecd84c8
Fix generating of sre_constants.h on Python 3.
2013-01-24 13:43:02 +02:00
Senthil Kumaran
42d8773df4
merge from 3.3
...
Issue #12411 : Fix to cgi.parse_multipart to correctly use bytes boundaries and
bytes data. Patch by Jonas Wagner.
2013-01-23 03:01:23 -08:00
Senthil Kumaran
c1a7c565aa
merge from 3.2
...
Issue #12411 : Fix to cgi.parse_multipart to correctly use bytes boundaries and
bytes data. Patch by Jonas Wagner.
2013-01-23 03:00:26 -08:00
Senthil Kumaran
6b102f251f
Issue #12411 : Fix to cgi.parse_multipart to correctly use bytes boundaries and
...
bytes data. Patch by Jonas Wagner.
2013-01-23 02:50:15 -08:00
Serhiy Storchaka
e9a63600b3
Issue #16957 : shutil.which() no longer searches a bare file name in the
...
current directory on Unix and no longer searches a relative file path with
a directory part in PATH directories. Patch by Thomas Kluyver.
2013-01-23 10:45:33 +02:00
Serhiy Storchaka
8bea200b98
Issue #16957 : shutil.which() no longer searches a bare file name in the
...
current directory on Unix and no longer searches a relative file path with
a directory part in PATH directories. Patch by Thomas Kluyver.
2013-01-23 10:44:21 +02:00
Ezio Melotti
605a95ae44
#11379 : merge with 3.3.
2013-01-22 22:50:06 +02:00
Ezio Melotti
564e4d8dc9
#11379 : merge with 3.2.
2013-01-22 22:49:46 +02:00
Ezio Melotti
da4b5b82a3
#11379 : rephrase minidom documentation to use the term "minimal" instead of "lightweight". Patch by Éric Araujo.
2013-01-22 22:47:57 +02:00
Serhiy Storchaka
cc0172c007
Issue #1159051 : GzipFile now raises EOFError when reading a corrupted file
...
with truncated header or footer.
Added tests for reading truncated gzip, bzip2, and lzma files.
2013-01-22 17:11:07 +02:00
Serhiy Storchaka
57f9b7a124
Issue #1159051 : GzipFile now raises EOFError when reading a corrupted file
...
with truncated header or footer.
Added tests for reading truncated gzip, bzip2, and lzma files.
2013-01-22 17:07:49 +02:00
Serhiy Storchaka
7c3922f44c
Issue #1159051 : GzipFile now raises EOFError when reading a corrupted file
...
with truncated header or footer.
Added tests for reading truncated gzip and bzip2 files.
2013-01-22 17:01:59 +02:00
Eli Bendersky
791c97a6a8
Add some tests for XPath numeric indexing
2013-01-22 06:15:29 -08:00
Eli Bendersky
a80f761a6d
Add some tests for XPath numeric indexing
2013-01-22 06:12:54 -08:00
Serhiy Storchaka
fc6e8aabf5
#15546 : Fix GzipFile.peek()'s handling of pathological input data.
...
This is a backport of changeset 8c07ff7f882f.
2013-01-22 15:54:48 +02:00
Serhiy Storchaka
2ba095c6c5
Fix shutil.which() test for issue #16993 .
2013-01-22 10:32:16 +02:00
Serhiy Storchaka
80c88f4304
Fix shutil.which() test for issue #16993 .
2013-01-22 10:31:36 +02:00
Serhiy Storchaka
68ce009877
Use bigmemtest decorator for test of issue #16335 .
2013-01-21 20:28:02 +02:00
Serhiy Storchaka
529230142f
Use bigmemtest decorator for test of issue #16335 .
2013-01-21 20:27:17 +02:00
Serhiy Storchaka
e45dac4ea9
Add bigmemtest decorator to test of issue #16335 .
2013-01-21 20:23:58 +02:00
Serhiy Storchaka
5b987c2e68
Issue #16993 : shutil.which() now preserves the case of the path and extension
...
on Windows.
2013-01-21 15:01:34 +02:00
Serhiy Storchaka
014791f848
Issue #16993 : shutil.which() now preserves the case of the path and extension
...
on Windows.
2013-01-21 15:00:27 +02:00
Serhiy Storchaka
5a95977c71
Fix memory error in test_ucn.
...
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335 .
2013-01-21 13:00:50 +02:00
Serhiy Storchaka
85da624ebe
Fix memory error in test_ucn.
...
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335 .
2013-01-21 13:00:11 +02:00
Serhiy Storchaka
3b40b71217
Fix memory error in test_ucn.
...
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335 .
2013-01-21 12:59:13 +02:00
Serhiy Storchaka
6481bfb2b5
Issue #16335 : Fix integer overflow in unicode-escape decoder.
2013-01-21 11:44:40 +02:00
Serhiy Storchaka
c35f3a9f61
Issue #16335 : Fix integer overflow in unicode-escape decoder.
2013-01-21 11:42:57 +02:00
Serhiy Storchaka
4f5f0e54e0
Issue #16335 : Fix integer overflow in unicode-escape decoder.
2013-01-21 11:38:00 +02:00
Serhiy Storchaka
441d30fac7
Issue #15989 : Fix several occurrences of integer overflow
...
when result of PyLong_AsLong() narrowed to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277.
2013-01-19 12:26:26 +02:00
Benjamin Peterson
9f30abd393
merge 3.3
2013-01-18 00:10:37 -05:00
Benjamin Peterson
c68a4a048c
check windows fd validity ( closes #16992 )
2013-01-18 00:10:24 -05:00
Stefan Krah
bfc02452a3
Merge 3.3.
2013-01-17 23:36:08 +01:00
Stefan Krah
fc4aa76d59
Issue #11870 : Skip test_3_join_in_forked_from_thread() on HP-UX.
2013-01-17 23:29:54 +01:00
Antoine Pitrou
53e10cc584
Remove outdated statement
2013-01-17 23:09:07 +01:00
Antoine Pitrou
175df1eeec
Remove outdated statement
2013-01-17 23:08:26 +01:00
Antoine Pitrou
b24d0d984c
Remove outdated statement
2013-01-17 23:08:03 +01:00
Eli Bendersky
c9d504fc29
Fix docstring typo in concurrent.futures.Future
2013-01-17 06:36:30 -08:00
Serhiy Storchaka
9101e23ff6
Issue #15989 : Fix several occurrences of integer overflow
...
when result of PyLong_AsLong() narrowed to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277.
2013-01-19 12:41:45 +02:00
Eli Bendersky
6a56b8ab9c
Fix docstring typo in concurrent.futures.Future
2013-01-17 06:36:30 -08:00
Stefan Krah
a8e59feeb5
Merge 3.3.
2013-01-17 15:34:50 +01:00
Stefan Krah
ebee49a487
Issue #14110 : Fix test failures on FreeBSD if the user is in the wheel group.
2013-01-17 15:31:00 +01:00
Frank Wierzbicki
bb17b4a90f
merge with 3.3
2013-01-16 14:10:36 -08:00
Frank Wierzbicki
bf0da6d68b
Use unittest.main() in 3.3 and greater
2013-01-16 14:09:57 -08:00
Frank Wierzbicki
1572db5a09
#16886 : merge with 3.3
2013-01-16 13:58:14 -08:00