]> granicus.if.org Git - python/log
python
11 years agoIssue #19352: Fix unittest discovery when a module can be reached through several...
Antoine Pitrou [Wed, 23 Oct 2013 17:11:29 +0000 (19:11 +0200)]
Issue #19352: Fix unittest discovery when a module can be reached through several paths (e.g. under Debian/Ubuntu with virtualenv).

11 years agoIssue #15207: Fix mimetypes to read from correct area in Windows registry (Original...
Tim Golden [Tue, 22 Oct 2013 19:45:13 +0000 (20:45 +0100)]
Issue #15207: Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers)

11 years agoIssue #18603: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in the
Christian Heimes [Tue, 22 Oct 2013 08:22:29 +0000 (10:22 +0200)]
Issue #18603: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in the
Python executable and not removed by the linker's optimizer.

11 years ago#19319: fix ctypes docs: sizeof is an operator in C, not a function.
Ezio Melotti [Mon, 21 Oct 2013 01:41:40 +0000 (04:41 +0300)]
#19319: fix ctypes docs: sizeof is an operator in C, not a function.

11 years ago#8964: fix platform._sys_version to handle IronPython 2.6+.
Ezio Melotti [Mon, 21 Oct 2013 00:03:32 +0000 (03:03 +0300)]
#8964: fix platform._sys_version to handle IronPython 2.6+.

11 years ago#19238, #19289: fix description of the align and fill values of the format specification.
Ezio Melotti [Sun, 20 Oct 2013 23:53:07 +0000 (02:53 +0300)]
#19238, #19289: fix description of the align and fill values of the format specification.

11 years agoIssue #16038: CVE-2013-1752: ftplib: Limit amount of data read by
Serhiy Storchaka [Sun, 20 Oct 2013 13:57:07 +0000 (16:57 +0300)]
Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read by
limiting the call to readline().  Original patch by Michał
Jastrzębski and Giampaolo Rodola.

11 years agomerge
Christian Heimes [Sat, 19 Oct 2013 17:56:27 +0000 (19:56 +0200)]
merge

11 years agoIgnore PyCharm project directory
Christian Heimes [Sat, 19 Oct 2013 17:55:27 +0000 (19:55 +0200)]
Ignore PyCharm project directory

11 years agoIssue #19279: UTF-7 decoder no more produces illegal unicode strings.
Serhiy Storchaka [Sat, 19 Oct 2013 17:37:49 +0000 (20:37 +0300)]
Issue #19279: UTF-7 decoder no more produces illegal unicode strings.

11 years agoEnsure setup.py looks for zlib.h in an OS X SDK.
Ned Deily [Sat, 19 Oct 2013 04:33:57 +0000 (21:33 -0700)]
Ensure setup.py looks for zlib.h in an OS X SDK.

11 years agoUpdate OS X installer for building on 10.9.
Ned Deily [Sat, 19 Oct 2013 03:40:23 +0000 (20:40 -0700)]
Update OS X installer for building on 10.9.

11 years agofix description of super() behavior on descriptors
Benjamin Peterson [Fri, 18 Oct 2013 16:57:55 +0000 (12:57 -0400)]
fix description of super() behavior on descriptors

11 years agoRemove redundant empty lines.
Serhiy Storchaka [Fri, 18 Oct 2013 14:16:04 +0000 (17:16 +0300)]
Remove redundant empty lines.

11 years agoFix markup.
Serhiy Storchaka [Fri, 18 Oct 2013 08:54:52 +0000 (11:54 +0300)]
Fix markup.

11 years agoIssue #19276: Fixed the wave module on 64-bit big-endian platforms.
Serhiy Storchaka [Thu, 17 Oct 2013 20:03:48 +0000 (23:03 +0300)]
Issue #19276: Fixed the wave module on 64-bit big-endian platforms.

11 years agoCloses #19277: document all parameters of compressobj().
Georg Brandl [Thu, 17 Oct 2013 17:51:00 +0000 (19:51 +0200)]
Closes #19277: document all parameters of compressobj().

