]> granicus.if.org Git - python/log
python
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

11 years agoFix prefix_chars not being applied in help text example (reported by John Kooker...
Georg Brandl [Sun, 6 Oct 2013 07:50:36 +0000 (09:50 +0200)]
Fix prefix_chars not being applied in help text example (reported by John Kooker on docs@)

11 years agoFix markup to not add parens to the "hashlib.md5" constructor when the object is...
Georg Brandl [Sun, 6 Oct 2013 07:48:26 +0000 (09:48 +0200)]
Fix markup to not add parens to the "hashlib.md5" constructor when the object is meant, not the call.

11 years agoFix markup.
Georg Brandl [Sun, 6 Oct 2013 07:47:45 +0000 (09:47 +0200)]
Fix markup.

11 years agoRemove dead link to effbot Tkinter introduction material (reported by Ralf Ganswindt...
Georg Brandl [Sun, 6 Oct 2013 07:32:03 +0000 (09:32 +0200)]
Remove dead link to effbot Tkinter introduction material (reported by Ralf Ganswindt from docs@)

11 years agoFix: Element.text is an attribute, not a method (report by Cameron Laird on docs@)
Georg Brandl [Sun, 6 Oct 2013 07:23:03 +0000 (09:23 +0200)]
Fix: Element.text is an attribute, not a method (report by Cameron Laird on docs@)

11 years agoFix "customer timer" -> "custom timer" (reported by Kirk Strauser on docs@)
Georg Brandl [Sun, 6 Oct 2013 07:17:43 +0000 (09:17 +0200)]
Fix "customer timer" -> "custom timer" (reported by Kirk Strauser on docs@)

11 years agoIssue 14927: Minor clean-up of function parameters in random().
Raymond Hettinger [Sun, 6 Oct 2013 04:34:48 +0000 (21:34 -0700)]
Issue 14927: Minor clean-up of function parameters in random().

11 years agoIssue #19171: speed some cases of 3-argument long pow().
Tim Peters [Sat, 5 Oct 2013 21:53:52 +0000 (16:53 -0500)]
Issue #19171:  speed some cases of 3-argument long pow().

Reduce the base by the modulus when the base is larger than
the modulus.  This can unboundedly speed the "startup costs"
of doing modular exponentiation, particularly in cases where
the base is much larger than the modulus.  Original patch
by Armin Rigo, inspired by https://github.com/pyca/ed25519.
(grafted from f34c59494420765b013136ca93f63b716d9f1d30)

11 years ago#19074: mention PySide in the GUI FAQs.
Ezio Melotti [Sat, 5 Oct 2013 22:02:09 +0000 (01:02 +0300)]
#19074: mention PySide in the GUI FAQs.

11 years ago#19069: use imperative mood in float object docstrings. Patch by Marco Buttu.
Ezio Melotti [Sat, 5 Oct 2013 21:44:32 +0000 (00:44 +0300)]
#19069: use imperative mood in float object docstrings.  Patch by Marco Buttu.

11 years ago#19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.
Ezio Melotti [Sat, 5 Oct 2013 21:39:18 +0000 (00:39 +0300)]
#19068: use imperative mood in complex object docstrings.  Patch by Marco Buttu.

11 years ago#19166: use an unused var in a test. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 5 Oct 2013 00:01:37 +0000 (03:01 +0300)]
#19166: use an unused var in a test.  Patch by Vajrasky Kok.

11 years agodict is also allowed (closes #19163)
Benjamin Peterson [Fri, 4 Oct 2013 14:55:15 +0000 (10:55 -0400)]
dict is also allowed (closes #19163)

11 years agoIssue #18037: 2to3 now escapes '\u' and '\U' in native strings.
Serhiy Storchaka [Thu, 3 Oct 2013 09:08:22 +0000 (12:08 +0300)]
Issue #18037: 2to3 now escapes '\u' and '\U' in native strings.

11 years agoIssue #19147: Fix docstring for fcntl.flock to refer to correct man section.
Ned Deily [Wed, 2 Oct 2013 19:20:18 +0000 (12:20 -0700)]
Issue #19147: Fix docstring for fcntl.flock to refer to correct man section.

11 years agoDrop buildbottouch again; the master is using "make touch" now.
Martin v. Löwis [Wed, 2 Oct 2013 15:03:05 +0000 (17:03 +0200)]
Drop buildbottouch again; the master is using "make touch" now.

11 years agoIssue #19137: The pprint module now correctly formats empty set and frozenset
Serhiy Storchaka [Wed, 2 Oct 2013 08:40:26 +0000 (11:40 +0300)]
Issue #19137: The pprint module now correctly formats empty set and frozenset
and instances of set and frozenset subclasses.

11 years ago2.6 merge
Barry Warsaw [Tue, 1 Oct 2013 15:39:08 +0000 (11:39 -0400)]
2.6 merge

11 years agoTypo caught by : Arfrever Frehtes Taifersar Arahesis.
Barry Warsaw [Tue, 1 Oct 2013 15:38:38 +0000 (11:38 -0400)]
Typo caught by : Arfrever Frehtes Taifersar Arahesis.

11 years agoMinor doc fix in urlparse.rst
Senthil Kumaran [Tue, 1 Oct 2013 05:10:44 +0000 (22:10 -0700)]
Minor doc fix in urlparse.rst

11 years agonull merge
Barry Warsaw [Tue, 1 Oct 2013 01:50:21 +0000 (21:50 -0400)]
null merge

11 years agopost release bump
Barry Warsaw [Tue, 1 Oct 2013 01:49:31 +0000 (21:49 -0400)]
post release bump

11 years ago2.6.9rc1 tag
Barry Warsaw [Tue, 1 Oct 2013 00:45:52 +0000 (20:45 -0400)]
2.6.9rc1 tag

11 years agoAdded tag v2.6.9rc1 for changeset a0025037f11a
Barry Warsaw [Tue, 1 Oct 2013 00:37:58 +0000 (20:37 -0400)]
Added tag v2.6.9rc1 for changeset a0025037f11a

11 years agoBump copyright years. v2.6.9rc1
Barry Warsaw [Tue, 1 Oct 2013 00:37:45 +0000 (20:37 -0400)]
Bump copyright years.

11 years agoBump to 2.6.9rc1
Barry Warsaw [Tue, 1 Oct 2013 00:34:29 +0000 (20:34 -0400)]
Bump to 2.6.9rc1

11 years agoRegenerate pydoc_topics.py
Barry Warsaw [Tue, 1 Oct 2013 00:31:56 +0000 (20:31 -0400)]
Regenerate pydoc_topics.py

11 years ago- Issue #16040: CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
Barry Warsaw [Mon, 30 Sep 2013 23:09:29 +0000 (19:09 -0400)]
- Issue #16040: CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
  prevent readline() calls from consuming too much memory.  Patch by Jyrki
  Pulliainen.

11 years ago- Issue #16040: CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
Barry Warsaw [Mon, 30 Sep 2013 22:35:15 +0000 (18:35 -0400)]
- Issue #16040: CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to
  prevent readline() calls from consuming too much memory.  Patch by Jyrki
  Pulliainen.

11 years agonull merge
Barry Warsaw [Mon, 30 Sep 2013 20:46:25 +0000 (16:46 -0400)]
null merge

11 years agoFix typo in NEWS file.
Barry Warsaw [Mon, 30 Sep 2013 20:45:40 +0000 (16:45 -0400)]
Fix typo in NEWS file.

11 years agoIssue #12641: Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
Antoine Pitrou [Mon, 30 Sep 2013 20:13:17 +0000 (22:13 +0200)]
Issue #12641: Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
Patch by Oscar Benjamin.

11 years agomerge heads
Barry Warsaw [Mon, 30 Sep 2013 19:58:28 +0000 (15:58 -0400)]
merge heads

11 years agonull merge
Barry Warsaw [Mon, 30 Sep 2013 19:57:29 +0000 (15:57 -0400)]
null merge

11 years ago- Issue #16041: CVE-2013-1752: poplib: Limit maximum line lengths to 2048 to
Barry Warsaw [Mon, 30 Sep 2013 19:56:29 +0000 (15:56 -0400)]
- Issue #16041: CVE-2013-1752: poplib: Limit maximum line lengths to 2048 to
  prevent readline() calls from consuming too much member.  Patch by Jyrki
  Pulliainen.

11 years agoAdd a "skull and crossbones" to Py_AddPendingCall.
Antoine Pitrou [Mon, 30 Sep 2013 19:35:44 +0000 (21:35 +0200)]
Add a "skull and crossbones" to Py_AddPendingCall.

11 years agoAdd fake buildbottouch target.
Martin v. Löwis [Mon, 30 Sep 2013 14:18:31 +0000 (16:18 +0200)]
Add fake buildbottouch target.

11 years agoCode improvement. Review comment by Eric V. Smith
Senthil Kumaran [Mon, 30 Sep 2013 01:57:42 +0000 (18:57 -0700)]
Code improvement. Review comment by Eric V. Smith

11 years agonull merge
Barry Warsaw [Sun, 29 Sep 2013 18:01:22 +0000 (14:01 -0400)]
null merge

11 years agonull merge
Barry Warsaw [Sun, 29 Sep 2013 18:00:06 +0000 (14:00 -0400)]
null merge

11 years ago- Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more
Barry Warsaw [Sun, 29 Sep 2013 17:59:06 +0000 (13:59 -0400)]
- Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more
  than 100 headers are read.  Adapted from patch by Jyrki Pulliainen.

11 years agoProperly initialize all fields of a SSL object after allocation.
Antoine Pitrou [Sun, 29 Sep 2013 17:52:45 +0000 (19:52 +0200)]
Properly initialize all fields of a SSL object after allocation.

11 years agoIssue #19112: avoid using function defined in method.
Richard Oudkerk [Sun, 29 Sep 2013 16:10:40 +0000 (17:10 +0100)]
Issue #19112: avoid using function defined in method.

11 years agoremove duplicate method (closes #19127)
Benjamin Peterson [Sun, 29 Sep 2013 15:15:31 +0000 (11:15 -0400)]
remove duplicate method (closes #19127)

11 years agocondense two tests with the same name (closes #19114)
Benjamin Peterson [Sun, 29 Sep 2013 15:13:27 +0000 (11:13 -0400)]
condense two tests with the same name (closes #19114)

11 years agomove helper function into its test method (closes #19112)
Benjamin Peterson [Sun, 29 Sep 2013 15:08:04 +0000 (11:08 -0400)]
move helper function into its test method (closes #19112)

11 years agoIssue #4366: Fix building extensions on all platforms when --enable-shared is used.
Antoine Pitrou [Sat, 28 Sep 2013 23:48:40 +0000 (01:48 +0200)]
Issue #4366: Fix building extensions on all platforms when --enable-shared is used.

11 years agofix duplicate test names (closes #19115)
Benjamin Peterson [Sat, 28 Sep 2013 19:12:37 +0000 (15:12 -0400)]
fix duplicate test names (closes #19115)

Patch by Xavier de Gaye.

11 years agoIssue #18950: Fix miscellaneous bugs in the sunau module.
Serhiy Storchaka [Sat, 28 Sep 2013 18:31:36 +0000 (21:31 +0300)]
Issue #18950: Fix miscellaneous bugs in the sunau module.
Au_read.readframes() now updates current file position and reads correct
number of frames from multichannel stream.  Au_write.writeframesraw() now
correctly updates current file position.  Au_read and Au_write now correctly
work with file object if start file position is not a zero.

11 years agonull merge
Barry Warsaw [Wed, 25 Sep 2013 14:42:27 +0000 (10:42 -0400)]
null merge

11 years ago- Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read by
Barry Warsaw [Wed, 25 Sep 2013 13:36:58 +0000 (09:36 -0400)]
- 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.

with test fixes by Serhiy Storchaka.

11 years agonull merge
Barry Warsaw [Sun, 22 Sep 2013 20:26:09 +0000 (16:26 -0400)]
null merge

11 years ago- Issue #16039: CVE-2013-1752: Change use of readline in imaplib module to
Barry Warsaw [Sun, 22 Sep 2013 20:07:09 +0000 (16:07 -0400)]
- Issue #16039: CVE-2013-1752: Change use of readline in imaplib module to
  limit line length.  Patch by Emil Lind.

11 years agoCloses #19043: remove detailed listing of versions from license files
Georg Brandl [Sun, 22 Sep 2013 09:45:02 +0000 (11:45 +0200)]
Closes #19043: remove detailed listing of versions from license files

Since all versions since 2.2 are under the same licensing terms,
this saves the release manager from touching the two files for
every new minor release.

11 years agoCloses #19061: make shelve security warning consistent between 2.x and 3.x.
Georg Brandl [Sun, 22 Sep 2013 09:43:10 +0000 (11:43 +0200)]
Closes #19061: make shelve security warning consistent between 2.x and 3.x.

11 years agoThis check can still fail on RHEL6
Nick Coghlan [Sun, 22 Sep 2013 09:36:09 +0000 (19:36 +1000)]
This check can still fail on RHEL6

11 years agoIssue #18050: Fixed an incompatibility of the re module with Python 2.7.3
Serhiy Storchaka [Fri, 20 Sep 2013 18:25:53 +0000 (21:25 +0300)]
Issue #18050: Fixed an incompatibility of the re module with Python 2.7.3
and older binaries.

11 years agoMerge #14984: only import pwd on POSIX.
R David Murray [Wed, 18 Sep 2013 12:50:11 +0000 (08:50 -0400)]
Merge #14984: only import pwd on POSIX.

11 years ago#14984: only import pwd on POSIX.
R David Murray [Wed, 18 Sep 2013 12:49:25 +0000 (08:49 -0400)]
#14984: only import pwd on POSIX.

11 years ago#19037: adjust file times *before* moving maildir files into place.
R David Murray [Wed, 18 Sep 2013 12:35:45 +0000 (08:35 -0400)]
#19037: adjust file times *before* moving maildir files into place.

This avoids race conditions when other programs are monitoring
the maildir directory.  Patch by janzert.

11 years agoMerge: Add versionchanged for #14984, remove extra blank from string.
R David Murray [Wed, 18 Sep 2013 00:10:23 +0000 (20:10 -0400)]
Merge: Add versionchanged for #14984, remove extra blank from string.