]>
granicus.if.org Git - python/log
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.
Georg Brandl [Sun, 6 Oct 2013 18:46:08 +0000 (20:46 +0200)]
Extending example: use Py_RETURN_NONE
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@.
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@.
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@.
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@.
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@.
Georg Brandl [Sun, 6 Oct 2013 17:14:35 +0000 (19:14 +0200)]
Fix typo in function name.
Georg Brandl [Sun, 6 Oct 2013 17:02:08 +0000 (19:02 +0200)]
Closes #15432: GzipFile mtime argument is new in 3.1.
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
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.
Georg Brandl [Sun, 6 Oct 2013 16:43:19 +0000 (18:43 +0200)]
Closes #15213: update comment for _PyOS_URandom
Georg Brandl [Sun, 6 Oct 2013 16:36:34 +0000 (18:36 +0200)]
Closes #17725: small grammar fix.
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.
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.
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.
Georg Brandl [Sun, 6 Oct 2013 16:11:32 +0000 (18:11 +0200)]
Closes #12350: clarify blocks/block size members of stat result.
Georg Brandl [Sun, 6 Oct 2013 11:24:49 +0000 (13:24 +0200)]
Fix typo. Spotted by Bo Bayles 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@.
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@.
Georg Brandl [Sun, 6 Oct 2013 11:14:10 +0000 (13:14 +0200)]
Minor improvement: add indication that the main function goes on.
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@.
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.
Georg Brandl [Sun, 6 Oct 2013 11:01:19 +0000 (13:01 +0200)]
Add missing list methods. Found by Leonardo Pereira 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@.
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@.
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@.
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@.
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@.
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@.
Georg Brandl [Sun, 6 Oct 2013 10:33:20 +0000 (12:33 +0200)]
Fix typo.
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.
Georg Brandl [Sun, 6 Oct 2013 09:57:13 +0000 (11:57 +0200)]
Fix small grammar mistake.
Georg Brandl [Sun, 6 Oct 2013 09:12:29 +0000 (11:12 +0200)]
Fix missing period.
Georg Brandl [Sun, 6 Oct 2013 09:08:24 +0000 (11:08 +0200)]
Fix wrong Python highlighting in directory hierarchy code block.
Georg Brandl [Sun, 6 Oct 2013 09:02:38 +0000 (11:02 +0200)]
Small clarification in extending docs.
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.
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.
Georg Brandl [Sun, 6 Oct 2013 08:28:39 +0000 (10:28 +0200)]
Use "lambda expression" as preferred to "lambda form".
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.
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@).
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.
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
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@)
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.
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.
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@)
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@)
Georg Brandl [Sun, 6 Oct 2013 07:17:43 +0000 (09:17 +0200)]
Fix "customer timer" -> "custom timer" (reported by Kirk Strauser on docs@)
Georg Brandl [Sun, 6 Oct 2013 07:11:14 +0000 (09:11 +0200)]
Fix ZeroDivisionError message (reported by Pavel Fedotov on docs@)
Raymond Hettinger [Sun, 6 Oct 2013 05:11:16 +0000 (22:11 -0700)]
Issue 14927: Remove a docstring line that is no longer applicable.
Raymond Hettinger [Sun, 6 Oct 2013 04:48:21 +0000 (21:48 -0700)]
Minor clean-up of function parameters in random().
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 .
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.
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.
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.
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.
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.
Jesus Cea [Fri, 4 Oct 2013 02:20:37 +0000 (04:20 +0200)]
Close #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
Eric Snow [Thu, 3 Oct 2013 21:03:29 +0000 (15:03 -0600)]
[issue19152] Revert
832579dbafd6 .
Eric Snow [Thu, 3 Oct 2013 20:37:55 +0000 (14:37 -0600)]
Fix typo.
Eric Snow [Thu, 3 Oct 2013 18:08:55 +0000 (12:08 -0600)]
[issue19152] Add ExtensionFileLoader.get_filename().
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.
Antoine Pitrou [Thu, 3 Oct 2013 17:55:41 +0000 (19:55 +0200)]
Issue #19014: memoryview.cast() is now allowed on zero-length views.
Serhiy Storchaka [Thu, 3 Oct 2013 09:08:38 +0000 (12:08 +0300)]
Issue #18037: 2to3 now escapes '\u' and '\U' in native strings.
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.
Martin v. Löwis [Wed, 2 Oct 2013 14:59:23 +0000 (16:59 +0200)]
Drop buildbottouch again; the master is using "make touch" now.
Serhiy Storchaka [Wed, 2 Oct 2013 08:40:49 +0000 (11:40 +0300)]
Issue #19137: The pprint module now correctly formats instances of set and
frozenset subclasses.
Raymond Hettinger [Wed, 2 Oct 2013 04:36:09 +0000 (21:36 -0700)]
Issue #18594: Fix the fallback path in collections.Counter().
Nick Coghlan [Tue, 1 Oct 2013 13:24:56 +0000 (23:24 +1000)]
Close #19092: ExitStack now reraises exceptions from __exit__
Report and patch by Hrvoje Nikšić
Raymond Hettinger [Tue, 1 Oct 2013 07:55:43 +0000 (00:55 -0700)]
Issue #18594: Fix the fast path for collections.Counter().
The path wasn't being taken due to an over-restrictive type check.
Senthil Kumaran [Tue, 1 Oct 2013 05:12:16 +0000 (22:12 -0700)]
Minor doc fix in urllib.parse.rst
Antoine Pitrou [Mon, 30 Sep 2013 20:28:10 +0000 (22:28 +0200)]
Issue #12641: Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
Patch by Oscar Benjamin.
Antoine Pitrou [Mon, 30 Sep 2013 19:35:44 +0000 (21:35 +0200)]
Add a "skull and crossbones" to Py_AddPendingCall.
Martin v. Löwis [Mon, 30 Sep 2013 14:21:44 +0000 (16:21 +0200)]
Issue #19106: Add buildbottouch target.
Martin v. Löwis [Mon, 30 Sep 2013 14:09:44 +0000 (16:09 +0200)]
Issue #19106: Touch generated files to be 1s newer than their youngest source.
Senthil Kumaran [Mon, 30 Sep 2013 01:59:04 +0000 (18:59 -0700)]
Minor code improvement. Review comment by Eric V. Smith
Benjamin Peterson [Sun, 29 Sep 2013 18:56:10 +0000 (14:56 -0400)]
merge heads
Benjamin Peterson [Sun, 29 Sep 2013 18:49:17 +0000 (14:49 -0400)]
remove unused imports
Antoine Pitrou [Sun, 29 Sep 2013 17:52:45 +0000 (19:52 +0200)]
Properly initialize all fields of a SSL object after allocation.
Christian Heimes [Sun, 29 Sep 2013 17:10:07 +0000 (19:10 +0200)]
Issue #19130: mention historic VS 2008 build dir, too
Christian Heimes [Sun, 29 Sep 2013 17:02:35 +0000 (19:02 +0200)]
Issue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010
Richard Oudkerk [Sun, 29 Sep 2013 16:29:56 +0000 (17:29 +0100)]
Issue #19112: avoid using function defined in method.
Benjamin Peterson [Sun, 29 Sep 2013 15:15:31 +0000 (11:15 -0400)]
remove duplicate method (closes #19127)
Benjamin Peterson [Sun, 29 Sep 2013 15:13:27 +0000 (11:13 -0400)]
condense two tests with the same name (closes #19114)
Benjamin Peterson [Sun, 29 Sep 2013 15:08:04 +0000 (11:08 -0400)]
move helper function into its test method (closes #19112)
Benjamin Peterson [Sun, 29 Sep 2013 14:53:49 +0000 (10:53 -0400)]
fix duplicate test names in test_dis (closes #19117)
Benjamin Peterson [Sun, 29 Sep 2013 14:51:00 +0000 (10:51 -0400)]
remove duplicate test_mkd (closes #19118)
Benjamin Peterson [Sun, 29 Sep 2013 14:50:15 +0000 (10:50 -0400)]
combine two tests to avoid duplicate names (closes #19116)
Benjamin Peterson [Sun, 29 Sep 2013 14:48:19 +0000 (10:48 -0400)]
fix duplicate test name (closes #19126)
Benjamin Peterson [Sun, 29 Sep 2013 14:46:31 +0000 (10:46 -0400)]
fix test to run and test that smtpd does support ELHO (closes #19125)
Benjamin Peterson [Sun, 29 Sep 2013 14:01:40 +0000 (10:01 -0400)]
remove duplicate test from test_import (closes #19122)
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.
Benjamin Peterson [Sat, 28 Sep 2013 19:12:37 +0000 (15:12 -0400)]
fix duplicate test names (closes #19115)
Patch by Xavier de Gaye.
Serhiy Storchaka [Sat, 28 Sep 2013 18:21:39 +0000 (21:21 +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.getnframes() now returns an
integer (as in Python 2). Au_read and Au_write now correctly works with file
object if start file position is not a zero.
Serhiy Storchaka [Fri, 27 Sep 2013 19:11:57 +0000 (22:11 +0300)]
Issue #19053: ZipExtFile.read1() with non-zero argument no more returns empty
bytes until end of data.
Benjamin Peterson [Fri, 27 Sep 2013 13:11:21 +0000 (09:11 -0400)]
let this work with system Python 2.5
Benjamin Peterson [Fri, 27 Sep 2013 03:42:53 +0000 (23:42 -0400)]
fix my absurd spelling
Benjamin Peterson [Fri, 27 Sep 2013 02:17:45 +0000 (22:17 -0400)]
don't scale compiler stack frames if the recursion limit is huge (closes #19098)