11 years agoIssue 19276: Fix tests for wave files on big-endian platforms.
Serhiy Storchaka [Thu, 17 Oct 2013 09:45:45 +0000 (12:45 +0300)]
Issue 19276: Fix tests for wave files on big-endian platforms.
Skip tests for 24-bit wave file on big-endian platforms.

11 years agoClose #19267: Fix support of multibyte encoding (ex: UTF-16) in the logging
Victor Stinner [Tue, 15 Oct 2013 21:36:56 +0000 (23:36 +0200)]
Close #19267: Fix support of multibyte encoding (ex: UTF-16) in the logging
module.

11 years ago#4965: Implement intelligent scrolling of the sidebar in the docs.
Ezio Melotti [Mon, 14 Oct 2013 19:01:28 +0000 (22:01 +0300)]
#4965: Implement intelligent scrolling of the sidebar in the docs.

11 years agoIssue #18919: Add test/audiodata to LIBSUBDIRS.
Serhiy Storchaka [Mon, 14 Oct 2013 18:18:29 +0000 (21:18 +0300)]
Issue #18919: Add test/audiodata to LIBSUBDIRS.

11 years agoIssue #18919: Fixed resource leaks in audio tests.
Serhiy Storchaka [Mon, 14 Oct 2013 17:09:30 +0000 (20:09 +0300)]
Issue #18919: Fixed resource leaks in audio tests.

11 years agoIssue #18919: Catch and check warnings in the aifc module tests.
Serhiy Storchaka [Mon, 14 Oct 2013 17:03:06 +0000 (20:03 +0300)]
Issue #18919: Catch and check warnings in the aifc module tests.

11 years agoCloses #19258: close WSGI server after handling request in demo code.
Georg Brandl [Mon, 14 Oct 2013 14:52:13 +0000 (16:52 +0200)]
Closes #19258: close WSGI server after handling request in demo code.

11 years agoIssue #19189: Improved cross-references in the pickle module documentation.
Serhiy Storchaka [Mon, 14 Oct 2013 07:43:26 +0000 (10:43 +0300)]
Issue #19189: Improved cross-references in the pickle module documentation.

11 years agoCloses #16732: move "xxmodule" comment block to detect_modules(). (Already done...
Georg Brandl [Sun, 13 Oct 2013 21:38:44 +0000 (23:38 +0200)]
Closes #16732: move "xxmodule" comment block to detect_modules().  (Already done in 3.x)

11 years agoCloses #16657: fix docstring of traceback.format_tb().
Georg Brandl [Sun, 13 Oct 2013 21:31:38 +0000 (23:31 +0200)]
Closes #16657: fix docstring of traceback.format_tb().

11 years agoMerge heads
Serhiy Storchaka [Sun, 13 Oct 2013 20:29:53 +0000 (23:29 +0300)]
Merge heads

11 years agoWing IDE is switching to PyQt...
Georg Brandl [Sun, 13 Oct 2013 20:23:27 +0000 (22:23 +0200)]
Wing IDE is switching to PyQt...

11 years agoIssue #18758: Fixed and improved cross-references.
Serhiy Storchaka [Sun, 13 Oct 2013 20:09:00 +0000 (23:09 +0300)]
Issue #18758: Fixed and improved cross-references.

11 years ago Issue #19197: Improved cross-references in the shlex module documentation.
Serhiy Storchaka [Sun, 13 Oct 2013 18:17:56 +0000 (21:17 +0300)]
 Issue #19197: Improved cross-references in the shlex module documentation.

11 years agoIssue #19207: Improved cross-references in the os, os.path, and posix modules
Serhiy Storchaka [Sun, 13 Oct 2013 17:25:30 +0000 (20:25 +0300)]
Issue #19207: Improved cross-references in the os, os.path, and posix modules
documentation.

11 years agoRefer to strftime(3) manpage for platform specific format codes.
Georg Brandl [Sun, 13 Oct 2013 16:28:25 +0000 (18:28 +0200)]
Refer to strftime(3) manpage for platform specific format codes.

Suggested by Skip Montanaro on docs@.

11 years agoIssue #19198: Improved cross-references in the cgi module documentation.
Serhiy Storchaka [Sun, 13 Oct 2013 15:27:51 +0000 (18:27 +0300)]
Issue #19198: Improved cross-references in the cgi module documentation.

