]>
granicus.if.org Git - python/log
Chris Jerdonek [Wed, 14 Nov 2012 20:36:53 +0000 (12:36 -0800)]
Backport from 3.2: update PyPI docs regarding listing versions (issue #16400).
Chris Jerdonek [Wed, 14 Nov 2012 10:13:28 +0000 (02:13 -0800)]
Link to "XRange Type" section in xrange() built-in function documentation.
Stefan Krah [Mon, 12 Nov 2012 19:35:29 +0000 (20:35 +0100)]
Georg Brandl [Mon, 12 Nov 2012 18:25:55 +0000 (19:25 +0100)]
Use 2.x "print" syntax for this example.
Antoine Pitrou [Sun, 11 Nov 2012 18:36:51 +0000 (19:36 +0100)]
Issue #16453: Fix equality testing of dead weakref objects.
Also add tests for hashing.
Gregory P. Smith [Sun, 11 Nov 2012 18:13:06 +0000 (10:13 -0800)]
remove an obsolete comment
Gregory P. Smith [Sun, 11 Nov 2012 17:49:02 +0000 (09:49 -0800)]
Refactor test_preexec_errpipe to not create an uncollectable reference cycle.
Nadeem Vawda [Sun, 11 Nov 2012 13:01:23 +0000 (14:01 +0100)]
Issue #15677: Also fix docstrings in zlib module.
Nadeem Vawda [Sun, 11 Nov 2012 12:52:10 +0000 (13:52 +0100)]
Issue #15677: Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
Patch by Brian Brazil.
Gregory P. Smith [Sun, 11 Nov 2012 10:01:56 +0000 (02:01 -0800)]
whitespace fix
Gregory P. Smith [Sun, 11 Nov 2012 10:00:49 +0000 (02:00 -0800)]
Fix issue #16140 bug that the fix to issue #16327 added - don't double
close subprocess.PIPE file descriptors when the child encounters an
error prior to exec.
Gregory P. Smith [Sun, 11 Nov 2012 06:49:03 +0000 (22:49 -0800)]
Fixes issue #16327: The subprocess module no longer leaks file descriptors
used for stdin/stdout/stderr pipes to the child when fork() fails.
Gregory P. Smith [Sun, 11 Nov 2012 05:13:20 +0000 (21:13 -0800)]
Fixes issue #14396: Handle the odd rare case of waitpid returning 0
when not expected in subprocess.Popen.wait().
Gregory P. Smith [Sun, 11 Nov 2012 04:38:17 +0000 (20:38 -0800)]
Fixes issue #9535: Fix pending signals that have been received but not yet
handled by Python to not persist after os.fork() in the child process.
Nadeem Vawda [Sun, 11 Nov 2012 02:28:21 +0000 (03:28 +0100)]
Fix typo in backporting fix of issue #16411 to 2.7.
Nadeem Vawda [Sun, 11 Nov 2012 02:14:56 +0000 (03:14 +0100)]
Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to access previously-freed memory.
Patch by Serhiy Storchaka.
Nadeem Vawda [Sun, 11 Nov 2012 01:14:15 +0000 (02:14 +0100)]
Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in decompressobj().flush().
Additionally, fix a bug where a MemoryError in allocating a bytes object could
leave the decompressor object in an invalid state (with its unconsumed_tail
member being NULL).
Patch by Serhiy Storchaka.
Chris Jerdonek [Sat, 10 Nov 2012 03:12:02 +0000 (19:12 -0800)]
Backport from 3.2: adjust set and frozenset function docs (issue #16436).
Chris Jerdonek [Sat, 10 Nov 2012 02:04:00 +0000 (18:04 -0800)]
Backport from 3.2: improve FAQ link in documentation (for issue #16435).
Chris Withers [Fri, 9 Nov 2012 15:48:17 +0000 (15:48 +0000)]
Bug #16441: avoid excessive memory usage working with large gzip files
Ezio Melotti [Fri, 9 Nov 2012 10:46:19 +0000 (11:46 +0100)]
#13301: use ast.literal_eval() instead of eval() in Tools/i18n/msgfmt.py. Patch by Serhiy Storchaka.
Ezio Melotti [Thu, 8 Nov 2012 23:03:44 +0000 (01:03 +0200)]
#16440: fix exception type and clarify example.
Andrew Svetlov [Thu, 8 Nov 2012 15:29:02 +0000 (17:29 +0200)]
Issue #16439: Fix markup in example for stdtypes.
Thanks to Yongzhi Pan.
Ezio Melotti [Thu, 8 Nov 2012 09:08:39 +0000 (11:08 +0200)]
#16433: fix docstring of assertNotEqual.
Ezio Melotti [Thu, 8 Nov 2012 09:02:58 +0000 (11:02 +0200)]
#11481: fix markup.
Ezio Melotti [Thu, 8 Nov 2012 08:59:03 +0000 (10:59 +0200)]
#11481: update copy_reg docs and add example.
Ezio Melotti [Thu, 8 Nov 2012 08:07:10 +0000 (10:07 +0200)]
#10385: use the mod role in subprocess docs.
Hynek Schlawack [Wed, 7 Nov 2012 08:41:28 +0000 (09:41 +0100)]
Issue #15001: fix segfault on "del sys.modules['__main__']"
Patch by Victor Stinner.
Nadeem Vawda [Sun, 4 Nov 2012 23:55:06 +0000 (00:55 +0100)]
Issue #16350: Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF.
Patch by Serhiy Storchaka.
Ezio Melotti [Sun, 4 Nov 2012 22:06:50 +0000 (00:06 +0200)]
Fix typo.
Ezio Melotti [Sun, 4 Nov 2012 22:03:21 +0000 (00:03 +0200)]
#5057: the peepholer no longer optimizes subscription on unicode literals (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds.
Ezio Melotti [Sun, 4 Nov 2012 04:46:28 +0000 (06:46 +0200)]
#16304: clarify match objects docs. Initial patch by Jan Duzinkiewicz.
Jesus Cea [Sun, 4 Nov 2012 01:32:08 +0000 (02:32 +0100)]
Closes #16183: ZipExtFile object close without file handle closed (backporting of Issue #9846)
Christian Heimes [Sat, 3 Nov 2012 22:07:59 +0000 (23:07 +0100)]
Fix compilation on Windows
Ezio Melotti [Sat, 3 Nov 2012 19:29:08 +0000 (21:29 +0200)]
Fix a couple typos in Misc/NEWS.
Ezio Melotti [Sat, 3 Nov 2012 19:18:57 +0000 (21:18 +0200)]
Merge heads.
Chris Jerdonek [Sat, 3 Nov 2012 19:13:46 +0000 (12:13 -0700)]
Backport from 3.2: link to mapping glossary entry in docs.
Ezio Melotti [Sat, 3 Nov 2012 19:10:45 +0000 (21:10 +0200)]
#8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an error.
Ezio Melotti [Sat, 3 Nov 2012 18:31:12 +0000 (20:31 +0200)]
#12759: sre_parse now raises a proper error when the name of the group is missing. Initial patch by Serhiy Storchaka.
Ezio Melotti [Sat, 3 Nov 2012 16:25:04 +0000 (18:25 +0200)]
#4711: break long words in the docs sidebar to avoid overflow.
Ezio Melotti [Sat, 3 Nov 2012 16:24:11 +0000 (18:24 +0200)]
Remove trailing whitespace.
Ezio Melotti [Sat, 3 Nov 2012 15:30:51 +0000 (17:30 +0200)]
#16152: fix tokenize to ignore whitespace at the end of the code when no newline is found. Patch by Ned Batchelder.
Georg Brandl [Fri, 2 Nov 2012 06:34:37 +0000 (07:34 +0100)]
Grammar touchup.
Andrew Svetlov [Thu, 1 Nov 2012 20:39:14 +0000 (22:39 +0200)]
Issue #
1207589 : Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
Andrew Svetlov [Thu, 1 Nov 2012 19:47:05 +0000 (21:47 +0200)]
Reword set docs to use *proper subset/superset* terminology.
Antoine Pitrou [Thu, 1 Nov 2012 19:13:54 +0000 (20:13 +0100)]
Issue #16230: Fix a crash in select.select() when one the lists changes size while iterated on.
Patch by Serhiy Storchaka.
Antoine Pitrou [Thu, 1 Nov 2012 19:07:40 +0000 (20:07 +0100)]
Issue #16228: Fix a crash in the json module where a list changes size while it is being encoded.
Patch by Serhiy Storchaka.
Mark Dickinson [Wed, 31 Oct 2012 20:38:52 +0000 (20:38 +0000)]
Issue #16377: fix missed test due to incorrect indentation in test_bisect. Thanks Yury Selivanov.
Andrew Svetlov [Wed, 31 Oct 2012 19:54:45 +0000 (21:54 +0200)]
Issue #14900: document added sort keys for profile stats.
Mark Dickinson [Wed, 31 Oct 2012 19:44:09 +0000 (19:44 +0000)]
Issue #16348: Fix incorrect documentation for Decimal.remainder_near.
Benjamin Peterson [Wed, 31 Oct 2012 18:22:12 +0000 (14:22 -0400)]
avoid a function call with redundant checks for dict size
Benjamin Peterson [Wed, 31 Oct 2012 18:16:09 +0000 (14:16 -0400)]
fix spelling
Benjamin Peterson [Wed, 31 Oct 2012 18:05:55 +0000 (14:05 -0400)]
only fast-path fromkeys() when the constructor returns a empty dict (closes #16345)
Jesus Cea [Wed, 31 Oct 2012 16:00:19 +0000 (17:00 +0100)]
Closes #16369: Global PyTypeObjects not initialized with PyType_Ready(...). DOCUMENT IT!
R David Murray [Wed, 31 Oct 2012 14:53:13 +0000 (10:53 -0400)]
#16371: fix up the English.
Andrew Svetlov [Wed, 31 Oct 2012 14:01:09 +0000 (16:01 +0200)]
Issue #16370: Mention Py_SetProgramName in example for very high level embedding.
Andrew Svetlov [Wed, 31 Oct 2012 09:50:00 +0000 (11:50 +0200)]
Fix docstring for deque ctor to mark iterable parameter optional
Benjamin Peterson [Wed, 31 Oct 2012 03:21:10 +0000 (23:21 -0400)]
initialize more global type objects (closes #16369)
Andrew Svetlov [Tue, 30 Oct 2012 19:56:43 +0000 (21:56 +0200)]
Issue #16341: convert examples to use except ... as ... syntax.
Petri Lehtinen [Mon, 29 Oct 2012 19:16:57 +0000 (21:16 +0200)]
#14897: Enhance error messages of struct.pack and struct.pack_into
Patch by Matti Mäki.
Chris Jerdonek [Sun, 28 Oct 2012 18:16:36 +0000 (11:16 -0700)]
Backport from 3.2: remove "Release" and "Date" markers from index pages.
Nadeem Vawda [Sun, 28 Oct 2012 14:20:35 +0000 (15:20 +0100)]
Add test for BZ2Decompressor.decompress("") after end of stream.
Andrew Svetlov [Sun, 28 Oct 2012 12:58:52 +0000 (14:58 +0200)]
Issue #14570: Document json sort_keys parameter properly.
Patch by Chris Rebert.
Georg Brandl [Sun, 28 Oct 2012 12:35:56 +0000 (13:35 +0100)]
Remove confusing "Release" and "Date" markers from whatsnews.
Mark Dickinson [Sun, 28 Oct 2012 10:00:46 +0000 (10:00 +0000)]
Issue #14700: Fix buggy overflow checks for large precision and width in new-style and old-style formatting.
Georg Brandl [Sun, 28 Oct 2012 09:51:35 +0000 (10:51 +0100)]
changeset: 80007:
49e4541f2aef
parent: 80003:
be83cbf4a789
parent: 80006:
32df036e6b75
user: Georg Brandl <georg@python.org>
date: Sun Oct 28 10:50:11 2012 +0100
summary: merge with 3.3
Andrew Svetlov [Sun, 28 Oct 2012 09:48:02 +0000 (11:48 +0200)]
Issue #14616: Document pipes.quote and mention this one in subprocess docs.
Patch by Chris Rebert.
Georg Brandl [Sun, 28 Oct 2012 09:12:47 +0000 (10:12 +0100)]
Update current version of the "dailybuild" script.
Georg Brandl [Sun, 28 Oct 2012 07:18:52 +0000 (08:18 +0100)]
Update current version of the "dailybuild" script.
Georg Brandl [Sun, 28 Oct 2012 07:09:02 +0000 (08:09 +0100)]
Add a autobuild-quick target that only rebuilds HTML.
Georg Brandl [Sun, 28 Oct 2012 07:06:11 +0000 (08:06 +0100)]
merge with 2.6
Georg Brandl [Sun, 28 Oct 2012 07:04:38 +0000 (08:04 +0100)]
#8040: port versionswitcher patch to 2.6.
Ezio Melotti [Sat, 27 Oct 2012 20:12:48 +0000 (23:12 +0300)]
#8040: fix the version.
Ezio Melotti [Sat, 27 Oct 2012 19:28:48 +0000 (22:28 +0300)]
#8040: enable the versionswitcher for the autobuild-dev target.
Ezio Melotti [Sat, 27 Oct 2012 19:04:56 +0000 (22:04 +0300)]
#8040: add a version switcher to the documentation. Patch by Yury Selivanov.
R David Murray [Sat, 27 Oct 2012 18:42:36 +0000 (14:42 -0400)]
#12890: don't emit <p> tags in text mode when logdir specified.
Patch by Jeff McNeil.
R David Murray [Sat, 27 Oct 2012 17:47:49 +0000 (13:47 -0400)]
#15043: Improve test_gdb support of gdb >= 7.4.
Instead of requiring the tester to manually add the path to the python-gdb.py
file in the checkout to their .gdbinit file, add it automatically when
invoking gdb in the test.
Senthil Kumaran [Sat, 27 Oct 2012 10:48:40 +0000 (03:48 -0700)]
Add some tests in 2.7 for Issue #16250
Trent Nelson [Sat, 27 Oct 2012 02:21:46 +0000 (22:21 -0400)]
Issue #16274: Fix test_asyncore on Solaris.
Ezio Melotti [Fri, 26 Oct 2012 20:10:07 +0000 (23:10 +0300)]
#16332: use "except OSError as e" in subprocess docs. Patch by Berker Peksag.
Ezio Melotti [Fri, 26 Oct 2012 16:14:16 +0000 (19:14 +0300)]
#16206: Improve examples about dict construction.
Chris Jerdonek [Fri, 26 Oct 2012 00:26:10 +0000 (17:26 -0700)]
Backport from 3.2: fix formatting of syntax description of function definition.
Ezio Melotti [Wed, 24 Oct 2012 20:43:02 +0000 (23:43 +0300)]
#16303: remove extra quotes from exception and add (). Initial patch by Vladimir Rutsky.
Ezio Melotti [Wed, 24 Oct 2012 20:01:30 +0000 (23:01 +0300)]
#16210: combine the two type() docs. Patch by Pete Sevander.
Petri Lehtinen [Tue, 23 Oct 2012 11:39:34 +0000 (14:39 +0300)]
#15040: Close files in mailbox tests for PyPy compatibility
Original patch by Matti Picus.
Ned Deily [Mon, 22 Oct 2012 22:13:01 +0000 (15:13 -0700)]
Issue #15853: Prevent IDLE crash on OS X when opening Preferences menu
with certain versions of Tk 8.5. Initial patch by Kevin Walzer.
Jesus Cea [Mon, 22 Oct 2012 11:14:20 +0000 (13:14 +0200)]
Closes #16294: 8 space indent in tutorial
Nadeem Vawda [Sun, 21 Oct 2012 21:09:08 +0000 (23:09 +0200)]
Issue #14398: Fix size truncation and overflow bugs in bz2 module.
Nadeem Vawda [Sun, 21 Oct 2012 16:15:05 +0000 (18:15 +0200)]
Issue #5148: Ignore 'U' in mode given to gzip.open() and gzip.GzipFile().
Antoine Pitrou [Sun, 21 Oct 2012 12:10:29 +0000 (14:10 +0200)]
Fix whacky spacing in test_wsgiref
Antoine Pitrou [Sun, 21 Oct 2012 12:09:05 +0000 (14:09 +0200)]
Issue #16220: wsgiref now always calls close() on an iterable response.
Patch by Brent Tubbs.
Ned Deily [Sat, 20 Oct 2012 20:23:25 +0000 (13:23 -0700)]
Issue #10405: Document IDLE context menus in Standard Library document
and IDLE Help file. (Thanks to Nick ODell and Todd Rovito for suggestions.)
Update Debug menu options in docs to match current code plus various other
minor IDLE doc and help edits.
Nick Coghlan [Fri, 19 Oct 2012 13:59:35 +0000 (23:59 +1000)]
No reason to use a generator here
Nick Coghlan [Fri, 19 Oct 2012 13:17:48 +0000 (23:17 +1000)]
Issue #6074: Actually delete the source file in the test as intended
Nick Coghlan [Fri, 19 Oct 2012 11:58:18 +0000 (21:58 +1000)]
Issue #6074: Restore the long-broken support for running with read-only source files on Windows
Trent Nelson [Thu, 18 Oct 2012 11:44:43 +0000 (07:44 -0400)]
Issue #16274: revert r79813:
90a46f8943d0 changes to asyncore/test_asyncore.
The backport from 3.2 included a few things not appropriate for 2.7.
Trent Nelson [Thu, 18 Oct 2012 10:08:01 +0000 (06:08 -0400)]
Issue #16274: backport of 3.2's asyncore/test_asyncore to 2.7.
This fixes failing tests on Solaris 10.
Trent Nelson [Thu, 18 Oct 2012 05:35:32 +0000 (01:35 -0400)]
Issue #16257: make test_create_connection() handle ENETUNREACH.
Trent Nelson [Wed, 17 Oct 2012 22:01:12 +0000 (18:01 -0400)]
Don't add -OPT:Olimit to CFLAGS on AIX, SunOS, HP-UX or IRIX. It breaks them.
Andrew Svetlov [Wed, 17 Oct 2012 14:14:28 +0000 (17:14 +0300)]
Issue #9583: Document startup option/environment interaction.
Patch by Todd Rovito.