Commit Graph

77396 Commits

Author SHA1 Message Date
Serhiy Storchaka 0fa0173893 Issue #18919: Added tests for the sunau module. Unified and extended tests
for audio modules: aifc, sunau and wave.
2013-10-13 17:47:22 +03:00
Mark Dickinson 36f6e2c9e0 Issue #18739: Fix inconsistent results from math.log(n) and math.log(long(n)) 2013-10-13 10:55:15 +01:00
Georg Brandl 65e30a2db5 Closes #13740: SND_NOWAIT seems to be ignored on modern Windows. 2013-10-13 10:49:41 +02:00
Georg Brandl 6e5ae97c95 Closes #15829: document ThreadError and fix exception raised for releasing unlocked locks. 2013-10-13 10:23:27 +02:00
Georg Brandl 52fa1724ce Closes #14486: add versionchanged notices throughout the threading docs for PEP8-compliant APIs; the note at the top of the page is too hard to notice. 2013-10-13 10:07:31 +02:00
Georg Brandl 21721b6be5 Fix a small CSS glitch with deprecated blocks and Sphinx 1.2. 2013-10-13 09:56:20 +02:00
Georg Brandl 0aab3d97ad Fix display of deprecated blocks with Sphinx 1.2. 2013-10-13 09:31:42 +02:00
Ned Deily 62a192931b Issue #18458: Prevent crashes with newer versions of libedit. Its readline
emulation has changed from 0-based indexing to 1-based like gnu readline.
Original patch by Ronald Oussoren.
2013-10-12 15:45:25 -07:00
Benjamin Peterson 4243fbf372 add more media types 2013-10-12 15:55:24 -04:00
Georg Brandl af3ef9245c Fix compatibility with upcoming Sphinx 1.2. 2013-10-12 20:50:21 +02:00
Serhiy Storchaka 499d82136d Issue #18919: If the close() method of a writer in the sunau or wave module
failed, second invocation of close() and destructor no more raise an
exception.  Second invocation of close() on sunau writer now has no effects.
The aifc module now accepts lower case of names of the 'ulaw' and 'alaw'
codecs.
2013-10-12 21:35:33 +03:00
Georg Brandl 5b68d64992 Closes #13905: mention rich-comparison methods in addition to __cmp__ when documenting how to make classes comparable and orderable. 2013-10-12 18:44:13 +02:00
Georg Brandl c2a9dc35c0 Closes #19179: make table of XML vulnerabilities clearer by using "everyday" booleans and explaining the table beforehand. 2013-10-12 18:19:33 +02:00
Georg Brandl 0f79cac1bf Closes #13203: add a FAQ section about seemingly duplicate id()s. 2013-10-12 18:14:25 +02:00
Serhiy Storchaka 986b5ee4d9 Issue #19131: The aifc module now correctly reads and writes sampwidth of
compressed streams.
2013-10-12 18:21:12 +03:00
Raymond Hettinger 8b1701d394 Issue #19005: Fix documentation for PyIter_Next(). 2013-10-09 22:39:11 -07:00
Tim Peters b82300b02d Issue 19158: a rare race in BoundedSemaphore could allow .release() too often. 2013-10-09 13:25:11 -05:00
Serhiy Storchaka 32dc141088 #19194: Improved cross-references in the fcntl module documentation. 2013-10-09 14:20:06 +03:00
Serhiy Storchaka a5ab7612c1 #19196: Improved cross-references in distutils documentation. 2013-10-09 14:09:02 +03:00
Serhiy Storchaka ad16b725bc Issue #19190: Improve cross-references in builtin types and functions documentation. 2013-10-09 14:02:14 +03:00
Serhiy Storchaka 99a196fcfc Issue 19195: Improved cross-references in C API documentation. 2013-10-09 13:25:21 +03:00
Serhiy Storchaka 972788088d Issue #19193: Improved cross-references in the tutorial. 2013-10-09 09:54:32 +03:00
Tim Peters b563d4b7c8 LOL - 2.7 requires very different code. Annoying ;-) 2013-10-08 21:51:06 -05:00
Tim Peters 641d6217a8 Issue 19158: a rare race in BoundedSemaphore could allow .release() too often.
(grafted from e06edc0c7a4951327f0c95ebeebccba6879a6063)
2013-10-08 20:55:51 -05:00
Georg Brandl 090588ec2c Minor grammar fix. 2013-10-08 21:54:37 +02:00
Georg Brandl e3e4c9afe4 Fix wrong link. 2013-10-08 21:43:39 +02:00
Georg Brandl 4fe1260165 Closes #13867: remove untrue comment about PyWeakref_Check(). 2013-10-08 19:50:26 +02:00
Serhiy Storchaka 6f2ec18b4e Issue #18037: Do not escape '\u' and '\U' in raw strings. 2013-10-08 21:07:21 +03:00
Georg Brandl 2808a1244d Closes #19178: backport entries for "module" and "package" from 3.x glossary. Patch by Berker Peksag. 2013-10-08 08:05:33 +02:00
Georg Brandl 9f57278251 Use the platform-independent way of calling a script from the shell: "python prog.py", not "prog.py"
Found by Micheal Wells on docs@.
2013-10-06 19:33:56 +02:00
Georg Brandl 3456d4746d Fix typo in example file name. Found by John Bokma on docs@. 2013-10-06 19:21:14 +02:00
Georg Brandl bab7850c8e Fix: win32_ver returns a 4-tuple. Found by Andrew Berg on docs@. 2013-10-06 19:19:18 +02:00
Georg Brandl 09289afbd4 Fix typo in function name. 2013-10-06 19:14:35 +02:00
Georg Brandl 188ddd3ba0 Closes #15432: GzipFile mtime argument was added in 2.7. 2013-10-06 19:01:21 +02:00
Georg Brandl 1f94b26cba Closes #11807: document argparse add_subparsers method better.
Patch by Filip Gruszczyński.
2013-10-06 18:51:39 +02:00
Georg Brandl c0edadee84 Closes #15213: update comment for _PyOS_URandom 2013-10-06 18:43:19 +02:00
Georg Brandl 4bfc96bf43 Closes #17725: small grammar fix. 2013-10-06 18:36:34 +02:00
Georg Brandl 917bb8cb34 The "FAQ" link at the end was changed to a Wikipedia link; reflect that. 2013-10-06 18:26:36 +02:00
Georg Brandl 4e8534e2ae Closes #19177: replace dead link to SSL/TLS introduction with the version from Apache. 2013-10-06 18:20:31 +02:00
Georg Brandl 60ccf0a8c9 Closes #19181: replace non-existing host ftp.cwi.nl with ftp.debian.org in ftplib example. 2013-10-06 18:17:56 +02:00
Georg Brandl 5185d0f118 Closes #12350: clarify blocks/block size members of stat result. 2013-10-06 18:11:32 +02:00
Georg Brandl e0f6d59896 Fix link to the "pexports" tool. Found by Joe Aikkaravelil on docs@. 2013-10-06 13:20:49 +02:00
Georg Brandl 42dac47c96 Fix order of required StreamReader/StreamWriter base classes. Spotted by Edward Welbourne on docs@. 2013-10-06 13:17:04 +02:00
Georg Brandl e8c52e13ee Minor improvement: add indication that the main function goes on. 2013-10-06 13:14:10 +02:00
Georg Brandl e3005461c3 Fix missing class name in markup. Found by Tanky Woo on docs@. 2013-10-06 13:09:59 +02:00
Georg Brandl 980db0a098 Fix example in backreference description. Found by Alexander Heger on docs@. 2013-10-06 12:58:20 +02:00
Georg Brandl 5c80cc4486 PythonCAD is now on PyQt, use Wing as a prominent PyGtk example.
Found by Helge Stenström on docs@.
2013-10-06 12:46:13 +02:00
Georg Brandl d6896507da Fix minor bug in httplib example. Found by Alex MacAulay on docs@. 2013-10-06 12:42:18 +02:00
Georg Brandl 775ba9b424 Fix SQLite datatype name: it is REAL, not FLOAT. Found by Richard Kelsall on docs@. 2013-10-06 12:38:44 +02:00
Georg Brandl 97ea40aa6d Counter: fix recipe for "n least common elements". Found by Mikhail Golubev on docs@. 2013-10-06 12:36:39 +02:00