11 years agoIssue #18919: Added tests for the sunau module. Unified and extended tests
Serhiy Storchaka [Sun, 13 Oct 2013 14:47:22 +0000 (17:47 +0300)]
Issue #18919: Added tests for the sunau module.  Unified and extended tests
for audio modules: aifc, sunau and wave.

11 years agoIssue #18739: Fix inconsistent results from math.log(n) and math.log(long(n))
Mark Dickinson [Sun, 13 Oct 2013 09:55:15 +0000 (10:55 +0100)]
Issue #18739: Fix inconsistent results from math.log(n) and math.log(long(n))

11 years agoCloses #13740: SND_NOWAIT seems to be ignored on modern Windows.
Georg Brandl [Sun, 13 Oct 2013 08:49:41 +0000 (10:49 +0200)]
Closes #13740: SND_NOWAIT seems to be ignored on modern Windows.

11 years agoCloses #15829: document ThreadError and fix exception raised for releasing unlocked...
Georg Brandl [Sun, 13 Oct 2013 08:23:27 +0000 (10:23 +0200)]
Closes #15829: document ThreadError and fix exception raised for releasing unlocked locks.

11 years agoCloses #14486: add versionchanged notices throughout the threading docs for PEP8...
Georg Brandl [Sun, 13 Oct 2013 08:07:31 +0000 (10:07 +0200)]
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.

11 years agoFix a small CSS glitch with deprecated blocks and Sphinx 1.2.
Georg Brandl [Sun, 13 Oct 2013 07:56:20 +0000 (09:56 +0200)]
Fix a small CSS glitch with deprecated blocks and Sphinx 1.2.

11 years agoFix display of deprecated blocks with Sphinx 1.2.
Georg Brandl [Sun, 13 Oct 2013 07:31:42 +0000 (09:31 +0200)]
Fix display of deprecated blocks with Sphinx 1.2.

11 years agoIssue #18458: Prevent crashes with newer versions of libedit. Its readline
Ned Deily [Sat, 12 Oct 2013 22:45:25 +0000 (15:45 -0700)]
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.

11 years agoadd more media types
Benjamin Peterson [Sat, 12 Oct 2013 19:55:24 +0000 (15:55 -0400)]
add more media types

11 years agoFix compatibility with upcoming Sphinx 1.2.
Georg Brandl [Sat, 12 Oct 2013 18:50:21 +0000 (20:50 +0200)]
Fix compatibility with upcoming Sphinx 1.2.

11 years agoIssue #18919: If the close() method of a writer in the sunau or wave module
Serhiy Storchaka [Sat, 12 Oct 2013 18:35:33 +0000 (21:35 +0300)]
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.

11 years agoCloses #13905: mention rich-comparison methods in addition to __cmp__ when documentin...
Georg Brandl [Sat, 12 Oct 2013 16:44:13 +0000 (18:44 +0200)]
Closes #13905: mention rich-comparison methods in addition to __cmp__ when documenting how to make classes comparable and orderable.

11 years agoCloses #19179: make table of XML vulnerabilities clearer by using "everyday" booleans...
Georg Brandl [Sat, 12 Oct 2013 16:19:33 +0000 (18:19 +0200)]
Closes #19179: make table of XML vulnerabilities clearer by using "everyday" booleans and explaining the table beforehand.

11 years agoCloses #13203: add a FAQ section about seemingly duplicate id()s.
Georg Brandl [Sat, 12 Oct 2013 16:14:25 +0000 (18:14 +0200)]
Closes #13203: add a FAQ section about seemingly duplicate id()s.

11 years agoIssue #19131: The aifc module now correctly reads and writes sampwidth of
Serhiy Storchaka [Sat, 12 Oct 2013 15:21:12 +0000 (18:21 +0300)]
Issue #19131: The aifc module now correctly reads and writes sampwidth of
compressed streams.

11 years agoIssue #19005: Fix documentation for PyIter_Next().
Raymond Hettinger [Thu, 10 Oct 2013 05:39:11 +0000 (22:39 -0700)]
Issue #19005:  Fix documentation for PyIter_Next().

