Commit graph

78877 commits

Author SHA1 Message Date
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
1ce9595e87 Issue #17161: merge from 3.3 2013-02-08 23:05:10 -08: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
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
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
1d824ec9b3 Issue #6972: keep the warning about untrusted extraction and mention
the version it was improved in.
2013-02-07 22:17: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
5eda539591 Addressing the review comment made by Terry Reedy 2013-02-07 21:45:08 -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
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
35c52b687f Issue #17073: Fix some integer overflows in sqlite3 module. 2013-02-07 16:59:34 +02:00
Serhiy Storchaka
d0c79dcda5 Issue #17043: The unicode-internal decoder no longer read past the end of
input buffer.
2013-02-07 16:26:55 +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
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
4a88041444 Issue #17118: Add new tests for testing Python-Tcl interaction. 2013-02-07 15:37:53 +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
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
b36f7d7b7e Fix Issue17069: Document getcode method in urllib.request.rst 2013-02-07 00:50:02 -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
Raymond Hettinger
59cf23ab07 Minor tweaks to varnames, declarations, and comments. 2013-02-07 00:57:19 -05:00
R David Murray
9b3085cdf5 #17142: fix apparent copy and paste error in test_all. 2013-02-06 10:06:10 -05: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