Commit graph

4354 commits

Author SHA1 Message Date
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
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
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
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
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
Georg Brandl
7fc972a2aa #17109: fix headings in mock example doc. 2013-02-03 14:00:04 +01:00
Georg Brandl
fb13438aa5 Closes #17109: fix heading levels in mock doc. 2013-02-03 11:47:49 +01:00
Serhiy Storchaka
d4198c4234 Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972. 2013-02-02 13:28:05 +02:00
Serhiy Storchaka
44b8cbfcba Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972. 2013-02-02 13:27:30 +02: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
Vinay Sajip
2b4fcfbbec Updated venv documentation with an example. 2013-01-30 13:44:00 +00:00
Benjamin Peterson
4dafd4075c fix long fixer docs (#4590) 2013-01-28 18:28:38 -05:00
Sandro Tosi
4c1b9f4ca7 fix typo; thanks to Andrew Harrington from docs@ 2013-01-27 00:33:04 +01:00
Eli Bendersky
48c50bf4c8 Clarify ET.iterparse documentation - this function is not supported by the
C implementation.
2013-01-24 07:23:34 -08: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
80c88f4304 Fix shutil.which() test for issue #16993. 2013-01-22 10:31:36 +02:00
Vinay Sajip
9fff3865da Issue #17007: Merged minor changes from 3.2. 2013-01-21 21:58:05 +00:00
Vinay Sajip
52b3d34d1c Issue #17007: Made minor changes to documentation wording. 2013-01-21 21:57:10 +00:00
Vinay Sajip
f29839e8e8 Issue #17007: Merged doc update from 3.2. 2013-01-21 19:45:27 +00:00
Vinay Sajip
6c4c16cdb8 Issue #17007: Improved logging documentation based on suggestions in the issue. 2013-01-21 19:44:28 +00: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
Antoine Pitrou
2c5e9504d8 Remove cruft and circumvolutions from the unittest docs.
(I would have preferred to post this for review but the bug tracker is pretty much dead at the moment)
2013-01-20 01:29:39 +01:00
Ezio Melotti
ff12fae80e #16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe. 2013-01-18 19:55:46 +02:00
Łukasz Langa
288234fe0e math.fsum docs did not show up because of a misplaced testsetup directive 2013-01-18 13:40:43 +01:00
Ezio Melotti
6d043fc781 #16978: merge with 3.2. 2013-01-18 19:58:47 +02:00
Łukasz Langa
37bfa238da math.fsum docs did not show up because of a misplaced testsetup directive
(merged 3.2 fix)
2013-01-18 13:41:14 +01:00
Benjamin Peterson
0ad344a832 remove warning about tb circular reference (closes #7340) 2013-01-15 16:49:22 -05:00
Serhiy Storchaka
f1b045f417 Describe the default_namespace parameter of ElemetTree.write. 2013-01-13 22:04:43 +02:00
Serhiy Storchaka
03530b980e Describe the default_namespace parameter of ElemetTree.write. 2013-01-13 21:58:04 +02:00
Ezio Melotti
9895ab463b #16940: merge with 3.2. 2013-01-12 10:40:24 +02:00
Ezio Melotti
7128e073e2 #16940: fix indentation in example. 2013-01-12 10:39:45 +02:00
Chris Jerdonek
71e39fb484 Issue #16933 (merge from 3.2): Improve choices examples in argparse docs. 2013-01-11 19:28:05 -08:00
Chris Jerdonek
174ef67b56 Issue #16933 (2.7 forward-port): Improve choices examples in argparse docs. 2013-01-11 19:26:44 -08:00
Georg Brandl
154dc4e423 Closes #16936: fix duplicate/ambiguous description of stat.S_IFMT in the docs. 2013-01-11 20:25:54 +01:00
Sandro Tosi
a525fc161a merge with 3.2 2013-01-11 10:49:28 +01:00
Sandro Tosi
32587fbb89 grammatical fix; thanks to Alex Rudnick from docs@ 2013-01-11 10:49:00 +01:00
Ezio Melotti
5a4b03dd82 #16154: merge with 3.2. 2013-01-11 09:12:28 +02:00
Ezio Melotti
405079213b #16154: fix some doctests in Doc/library. Patch by Ravi Sinha. 2013-01-11 09:09:07 +02:00
R David Murray
d394455aae merge #13934: document sqlite version strings, use correct one in test. 2013-01-10 20:19:35 -05:00
R David Murray
3f7beb99dd #13934: document sqlite version strings, use correct one in test. 2013-01-10 20:18:21 -05:00
Ezio Melotti
e212370fea Use correct methods in unittest.mock examples. 2013-01-10 03:43:33 +02:00
Vinay Sajip
9a546530bb Issue #16884: Merged doc fix from 3.2. 2013-01-08 11:26:30 +00:00
Vinay Sajip
21b30827bc Issue #16884: Updated docs to use 'note' directives in a couple of places missed earlier. 2013-01-08 11:25:42 +00:00
Vinay Sajip
0e82fd1f78 Issue #16884: Merged logging documentation fixes from 3.2. 2013-01-07 14:18:19 +00:00