11 years agoIssue 19158: a rare race in BoundedSemaphore could allow .release() too often.
Tim Peters [Wed, 9 Oct 2013 18:25:11 +0000 (13:25 -0500)]
Issue 19158:  a rare race in BoundedSemaphore could allow .release() too often.

11 years ago#19194: Improved cross-references in the fcntl module documentation.
Serhiy Storchaka [Wed, 9 Oct 2013 11:20:06 +0000 (14:20 +0300)]
#19194: Improved cross-references in the fcntl module documentation.

11 years ago#19196: Improved cross-references in distutils documentation.
Serhiy Storchaka [Wed, 9 Oct 2013 11:09:02 +0000 (14:09 +0300)]
#19196: Improved cross-references in distutils documentation.

11 years agoIssue #19190: Improve cross-references in builtin types and functions documentation.
Serhiy Storchaka [Wed, 9 Oct 2013 11:02:14 +0000 (14:02 +0300)]
Issue #19190: Improve cross-references in builtin types and functions documentation.

11 years agoIssue 19195: Improved cross-references in C API documentation.
Serhiy Storchaka [Wed, 9 Oct 2013 10:25:21 +0000 (13:25 +0300)]
Issue 19195: Improved cross-references in C API documentation.

11 years agoIssue #19193: Improved cross-references in the tutorial.
Serhiy Storchaka [Wed, 9 Oct 2013 06:54:32 +0000 (09:54 +0300)]
Issue #19193: Improved cross-references in the tutorial.

11 years agoLOL - 2.7 requires very different code. Annoying ;-)
Tim Peters [Wed, 9 Oct 2013 02:51:06 +0000 (21:51 -0500)]
LOL - 2.7 requires very different code.  Annoying ;-)

11 years agoIssue 19158: a rare race in BoundedSemaphore could allow .release() too often.
Tim Peters [Wed, 9 Oct 2013 01:55:51 +0000 (20:55 -0500)]
Issue 19158:  a rare race in BoundedSemaphore could allow .release() too often.
(grafted from e06edc0c7a4951327f0c95ebeebccba6879a6063)

11 years agoMinor grammar fix.
Georg Brandl [Tue, 8 Oct 2013 19:54:37 +0000 (21:54 +0200)]
Minor grammar fix.

11 years agoFix wrong link.
Georg Brandl [Tue, 8 Oct 2013 19:43:39 +0000 (21:43 +0200)]
Fix wrong link.

11 years agoCloses #13867: remove untrue comment about PyWeakref_Check().
Georg Brandl [Tue, 8 Oct 2013 17:50:26 +0000 (19:50 +0200)]
Closes #13867: remove untrue comment about PyWeakref_Check().

11 years agoIssue #18037: Do not escape '\u' and '\U' in raw strings.
Serhiy Storchaka [Tue, 8 Oct 2013 18:07:21 +0000 (21:07 +0300)]
Issue #18037: Do not escape '\u' and '\U' in raw strings.

11 years agoCloses #19178: backport entries for "module" and "package" from 3.x glossary. Patch...
Georg Brandl [Tue, 8 Oct 2013 06:05:33 +0000 (08:05 +0200)]
Closes #19178: backport entries for "module" and "package" from 3.x glossary. Patch by Berker Peksag.

11 years agoUse the platform-independent way of calling a script from the shell: "python prog...
Georg Brandl [Sun, 6 Oct 2013 17:33:56 +0000 (19:33 +0200)]
Use the platform-independent way of calling a script from the shell: "python prog.py", not "prog.py"

Found by Micheal Wells on docs@.

11 years agoFix typo in example file name. Found by John Bokma on docs@.
Georg Brandl [Sun, 6 Oct 2013 17:21:14 +0000 (19:21 +0200)]
Fix typo in example file name. Found by John Bokma on docs@.

11 years agoFix: win32_ver returns a 4-tuple. Found by Andrew Berg on docs@.
Georg Brandl [Sun, 6 Oct 2013 17:19:18 +0000 (19:19 +0200)]
Fix: win32_ver returns a 4-tuple. Found by Andrew Berg on docs@.

