]> granicus.if.org Git - python/log
python
11 years agoFix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at least one...
Antoine Pitrou [Mon, 7 Oct 2013 18:40:59 +0000 (20:40 +0200)]
Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at least one place so as to avoid regressions.

11 years agoFix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at least one...
Antoine Pitrou [Mon, 7 Oct 2013 18:38:51 +0000 (20:38 +0200)]
Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at least one place so as to avoid regressions.

11 years agoClose #19156: add tests and fix for Enum helper edge cases. Patch from CliffM.
Ethan Furman [Mon, 7 Oct 2013 00:19:54 +0000 (17:19 -0700)]
Close #19156: add tests and fix for Enum helper edge cases.  Patch from CliffM.

11 years agotest_import.test_module_with_large_stack(): unload the test module
Victor Stinner [Sun, 6 Oct 2013 20:52:37 +0000 (22:52 +0200)]
test_import.test_module_with_large_stack(): unload the test module

Ensure that the module is unloaded to be able to run the test more than once,
and to not leak memory.

11 years agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 19:23:26 +0000 (21:23 +0200)]
merge with 3.3

11 years agoCloses #1215: document better why it is not a good idea to catch e.g. SIGSEGV and...
Georg Brandl [Sun, 6 Oct 2013 19:22:42 +0000 (21:22 +0200)]
Closes #1215: document better why it is not a good idea to catch e.g. SIGSEGV and refer to faulthandler.

Patch by Martin Pool.

11 years agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 18:46:15 +0000 (20:46 +0200)]
merge with 3.3

11 years agoExtending example: use Py_RETURN_NONE
Georg Brandl [Sun, 6 Oct 2013 18:46:08 +0000 (20:46 +0200)]
Extending example: use Py_RETURN_NONE

11 years agoIssue #19182: Fixed socket leak on exception when connecting.
Vinay Sajip [Sun, 6 Oct 2013 17:36:00 +0000 (18:36 +0100)]
Issue #19182: Fixed socket leak on exception when connecting.

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

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

11 years agoFix name of the "exist_ok" argument. Found by Neil Bushong on docs@.
Georg Brandl [Sun, 6 Oct 2013 17:27:13 +0000 (19:27 +0200)]
Fix name of the "exist_ok" argument. Found by Neil Bushong on docs@.

11 years agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 17:24:00 +0000 (19:24 +0200)]
merge with 3.3

11 years agoFix: >= and so on are usually called "comparison operators", not "logical operators...
Georg Brandl [Sun, 6 Oct 2013 17:23:57 +0000 (19:23 +0200)]
Fix: >= and so on are usually called "comparison operators", not "logical operators". Found by Tom Kalt on docs@.

11 years agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 17:21:20 +0000 (19:21 +0200)]
merge with 3.3

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

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

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

11 years agoCloses #15432: GzipFile mtime argument is new in 3.1.
Georg Brandl [Sun, 6 Oct 2013 17:02:08 +0000 (19:02 +0200)]
Closes #15432: GzipFile mtime argument is new in 3.1.

11 years agomerge with 3.3
Georg Brandl [Sun, 6 Oct 2013 16:58:03 +0000 (18:58 +0200)]
merge with 3.3

11 years agoCloses #15228: remove reference to Unix "touch"; it is confusing since the path needs...
Georg Brandl [Sun, 6 Oct 2013 16:57:49 +0000 (18:57 +0200)]
Closes #15228: remove reference to Unix "touch"; it is confusing since the path needs to exist for os.utime() to succeed

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

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

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

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

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

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

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

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

11 years agoFix typo. Spotted by Bo Bayles on docs@.
Georg Brandl [Sun, 6 Oct 2013 11:24:49 +0000 (13:24 +0200)]
Fix typo. Spotted by Bo Bayles on docs@.

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

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

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

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

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

11 years agoUnicode howto: use .txt as a more universally understood extension for text files.
Georg Brandl [Sun, 6 Oct 2013 11:07:10 +0000 (13:07 +0200)]
Unicode howto: use .txt as a more universally understood extension for text files.

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

11 years agoAdd missing list methods. Found by Leonardo Pereira on docs@.
Georg Brandl [Sun, 6 Oct 2013 11:01:19 +0000 (13:01 +0200)]
Add missing list methods. Found by Leonardo Pereira on docs@.

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

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

11 years agoFix method name: ensure_directories, not create_directories. Found by Michael Rand...
Georg Brandl [Sun, 6 Oct 2013 10:52:49 +0000 (12:52 +0200)]
Fix method name: ensure_directories, not create_directories. Found by Michael Rand on docs@.

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

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 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