Commit Graph

77358 Commits

Author SHA1 Message Date
Serhiy Storchaka c72105c06d Issue #18919: Catch and check warnings in the aifc module tests. 2013-10-14 20:03:06 +03:00
Georg Brandl 62e9580219 Closes #19258: close WSGI server after handling request in demo code. 2013-10-14 16:52:13 +02:00
Serhiy Storchaka 0b9a9fd3a0 Issue #19189: Improved cross-references in the pickle module documentation. 2013-10-14 10:43:26 +03:00
Georg Brandl 2852364135 Closes #16732: move "xxmodule" comment block to detect_modules(). (Already done in 3.x) 2013-10-13 23:38:44 +02:00
Georg Brandl e206e49172 Closes #16657: fix docstring of traceback.format_tb(). 2013-10-13 23:31:38 +02:00
Serhiy Storchaka b6f6450488 Merge heads 2013-10-13 23:29:53 +03:00
Georg Brandl b7557af86d Wing IDE is switching to PyQt... 2013-10-13 22:23:27 +02:00
Serhiy Storchaka b33336f650 Issue #18758: Fixed and improved cross-references. 2013-10-13 23:09:00 +03:00
Serhiy Storchaka 7378d6374c Issue #19197: Improved cross-references in the shlex module documentation. 2013-10-13 21:17:56 +03:00
Serhiy Storchaka 361994c8e9 Issue #19207: Improved cross-references in the os, os.path, and posix modules
documentation.
2013-10-13 20:25:30 +03:00
Georg Brandl 1b1c11d208 Refer to strftime(3) manpage for platform specific format codes.
Suggested by Skip Montanaro on docs@.
2013-10-13 18:28:25 +02:00
Serhiy Storchaka 55c45c71cf Issue #19198: Improved cross-references in the cgi module documentation. 2013-10-13 18:27:51 +03:00
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