11 years agoFix typo in function name.
Georg Brandl [Sun, 6 Oct 2013 17:14:35 +0000 (19:14 +0200)]
Fix typo in function name.

11 years agoCloses #15432: GzipFile mtime argument was added in 2.7.
Georg Brandl [Sun, 6 Oct 2013 17:01:21 +0000 (19:01 +0200)]
Closes #15432: GzipFile mtime argument was added in 2.7.

11 years agoCloses #11807: document argparse add_subparsers method better.
Georg Brandl [Sun, 6 Oct 2013 16:51:39 +0000 (18:51 +0200)]
Closes #11807: document argparse add_subparsers method better.

Patch by Filip Gruszczyński.

11 years agoCloses #15213: update comment for _PyOS_URandom
Georg Brandl [Sun, 6 Oct 2013 16:43:19 +0000 (18:43 +0200)]
Closes #15213: update comment for _PyOS_URandom

11 years agoCloses #17725: small grammar fix.
Georg Brandl [Sun, 6 Oct 2013 16:36:34 +0000 (18:36 +0200)]
Closes #17725: small grammar fix.

11 years agoThe "FAQ" link at the end was changed to a Wikipedia link; reflect that.
Georg Brandl [Sun, 6 Oct 2013 16:26:36 +0000 (18:26 +0200)]
The "FAQ" link at the end was changed to a Wikipedia link; reflect that.

11 years agoCloses #19177: replace dead link to SSL/TLS introduction with the version from Apache.
Georg Brandl [Sun, 6 Oct 2013 16:20:31 +0000 (18:20 +0200)]
Closes #19177: replace dead link to SSL/TLS introduction with the version from Apache.

11 years agoCloses #19181: replace non-existing host ftp.cwi.nl with ftp.debian.org in ftplib...
Georg Brandl [Sun, 6 Oct 2013 16:17:56 +0000 (18:17 +0200)]
Closes #19181: replace non-existing host ftp.cwi.nl with ftp.debian.org in ftplib example.

11 years agoCloses #12350: clarify blocks/block size members of stat result.
Georg Brandl [Sun, 6 Oct 2013 16:11:32 +0000 (18:11 +0200)]
Closes #12350: clarify blocks/block size members of stat result.

11 years agoFix link to the "pexports" tool. Found by Joe Aikkaravelil on docs@.
Georg Brandl [Sun, 6 Oct 2013 11:20:49 +0000 (13:20 +0200)]
Fix link to the "pexports" tool. Found by Joe Aikkaravelil on docs@.

11 years agoFix order of required StreamReader/StreamWriter base classes. Spotted by Edward...
Georg Brandl [Sun, 6 Oct 2013 11:17:04 +0000 (13:17 +0200)]
Fix order of required StreamReader/StreamWriter base classes.  Spotted by Edward Welbourne on docs@.

11 years agoMinor improvement: add indication that the main function goes on.
Georg Brandl [Sun, 6 Oct 2013 11:14:10 +0000 (13:14 +0200)]
Minor improvement: add indication that the main function goes on.

11 years agoFix missing class name in markup. Found by Tanky Woo on docs@.
Georg Brandl [Sun, 6 Oct 2013 11:09:59 +0000 (13:09 +0200)]
Fix missing class name in markup. Found by Tanky Woo on docs@.

11 years agoFix example in backreference description. Found by Alexander Heger on docs@.
Georg Brandl [Sun, 6 Oct 2013 10:58:20 +0000 (12:58 +0200)]
Fix example in backreference description.  Found by Alexander Heger on docs@.

11 years agoPythonCAD is now on PyQt, use Wing as a prominent PyGtk example.
Georg Brandl [Sun, 6 Oct 2013 10:46:13 +0000 (12:46 +0200)]
PythonCAD is now on PyQt, use Wing as a prominent PyGtk example.

Found by Helge Stenström on docs@.

11 years agoFix minor bug in httplib example. Found by Alex MacAulay on docs@.
Georg Brandl [Sun, 6 Oct 2013 10:42:18 +0000 (12:42 +0200)]
Fix minor bug in httplib example. Found by Alex MacAulay on docs@.

