Commit graph

76817 commits

Author SHA1 Message Date
R David Murray
f4b54adc70 Merge: #17166: fix _dummy_thread import example.
Report and patch by Berker Peksag.
2013-02-09 13:24:44 -05:00
R David Murray
041d553319 #17166: fix _dummy_thread import example.
Report and patch by Berker Peksag.
2013-02-09 13:23:46 -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
R David Murray
a5e7f8f8e0 #16564: test to confirm behavior that regressed in python3.
Also add running of test_email_renamed to the email regrtest.  It contains
tests that the base email/tests/test_email.py does not, which I discovered
while trying to backport this test for confirmation of the behavior.
2013-02-09 12:53:29 -05:00
Christian Heimes
7d01a1eb2b add proper dependencies on expat headers and sources 2013-02-09 17:02:16 +01:00
Christian Heimes
d489c7a0a3 add proper dependencies on expat headers and sources 2013-02-09 17:02:06 +01:00
Christian Heimes
56656b0118 add proper dependencies on expat headers and sources 2013-02-09 17:02:06 +01:00
Benjamin Peterson
5d50adee50 StringIO.StringIO -> io.StringIO (closes #17168) 2013-02-09 08:57:28 -05:00
Serhiy Storchaka
276f1d5139 Issue #7358: cStringIO.StringIO now supports writing to and reading from
a stream larger than 2 GiB on 64-bit systems.
2013-02-09 13:47:43 +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
beaa3adae9 Issue #10355: SpooledTemporaryFile properties and xreadline method now work for unrolled files. 2013-02-09 12:20:18 +02:00
Serhiy Storchaka
19a5214da4 Minor fix of previous commit. 2013-02-09 11:51:48 +02:00
Serhiy Storchaka
4b109cb4a8 Minor fix of previous commit. 2013-02-09 11:51:21 +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
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
62e709c52b 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:30 +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
Ned Deily
ed1e4382c4 Issue #17161: make install now also installs a python2 and python man page. 2013-02-08 22:51:52 -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
Serhiy Storchaka
c12dcd2e4d Fix accidental non-breakable space (U+00A0). 2013-02-08 11:21:32 +02:00
Gregory P. Smith
ec02217f4c whitespace fix 2013-02-07 22:18:21 -08:00
Gregory P. Smith
5546b002de Issue #6972: keep the warning about untrusted extraction and mention
the version it was improved in.
2013-02-07 22:15:51 -08:00
Gregory P. Smith
f1319d81f7 Issue #6972: keep the warning about untrusted extraction and mention
the version it was improved in.
2013-02-07 22:15:04 -08:00
Gregory P. Smith
a26ec65d93 Issue #6972: fix the documentation mis applied patch. 2013-02-07 22:11:03 -08:00
Senthil Kumaran
cf6e21ccef Addressing the review comment made by Terry Reedy 2013-02-07 21:44:42 -08:00
Senthil Kumaran
d03f467dc2 Addressing the review comment made by Terry Reedy 2013-02-07 21:43:21 -08: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
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
35c52b687f Issue #17073: Fix some integer overflows in sqlite3 module. 2013-02-07 16:59:34 +02:00
Serhiy Storchaka
03ee12ed72 Issue #17043: The unicode-internal decoder no longer read past the end of
input buffer.
2013-02-07 16:25:25 +02:00
Serhiy Storchaka
3fd4ab356d Issue #17043: The unicode-internal decoder no longer read past the end of
input buffer.
2013-02-07 16:23:21 +02:00
Serhiy Storchaka
d5327d95d2 Issue #17043: The unicode-internal decoder no longer read past the end of
input buffer.
2013-02-07 16:23:11 +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
4a88041444 Issue #17118: Add new tests for testing Python-Tcl interaction. 2013-02-07 15:37:53 +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
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
Serhiy Storchaka
8e8bbc5e7d Fix test_from_dll* in test_returnfuncptrs.py. 2013-02-07 14:57:53 +02:00
Senthil Kumaran
785d1b1703 Fix Issue17069: Document getcode method in urllib.request.rst 2013-02-07 00:51:34 -08:00
Senthil Kumaran
599ac4ba2d Fix Issue17069: Document getcode method in urllib.request.rst 2013-02-07 00:49:12 -08:00
Senthil Kumaran
b98e96a23f Fix Issue17069: Document getcode method in urllib.request.rst 2013-02-07 00:47:01 -08:00