]> granicus.if.org Git - python/log
python
11 years agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 10:42:40 +0000 (12:42 +0200)]
merge with 3.3

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 agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 10:38:57 +0000 (12:38 +0200)]
merge with 3.3

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 agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 10:37:21 +0000 (12:37 +0200)]
merge with 3.3

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 agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 10:33:31 +0000 (12:33 +0200)]
merge with 3.3

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

11 years agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 10:08:58 +0000 (12:08 +0200)]
merge with 3.3

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 agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 09:57:23 +0000 (11:57 +0200)]
merge with 3.3

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 agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 09:12:39 +0000 (11:12 +0200)]
merge with 3.3

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

11 years agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 09:09:02 +0000 (11:09 +0200)]
merge with 3.3

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 agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 09:02:46 +0000 (11:02 +0200)]
merge with 3.3

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 agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 08:51:07 +0000 (10:51 +0200)]
merge with 3.3

11 years agoCloses #13951: Add a "faulthandler" reference in the ctypes docs talking about crashes.
Georg Brandl [Sun, 6 Oct 2013 08:51:01 +0000 (10:51 +0200)]
Closes #13951: Add a "faulthandler" reference in the ctypes docs talking about crashes.

11 years agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 08:48:48 +0000 (10:48 +0200)]
merge with 3.3

11 years agomerge heads
Georg Brandl [Sun, 6 Oct 2013 08:48:28 +0000 (10:48 +0200)]
merge heads

11 years agoCloses #18927: Lock.acquire only accepts -1 or positive values for timeout.
Georg Brandl [Sun, 6 Oct 2013 08:48:08 +0000 (10:48 +0200)]
Closes #18927: Lock.acquire only accepts -1 or positive values for timeout.

11 years agoIssue #18972: Modernize email examples and use the argparse module in them.
Serhiy Storchaka [Sun, 6 Oct 2013 08:45:25 +0000 (11:45 +0300)]
Issue #18972: Modernize email examples and use the argparse module in them.

11 years agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 08:28:48 +0000 (10:28 +0200)]
merge with 3.3

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

11 years agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 08:22:54 +0000 (10:22 +0200)]
merge with 3.3

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 agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 08:11:48 +0000 (10:11 +0200)]
merge with 3.3

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 agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 08:04:49 +0000 (10:04 +0200)]
merge with 3.3

11 years agocurses HOWTO: fix some PEP8 and a code example to actually raise the exception it...
Georg Brandl [Sun, 6 Oct 2013 08:04:21 +0000 (10:04 +0200)]
curses HOWTO: fix some PEP8 and a code example to actually raise the exception it promises.

11 years agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 07:53:11 +0000 (09:53 +0200)]
merge with 3.3

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 agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 07:50:49 +0000 (09:50 +0200)]
merge with 3.3

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 agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 07:49:18 +0000 (09:49 +0200)]
merge with 3.3

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:47 +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 agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 07:42:52 +0000 (09:42 +0200)]
merge with 3.3

11 years agoRemove newline in method that makes it possible to copy example to the interactive...
Georg Brandl [Sun, 6 Oct 2013 07:42:46 +0000 (09:42 +0200)]
Remove newline in method that makes it possible to copy example to the interactive interpreter.

11 years agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 07:32:15 +0000 (09:32 +0200)]
merge with 3.3

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 agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 07:23:19 +0000 (09:23 +0200)]
merge with 3.3

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 agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 07:17:52 +0000 (09:17 +0200)]
merge with 3.3

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 agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 07:17:07 +0000 (09:17 +0200)]
merge with 3.3

11 years agoFix ZeroDivisionError message (reported by Pavel Fedotov on docs@)
Georg Brandl [Sun, 6 Oct 2013 07:11:14 +0000 (09:11 +0200)]
Fix ZeroDivisionError message (reported by Pavel Fedotov on docs@)

11 years agomerge
Raymond Hettinger [Sun, 6 Oct 2013 05:11:43 +0000 (22:11 -0700)]
merge

11 years agoIssue 14927: Remove a docstring line that is no longer applicable.
Raymond Hettinger [Sun, 6 Oct 2013 05:11:16 +0000 (22:11 -0700)]
Issue 14927: Remove a docstring line that is no longer applicable.

11 years agoMinor clean-up of function parameters in random().
Raymond Hettinger [Sun, 6 Oct 2013 04:52:06 +0000 (21:52 -0700)]
Minor clean-up of function parameters in random().

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