11 years agoFix SQLite datatype name: it is REAL, not FLOAT. Found by Richard Kelsall on docs@.
Georg Brandl [Sun, 6 Oct 2013 10:38:44 +0000 (12:38 +0200)]
Fix SQLite datatype name: it is REAL, not FLOAT. Found by Richard Kelsall on docs@.

11 years agoCounter: fix recipe for "n least common elements". Found by Mikhail Golubev on docs@.
Georg Brandl [Sun, 6 Oct 2013 10:36:39 +0000 (12:36 +0200)]
Counter: fix recipe for "n least common elements". Found by Mikhail Golubev on docs@.

11 years agoFix typo.
Georg Brandl [Sun, 6 Oct 2013 10:33:20 +0000 (12:33 +0200)]
Fix typo.

11 years agoFix strange deprecation version.
Georg Brandl [Sun, 6 Oct 2013 10:31:06 +0000 (12:31 +0200)]
Fix strange deprecation version.

11 years agoCloses #15956: improve documentation of named groups and how to reference them.
Georg Brandl [Sun, 6 Oct 2013 10:08:14 +0000 (12:08 +0200)]
Closes #15956: improve documentation of named groups and how to reference them.

11 years agoFix small grammar mistake.
Georg Brandl [Sun, 6 Oct 2013 09:57:13 +0000 (11:57 +0200)]
Fix small grammar mistake.

11 years agoSmall logical fix in filter() example description.
Georg Brandl [Sun, 6 Oct 2013 09:41:36 +0000 (11:41 +0200)]
Small logical fix in filter() example description.

11 years agoClarify section about source code encoding.
Georg Brandl [Sun, 6 Oct 2013 09:24:48 +0000 (11:24 +0200)]
Clarify section about source code encoding.

11 years agoFix missing period.
Georg Brandl [Sun, 6 Oct 2013 09:12:29 +0000 (11:12 +0200)]
Fix missing period.

11 years agoFix deprecated link to Python Testing Tools Taxonomy. Reported by Daniel Greenfeld...
Georg Brandl [Sun, 6 Oct 2013 09:10:49 +0000 (11:10 +0200)]
Fix deprecated link to Python Testing Tools Taxonomy.  Reported by Daniel Greenfeld on docs@.

11 years agoFix merging mistake: wrong Python version.
Georg Brandl [Sun, 6 Oct 2013 09:08:57 +0000 (11:08 +0200)]
Fix merging mistake: wrong Python version.

11 years agoFix wrong Python highlighting in directory hierarchy code block.
Georg Brandl [Sun, 6 Oct 2013 09:08:24 +0000 (11:08 +0200)]
Fix wrong Python highlighting in directory hierarchy code block.

11 years agoSmall clarification in extending docs.
Georg Brandl [Sun, 6 Oct 2013 09:02:38 +0000 (11:02 +0200)]
Small clarification in extending docs.

11 years agoUse "lambda expression" as preferred to "lambda form".
Georg Brandl [Sun, 6 Oct 2013 08:26:58 +0000 (10:26 +0200)]
Use "lambda expression" as preferred to "lambda form".

11 years agoCloses #18646: improve lambda docs in tutorial. Original patch by Terry Reedy.
Georg Brandl [Sun, 6 Oct 2013 08:22:45 +0000 (10:22 +0200)]
Closes #18646: improve lambda docs in tutorial.  Original patch by Terry Reedy.

11 years agoFix small copy-paste typo in ossaudiodev setparameters() example (found by Ken Housle...
Georg Brandl [Sun, 6 Oct 2013 08:11:12 +0000 (10:11 +0200)]
Fix small copy-paste typo in ossaudiodev setparameters() example (found by Ken Housley on docs@).

11 years agoFix some PEP8 in curses HOWTO.
Georg Brandl [Sun, 6 Oct 2013 08:02:07 +0000 (10:02 +0200)]
Fix some PEP8 in curses HOWTO.

11 years agoClarify docs for os.path.getctime on Unix: it is the inode (metadata) change time
Georg Brandl [Sun, 6 Oct 2013 07:52:55 +0000 (09:52 +0200)]
Clarify docs for os.path.getctime on Unix: it is the inode (metadata) change time