]>
granicus.if.org Git - python/log
R David Murray [Wed, 15 Aug 2012 14:43:58 +0000 (10:43 -0400)]
#15543: glossary entry for and 'universal newlines', and links to it.
Patch by Chris Jerdonek.
Eli Bendersky [Wed, 15 Aug 2012 11:50:52 +0000 (14:50 +0300)]
merge heads in 3.2 branch
Eli Bendersky [Wed, 15 Aug 2012 11:49:49 +0000 (14:49 +0300)]
Issue #15656: fixing code sample in extending doc
Petri Lehtinen [Wed, 15 Aug 2012 11:00:40 +0000 (14:00 +0300)]
#11062: Fix adding a message from file to Babyl mailbox
R David Murray [Wed, 15 Aug 2012 01:40:13 +0000 (21:40 -0400)]
#15269: document dircmp.left and right, and add tests for them.
Patch by Chris Jerdonek.
Sandro Tosi [Tue, 14 Aug 2012 17:51:43 +0000 (19:51 +0200)]
fix typo
Andrew Svetlov [Tue, 14 Aug 2012 15:41:40 +0000 (18:41 +0300)]
Merge 3.2
Andrew Svetlov [Tue, 14 Aug 2012 15:35:17 +0000 (18:35 +0300)]
Add test to explicit check the absence regression in subprocess (issue #15592).
Patch by Chris Jerdonek.
Matthias Klose [Tue, 14 Aug 2012 15:29:04 +0000 (17:29 +0200)]
Modules/socketmodule.c: netdb_lock: define static.
Andrew Svetlov [Tue, 14 Aug 2012 12:38:15 +0000 (15:38 +0300)]
Issue #14167: Document return statement in finally blocks.
Patch by Yury Selivanov.
Richard Oudkerk [Tue, 14 Aug 2012 10:41:32 +0000 (11:41 +0100)]
Issue #15646: Prevent equivalent of a fork bomb when using multiprocessing
on Windows without the "if __name__ == '__main__'" idiom.
Georg Brandl [Tue, 14 Aug 2012 07:39:07 +0000 (09:39 +0200)]
Restore original line lengths.
Brian Curtin [Mon, 13 Aug 2012 22:05:57 +0000 (17:05 -0500)]
Fix #15496. Add directory removal helpers to make Windows tests more reliable. Patch by Jeremy Kloth
Andrew Svetlov [Mon, 13 Aug 2012 20:22:23 +0000 (23:22 +0300)]
Issue #15497: Correct characters in TextWrapper.replace_whitespace docs.
Patch by Chris Jerdonek.
Andrew Svetlov [Mon, 13 Aug 2012 19:09:04 +0000 (22:09 +0300)]
Issue #15561: Update subprocess docs to reference io.TextIOWrapper.
Patch by Chris Jerdonek.
Andrew Svetlov [Mon, 13 Aug 2012 09:58:02 +0000 (12:58 +0300)]
Issue #15624: clarify newline documentation for open and io.TextIOWrapper
Thanks to Chris Jerdonek
Senthil Kumaran [Sun, 12 Aug 2012 19:01:47 +0000 (12:01 -0700)]
Issue #15630: Add an example for "continue" statement in the tutorial. Patch by
Daniel Ellis.
Sandro Tosi [Sun, 12 Aug 2012 15:34:00 +0000 (17:34 +0200)]
add usage example from cli; thanks to Christian Clauss from docs@
Sandro Tosi [Sun, 12 Aug 2012 13:35:25 +0000 (15:35 +0200)]
escape '\'; thanks to Steve Holden from docs@
Sandro Tosi [Sun, 12 Aug 2012 13:12:15 +0000 (15:12 +0200)]
it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@
Sandro Tosi [Sun, 12 Aug 2012 10:35:14 +0000 (12:35 +0200)]
add missing quote in splitlines() example; thanks to Yevgen Yampolskiy from docs@
Sandro Tosi [Sun, 12 Aug 2012 09:02:03 +0000 (11:02 +0200)]
update Geany URL; thanks to Karl Tarbet from docs@
Sandro Tosi [Sun, 12 Aug 2012 08:49:26 +0000 (10:49 +0200)]
add missing parenthesis to 'action' argparse doc; thanks to kishkin from docs@
Sandro Tosi [Sun, 12 Aug 2012 08:24:50 +0000 (10:24 +0200)]
zip() returns an iterator, make a list() of it; thanks to Martin from docs@
Antoine Pitrou [Sat, 11 Aug 2012 14:51:50 +0000 (16:51 +0200)]
Issue #15444: Use proper spelling for non-ASCII contributor names.
Patch by Serhiy Storchaka.
Georg Brandl [Sat, 11 Aug 2012 09:16:18 +0000 (11:16 +0200)]
Remove unused variables in parsetok().
Georg Brandl [Sat, 11 Aug 2012 09:02:14 +0000 (11:02 +0200)]
Revert
961a15aff2a6 , this is already checked in another way.
Georg Brandl [Sat, 11 Aug 2012 08:59:23 +0000 (10:59 +0200)]
Closes #15620: check for presence of readline.clear_history(), which is apparently missing on some readline versions, before calling it in the test.
Meador Inge [Sat, 11 Aug 2012 03:35:45 +0000 (22:35 -0500)]
Issue #15424: Add a __sizeof__ implementation for array objects.
Patch by Ludwig Hähne.
Andrew Svetlov [Thu, 9 Aug 2012 18:26:34 +0000 (21:26 +0300)]
fix docs for c-api memory functions
Andrew Svetlov [Thu, 9 Aug 2012 12:20:45 +0000 (15:20 +0300)]
Issue #15501: Document exception classes in subprocess module.
Initial patch by Anton Barkovsky.
Ned Deily [Thu, 9 Aug 2012 03:57:24 +0000 (20:57 -0700)]
Issue #14992: Prevent test_os test_exist_ok_s_isgid_directory test case
failure on OS X built with 10.4 ABI.
R David Murray [Mon, 6 Aug 2012 20:08:09 +0000 (16:08 -0400)]
#15554: clarify splitlines/split differences.
Patch by Chris Jerdonek.
Brett Cannon [Mon, 6 Aug 2012 00:46:25 +0000 (20:46 -0400)]
Issue #15482: Properly document the default 'level' parameter for
__import__().
To help explain why the -1 default value is typically not seen, a note
about how import statements only use values of >= 0 is also noted.
Ned Deily [Sun, 5 Aug 2012 21:56:21 +0000 (14:56 -0700)]
Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.
Antoine Pitrou [Sun, 5 Aug 2012 12:52:45 +0000 (14:52 +0200)]
Fix CGI tests to take into account the platform's line ending (issue #13119)
Antoine Pitrou [Sat, 4 Aug 2012 22:23:40 +0000 (00:23 +0200)]
Fix universal newlines test to avoid the newline translation done by sys.stdout.
Antoine Pitrou [Sat, 4 Aug 2012 22:15:06 +0000 (00:15 +0200)]
Fix test_sys under Windows (issue #13119)
Andrew Svetlov [Sat, 4 Aug 2012 18:38:22 +0000 (21:38 +0300)]
Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
Patch by Roger Serwy.
Sandro Tosi [Sat, 4 Aug 2012 17:42:24 +0000 (19:42 +0200)]
add missing period; thanks to Gaston Fiore from docs@
Victor Stinner [Fri, 3 Aug 2012 23:37:32 +0000 (01:37 +0200)]
Close #13119: use "\r\n" newline for sys.stdout/err on Windows
sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2.
Victor Stinner [Fri, 3 Aug 2012 23:18:56 +0000 (01:18 +0200)]
open() / TextIOWrapper doc: make it explicit than newline='\n' doesn't
translate newlines on output.
Antoine Pitrou [Fri, 3 Aug 2012 22:55:38 +0000 (00:55 +0200)]
Make TextIOWrapper's documentation clearer by copying the newline argument's description from open().
Jesus Cea [Fri, 3 Aug 2012 13:49:14 +0000 (15:49 +0200)]
#15512: Remove remnants of debugging code
Jesus Cea [Fri, 3 Aug 2012 12:49:42 +0000 (14:49 +0200)]
Closes #15469: Correct __sizeof__ support for deque
Jesus Cea [Fri, 3 Aug 2012 12:28:37 +0000 (14:28 +0200)]
Closes #15512: Correct __sizeof__ support for parser
Antoine Pitrou [Thu, 2 Aug 2012 18:37:12 +0000 (20:37 +0200)]
Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
Patch by Philipp Hagemeister.
Eli Bendersky [Wed, 1 Aug 2012 23:56:39 +0000 (02:56 +0300)]
Issue #15321: update PyPI upload doc to say --no-raw passed to rst2html.py
Martin v. Löwis [Wed, 1 Aug 2012 08:32:11 +0000 (10:32 +0200)]
Issue #8847: Disable COMDAT folding in Windows PGO builds.
Analysis by Victor Stinner. Patch by Stefan Krah.
Andrew Svetlov [Tue, 31 Jul 2012 16:48:00 +0000 (19:48 +0300)]
Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
Andrew Svetlov [Mon, 30 Jul 2012 16:59:53 +0000 (19:59 +0300)]
Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog.
Ned Deily [Mon, 30 Jul 2012 11:09:32 +0000 (04:09 -0700)]
Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Ned Deily [Mon, 30 Jul 2012 10:31:21 +0000 (03:31 -0700)]
Issue #14018: Update the OS X IDLE Tcl/Tk warning check to include
the Apple-supplied Tck/Tk versions shipped with OS X 10.7 and 10.8.
They are not as buggy as the 10.6 version but can still easily crash.
Antoine Pitrou [Sun, 29 Jul 2012 22:01:06 +0000 (00:01 +0200)]
Issue #15489: Add a __sizeof__ implementation for BytesIO objects.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sun, 29 Jul 2012 17:02:46 +0000 (19:02 +0200)]
Issue #15487: Add a __sizeof__ implementation for buffered I/O objects.
Patch by Serhiy Storchaka.
Martin v. Löwis [Sun, 29 Jul 2012 14:33:05 +0000 (16:33 +0200)]
Issue #15467: Move helpers for __sizeof__ tests into test_support.
Patch by Serhiy Storchaka.
Meador Inge [Sun, 29 Jul 2012 03:16:39 +0000 (22:16 -0500)]
Issue #15402: Simplify Struct.__sizeof__ and make tests more precise.
Richard Oudkerk [Fri, 27 Jul 2012 13:06:11 +0000 (14:06 +0100)]
Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses.
Original patch by J Derek Wilson.
Vinay Sajip [Fri, 27 Jul 2012 09:54:10 +0000 (10:54 +0100)]
Improved cookbook entry and fixed typo.
Andrew Svetlov [Thu, 26 Jul 2012 14:02:57 +0000 (17:02 +0300)]
Issue #15041: update "see also" list in tkinter documentation.
Antoine Pitrou [Wed, 25 Jul 2012 22:45:19 +0000 (00:45 +0200)]
Issue #15320: Make iterating the list of tests thread-safe when running tests in multiprocess mode.
Patch by Chris Jerdonek.
Antoine Pitrou [Wed, 25 Jul 2012 20:38:33 +0000 (22:38 +0200)]
Mention the *limit* argument of TextIO.readline().
Vinay Sajip [Wed, 25 Jul 2012 18:19:25 +0000 (19:19 +0100)]
Issue #15445: Updated logging configuration documentation to highlight potential security risk posed by listen() in certain scenarios.
Martin v. Löwis [Wed, 25 Jul 2012 09:32:26 +0000 (11:32 +0200)]
Issue #7163: Propagate return value of sys.stdout.write.
Patch by Roger Serwy.
Martin v. Löwis [Wed, 25 Jul 2012 08:47:20 +0000 (10:47 +0200)]
Issue #15318: Prevent writing to sys.stdin.
Patch by Roger Serwy and myself.
R David Murray [Tue, 24 Jul 2012 18:22:19 +0000 (14:22 -0400)]
#15232: make NEWS entry more accurate.
Ned Deily [Tue, 24 Jul 2012 10:31:48 +0000 (03:31 -0700)]
Issue #14197: For OS X framework builds, ensure links to the shared
library are created with the proper ABI suffix.
Jesus Cea [Mon, 23 Jul 2012 16:42:37 +0000 (18:42 +0200)]
Rollback an incorrect Doc/ACKS.txt entry
Jesus Cea [Mon, 23 Jul 2012 16:15:33 +0000 (18:15 +0200)]
Better test for Issue #15402: Add a __sizeof__ method to struct.Struct
Meador Inge [Mon, 23 Jul 2012 15:01:29 +0000 (10:01 -0500)]
Issue #15402: Add a __sizeof__ method to struct.Struct.
Initial patch by Serhiy Storchaka.
Senthil Kumaran [Mon, 23 Jul 2012 02:32:44 +0000 (19:32 -0700)]
merge heads.
Senthil Kumaran [Mon, 23 Jul 2012 02:12:58 +0000 (19:12 -0700)]
- Issue #15250: Document that filecmp.dircmp compares files shallowly. Patch contributed by Chris Jerdonek.
R David Murray [Mon, 23 Jul 2012 01:47:53 +0000 (21:47 -0400)]
#15232: correctly mangle From lines in MIME preamble and epilogue
R David Murray [Mon, 23 Jul 2012 00:43:13 +0000 (20:43 -0400)]
#15429: Fix invalid mention of types.NoneType from None docs.
Gregory P. Smith [Sun, 22 Jul 2012 04:19:53 +0000 (21:19 -0700)]
Consistently raise a TypeError when a non str is passed to hashlib.new
regardless of which of the two implementations of new is used.
R David Murray [Sun, 22 Jul 2012 02:48:35 +0000 (22:48 -0400)]
#13922: argparse no longer incorrectly strips '--' after the first one.
Patch by Jeff Knupp.
R David Murray [Sun, 22 Jul 2012 02:20:11 +0000 (22:20 -0400)]
#12353: argparse now correctly handles null argument values.
Patch by Torsten Landschoff.
R David Murray [Sat, 21 Jul 2012 21:04:25 +0000 (17:04 -0400)]
#14391: clarify docstring discussion of Action's 'type' argument's value.
R David Murray [Sat, 21 Jul 2012 18:33:56 +0000 (14:33 -0400)]
#15342: Add clarifying sentence to posixpath.join docstring.
This sentence appears as a clarifying note in the HTML docs, and seems
worth having in the docstring since it covers a very common use case
that isn't otherwise obvious. Thanks to Yongzhi Pan for the suggestion.
Eli Bendersky [Sat, 21 Jul 2012 17:28:46 +0000 (20:28 +0300)]
Raise ImportError if pyexpat's version is incompatible
Florent Xicluna [Sat, 21 Jul 2012 10:44:20 +0000 (12:44 +0200)]
Fix test_pprint random dict ordering.
Florent Xicluna [Sat, 21 Jul 2012 09:17:38 +0000 (11:17 +0200)]
Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable key.
Antoine Pitrou [Fri, 20 Jul 2012 22:45:14 +0000 (00:45 +0200)]
Issue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after error handling.
Patch by Serhiy Storchaka.
Meador Inge [Fri, 20 Jul 2012 17:48:34 +0000 (12:48 -0500)]
Issue #15406: Fix deprecation warning in ctypes test_bitfields.py
Patch by Flávio Ribeiro.
Andrew Svetlov [Fri, 20 Jul 2012 11:51:45 +0000 (14:51 +0300)]
Issue #15404: Refleak in PyMethodObject repr.
Vinay Sajip [Fri, 20 Jul 2012 08:50:18 +0000 (09:50 +0100)]
Issue #15399: Added versionchanged for processName.
Jesus Cea [Thu, 19 Jul 2012 19:31:26 +0000 (21:31 +0200)]
Closes #15395: memory leaks in selectmodule.c
Jesus Cea [Thu, 19 Jul 2012 19:18:07 +0000 (21:18 +0200)]
Closes #15396: memory leak in tkinter
Meador Inge [Thu, 19 Jul 2012 18:45:43 +0000 (13:45 -0500)]
Issue #15394: Fix ref leaks in PyModule_Create.
Patch by Julia Lawall.
Meador Inge [Thu, 19 Jul 2012 05:01:22 +0000 (00:01 -0500)]
Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows.
Meador Inge [Wed, 18 Jul 2012 22:57:46 +0000 (17:57 -0500)]
remove unused variable
Meador Inge [Wed, 18 Jul 2012 21:41:03 +0000 (16:41 -0500)]
Issue #15368: fixing variable typo.
Meador Inge [Wed, 18 Jul 2012 19:20:11 +0000 (14:20 -0500)]
Issue #15368: make bytecode generation deterministic.
Hynek Schlawack [Tue, 17 Jul 2012 12:28:44 +0000 (14:28 +0200)]
Use posixpath.join() explicitely in posixpath.join() test
Used os.path.join before which has different semantics on Windows.
Eli Bendersky [Tue, 17 Jul 2012 11:22:01 +0000 (14:22 +0300)]
merge heads
Eli Bendersky [Tue, 17 Jul 2012 11:20:38 +0000 (14:20 +0300)]
ISsue #14988: restore Python 2's behavior of raising ImportError when unable to load pyexpat, instead of a SystemError/RuntimeError
Hynek Schlawack [Tue, 17 Jul 2012 11:05:43 +0000 (13:05 +0200)]
#15377: Make posixpath.join() more strict when checking for str/bytes mix
Based on a patch by Nick Coghlan.
Nick Coghlan [Tue, 17 Jul 2012 10:42:39 +0000 (20:42 +1000)]
Issue #15230: Attempt to make the OS X buildbots happy by resolving the tmp dir symlink in the test suite
Hynek Schlawack [Tue, 17 Jul 2012 08:48:19 +0000 (10:48 +0200)]
Fix context manager use in posixpath.join() tests
The asserts were useless (and buggy).
Gregory P. Smith [Mon, 16 Jul 2012 22:48:30 +0000 (15:48 -0700)]
one more test fix for systems without select.poll. tested by deleting
select.poll before running. works both ways (finally). this should fix
the windows build.