11 years agomerge
Raymond Hettinger [Sun, 6 Oct 2013 00:20:18 +0000 (17:20 -0700)]
merge

11 years agoIssue #19169: Micro refactoring with a micro benefit for brevity and speed.
Raymond Hettinger [Sun, 6 Oct 2013 00:18:36 +0000 (17:18 -0700)]
Issue #19169:  Micro refactoring with a micro benefit for brevity and speed.

11 years agoStrengthen one of the collections.Counter() tests
Raymond Hettinger [Sun, 6 Oct 2013 00:14:51 +0000 (17:14 -0700)]
Strengthen one of the collections.Counter() tests

11 years agoIssue #19171: speed some cases of 3-argument long pow().
Tim Peters [Sat, 5 Oct 2013 21:55:38 +0000 (16:55 -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.

Merged from 3.3.

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.

11 years ago#19069: merge with 3.3.
Ezio Melotti [Sat, 5 Oct 2013 21:46:58 +0000 (00:46 +0300)]
#19069: merge with 3.3.

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

11 years ago#19068: merge with 3.3.
Ezio Melotti [Sat, 5 Oct 2013 21:39:44 +0000 (00:39 +0300)]
#19068: merge with 3.3.

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#19067: merge with 3.3.
Ezio Melotti [Sat, 5 Oct 2013 21:38:19 +0000 (00:38 +0300)]
#19067: merge with 3.3.

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

11 years agofix comment
Benjamin Peterson [Sat, 5 Oct 2013 20:28:04 +0000 (16:28 -0400)]
fix comment

11 years agoHopefully fix Windows compilation error following 499a96611baa
Antoine Pitrou [Sat, 5 Oct 2013 19:24:10 +0000 (21:24 +0200)]
Hopefully fix Windows compilation error following 499a96611baa

11 years agoIssue #19087: Improve bytearray allocation in order to allow cheap popping of data...
Antoine Pitrou [Sat, 5 Oct 2013 19:12:18 +0000 (21:12 +0200)]
Issue #19087: Improve bytearray allocation in order to allow cheap popping of data at the front (slice deletion).

11 years ago[issue 19152] Add versionadded for ExtensionFileLoader.get_filename().
Eric Snow [Sat, 5 Oct 2013 02:35:34 +0000 (20:35 -0600)]
[issue 19152] Add versionadded for ExtensionFileLoader.get_filename().

11 years ago[issue 19152] Ensure we have actually registered ExtensionFileLoader as an ExecutionL...
Eric Snow [Sat, 5 Oct 2013 02:28:52 +0000 (20:28 -0600)]
[issue 19152] Ensure we have actually registered ExtensionFileLoader as an ExecutionLoader.

11 years agoAdd missing comma.
Ezio Melotti [Sat, 5 Oct 2013 01:26:06 +0000 (04:26 +0300)]
Add missing comma.

11 years ago#19148: fix markup errors and wording in enum docs. Patch by Esa Peuha.
Ezio Melotti [Sat, 5 Oct 2013 01:13:18 +0000 (04:13 +0300)]
#19148: fix markup errors and wording in enum docs.  Patch by Esa Peuha.

11 years ago#19166: merge with 3.3.
Ezio Melotti [Sat, 5 Oct 2013 00:14:13 +0000 (03:14 +0300)]
#19166: merge with 3.3.

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

11 years agomerge
Raymond Hettinger [Fri, 4 Oct 2013 23:52:39 +0000 (16:52 -0700)]
merge

11 years agoIssue #18594: Make the C code more closely match the pure python code.
Raymond Hettinger [Fri, 4 Oct 2013 23:51:02 +0000 (16:51 -0700)]
Issue #18594:  Make the C code more closely match the pure python code.

11 years agoIssue #16803: Run test.test_importlib.test_abc under both
Brett Cannon [Fri, 4 Oct 2013 18:47:14 +0000 (14:47 -0400)]
Issue #16803: Run test.test_importlib.test_abc under both
_frozen_importlib and source.

11 years agoIssue #18716: Deprecate the formatter module
Brett Cannon [Fri, 4 Oct 2013 15:38:59 +0000 (11:38 -0400)]
Issue #18716: Deprecate the formatter module

11 years agoMERGE: Close #19160: Inconsistent size for GIL release in hashlib
Jesus Cea [Fri, 4 Oct 2013 02:21:02 +0000 (04:21 +0200)]
MERGE: Close #19160: Inconsistent size for GIL release in hashlib

11 years agoClose #19160: Inconsistent size for GIL release in hashlib
Jesus Cea [Fri, 4 Oct 2013 02:20:37 +0000 (04:20 +0200)]
Close #19160: Inconsistent size for GIL release in hashlib

11 years agoMERGE: Close #19160: Inconsistent size for GIL release in hashlib
Jesus Cea [Fri, 4 Oct 2013 02:15:48 +0000 (04:15 +0200)]
MERGE: Close #19160: Inconsistent size for GIL release in hashlib

11 years agoClose #19160: Inconsistent size for GIL release in hashlib
Jesus Cea [Fri, 4 Oct 2013 02:15:06 +0000 (04:15 +0200)]
Close #19160: Inconsistent size for GIL release in hashlib

11 years agoNull merge with 3.3.
Eric Snow [Thu, 3 Oct 2013 21:16:03 +0000 (15:16 -0600)]
Null merge with 3.3.

11 years ago[issue19152] Revert 832579dbafd6.
Eric Snow [Thu, 3 Oct 2013 21:03:29 +0000 (15:03 -0600)]
[issue19152] Revert 832579dbafd6.

11 years agoFix typo.
Eric Snow [Thu, 3 Oct 2013 20:39:39 +0000 (14:39 -0600)]
Fix typo.

11 years agoFix typo.
Eric Snow [Thu, 3 Oct 2013 20:37:55 +0000 (14:37 -0600)]
Fix typo.

11 years agoMerge
Eric Snow [Thu, 3 Oct 2013 19:49:12 +0000 (13:49 -0600)]
Merge

11 years agoNull merge with 3.3.
Eric Snow [Thu, 3 Oct 2013 19:34:40 +0000 (13:34 -0600)]
Null merge with 3.3.

11 years agoRemove builtin "caching" in pprint
Antoine Pitrou [Thu, 3 Oct 2013 19:29:36 +0000 (21:29 +0200)]
Remove builtin "caching" in pprint

11 years ago[issue19151] Fix issue number in Misc/NEWS entry.
Eric Snow [Thu, 3 Oct 2013 18:45:04 +0000 (12:45 -0600)]
[issue19151] Fix issue number in Misc/NEWS entry.

11 years ago[issue19152] Add ExtensionFileLoader.get_filename().
Eric Snow [Thu, 3 Oct 2013 18:08:55 +0000 (12:08 -0600)]
[issue19152] Add ExtensionFileLoader.get_filename().

11 years ago[issue19152] Add ExtensionFileLoader.get_filename().
Eric Snow [Thu, 3 Oct 2013 18:08:55 +0000 (12:08 -0600)]
[issue19152] Add ExtensionFileLoader.get_filename().

11 years ago[issue19151] Fix docstring and use of _get_suppported_file_loaders() to reflect 2...
Eric Snow [Thu, 3 Oct 2013 18:08:55 +0000 (12:08 -0600)]
[issue19151] Fix docstring and use of _get_suppported_file_loaders() to reflect 2-tuples.

11 years ago[issue19951] Fix docstring and use of _get_suppported_file_loaders() to reflect 2...
Eric Snow [Thu, 3 Oct 2013 18:08:55 +0000 (12:08 -0600)]
[issue19951] Fix docstring and use of _get_suppported_file_loaders() to reflect 2-tuples.

11 years agoIssue #19014: memoryview.cast() is now allowed on zero-length views.
Antoine Pitrou [Thu, 3 Oct 2013 17:56:54 +0000 (19:56 +0200)]
Issue #19014: memoryview.cast() is now allowed on zero-length views.

11 years agoIssue #19014: memoryview.cast() is now allowed on zero-length views.
Antoine Pitrou [Thu, 3 Oct 2013 17:55:41 +0000 (19:55 +0200)]
Issue #19014: memoryview.cast() is now allowed on zero-length views.

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

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

11 years agoIssue #19147: merge from 3.3
Ned Deily [Wed, 2 Oct 2013 19:22:05 +0000 (12:22 -0700)]
Issue #19147: merge from 3.3

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

11 years agoIssue #19132: Add versionchanged tags.
Serhiy Storchaka [Wed, 2 Oct 2013 18:40:21 +0000 (21:40 +0300)]
Issue #19132: Add versionchanged tags.

11 years agoUse cached builtins.
Serhiy Storchaka [Wed, 2 Oct 2013 16:15:54 +0000 (19:15 +0300)]
Use cached builtins.