]>
granicus.if.org Git - python/log
Ezio Melotti [Fri, 16 Nov 2012 11:17:08 +0000 (13:17 +0200)]
#16478: use floor division in tabnanny and fix a ResourceWarning. Patch by Serhiy Storchaka.
Philip Jenvey [Wed, 14 Nov 2012 22:37:24 +0000 (14:37 -0800)]
don't gc_collect on CPython to guarantee a lack of ref cycles (thanks Antoine)
Chris Jerdonek [Wed, 14 Nov 2012 20:12:30 +0000 (12:12 -0800)]
Update the description of which package versions PyPI displays (issue #16400).
Philip Jenvey [Tue, 13 Nov 2012 20:26:31 +0000 (12:26 -0800)]
add gc_collects to weakref tests
Antoine Pitrou [Sun, 11 Nov 2012 18:40:38 +0000 (19:40 +0100)]
Merge heads
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 ordering and hashing.
Gregory P. Smith [Sun, 11 Nov 2012 17:59:27 +0000 (09:59 -0800)]
Refactor test_preexec_errpipe to not create an uncollectable reference cycle.
Nadeem Vawda [Sun, 11 Nov 2012 13:04:14 +0000 (14:04 +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 09:37:02 +0000 (01:37 -0800)]
Fixes issue #16140: The subprocess module no longer double closes its
child subprocess.PIPE parent file descriptors on child error prior to
exec().
This would lead to race conditions in multithreaded programs where
another thread opened a file reusing the fd which was then closed out
from beneath it by the errant second close.
Gregory P. Smith [Sun, 11 Nov 2012 08:04:13 +0000 (00:04 -0800)]
Remove the subprocess "bad exception data" warning (formerly a print!)
all together and just include the repr of the data in the exception
itself instead of the useless string "Unknown".
This code path is unlikely to even be possible to take given the
nature of the pipe it gets subprocess data from.
Gregory P. Smith [Sun, 11 Nov 2012 07:33:17 +0000 (23:33 -0800)]
Rename a local variable for readability and change a "this can't
happen" print() call into a RuntimeWarning as it should've been in the
first place. Because nothing should ever cause unexpected stdout output.
Gregory P. Smith [Sun, 11 Nov 2012 06:32:22 +0000 (22:32 -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:07:04 +0000 (21:07 -0800)]
move note to the right section
Gregory P. Smith [Sun, 11 Nov 2012 04:52:29 +0000 (20:52 -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:33:07 +0000 (20:33 -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:15:32 +0000 (03:15 +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:36 +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.
Antoine Pitrou [Sun, 11 Nov 2012 00:25:36 +0000 (01:25 +0100)]
Issue #16357: fix calling accept() on a SSLSocket created through SSLContext.wrap_socket().
Original patch by Jeff McNeil.
Chris Jerdonek [Sat, 10 Nov 2012 02:57:32 +0000 (18:57 -0800)]
Link set and frozenset function docs to their class definitions (issue #16436).
Chris Jerdonek [Sat, 10 Nov 2012 01:52:30 +0000 (17:52 -0800)]
Improve FAQ link in documentation (for issue #16435).
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:08:25 +0000 (01:08 +0200)]
#16440: fix exception type and clarify example.
Andrew Svetlov [Thu, 8 Nov 2012 15:26:53 +0000 (17:26 +0200)]
Issue #16439: Fix markup in example for stdtypes.
Thanks to Yongzhi Pan.
Andrew Svetlov [Thu, 8 Nov 2012 14:10:49 +0000 (16:10 +0200)]
Issue #16435: Link in tutorial now points to python3 FAQ.
Thanks to Yongzhi Pan from docs@
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:04:57 +0000 (11:04 +0200)]
#11481: update copyreg docs and add example.
Ezio Melotti [Thu, 8 Nov 2012 08:11:22 +0000 (10:11 +0200)]
Merge heads.
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:02:24 +0000 (09:02 +0100)]
Issue #15001: fix segfault on "del sys.module['__main__']"
Patch by Victor Stinner.
Nick Coghlan [Mon, 5 Nov 2012 11:26:57 +0000 (21:26 +1000)]
Record a known crasher from #6717
Nadeem Vawda [Sun, 4 Nov 2012 23:37:42 +0000 (00:37 +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:32 +0000 (00:06 +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.
Mark Dickinson [Sun, 4 Nov 2012 11:46:17 +0000 (11:46 +0000)]
Issue #16402: In range slicing, fix shadowing of exceptions from __index__ method.
Ezio Melotti [Sun, 4 Nov 2012 04:59:22 +0000 (06:59 +0200)]
#16304: clarify match objects docs. Initial patch by Jan Duzinkiewicz.
Christian Heimes [Sat, 3 Nov 2012 22:07:59 +0000 (23:07 +0100)]
Fix compilation on Windows
Ezio Melotti [Sat, 3 Nov 2012 21:03:39 +0000 (23:03 +0200)]
#16336: fix input checking in the surrogatepass error handler. Patch by Serhiy Storchaka.
Ezio Melotti [Sat, 3 Nov 2012 19:30:32 +0000 (21:30 +0200)]
Fix a couple typos in Misc/NEWS.
Ezio Melotti [Sat, 3 Nov 2012 19:19:06 +0000 (21:19 +0200)]
#8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an error.
Chris Jerdonek [Sat, 3 Nov 2012 19:05:55 +0000 (12:05 -0700)]
Link to mapping glossary entry in "Mapping Types - dict" and os.environ docs.
Ezio Melotti [Sat, 3 Nov 2012 18:33:08 +0000 (20:33 +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 15:38:43 +0000 (17:38 +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:41:19 +0000 (22:41 +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:54 +0000 (21:47 +0200)]
Reword set docs to use *proper subset/superset* terminology.
Andrew Svetlov [Thu, 1 Nov 2012 19:26:55 +0000 (21:26 +0200)]
Issue #14893: Add function annotation example to function tutorial.
Patch by Zachary Ware.
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 18:52:06 +0000 (19:52 +0100)]
Issue #16228: Fix a crash in the json module where a list changes size while it is being encoded.
Patch by Serhiy Storchaka.
Andrew Svetlov [Thu, 1 Nov 2012 11:43:06 +0000 (13:43 +0200)]
Change docstring for xdrlib.Error to use new style exceptions.
Andrew Svetlov [Thu, 1 Nov 2012 11:28:54 +0000 (13:28 +0200)]
Issue #16373: Prevent infinite recursion for ABC Set class operations.
Andrew Svetlov [Wed, 31 Oct 2012 20:37:50 +0000 (22:37 +0200)]
Issue #16377: Fix bisect unittest.
Patch by Yury Selivanov.
Andrew Svetlov [Wed, 31 Oct 2012 20:05:46 +0000 (22:05 +0200)]
merge heads
Andrew Svetlov [Wed, 31 Oct 2012 20:03:28 +0000 (22:03 +0200)]
Issue #14900: document added sort keys for profile stats.
Mark Dickinson [Wed, 31 Oct 2012 19:44:36 +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:06:07 +0000 (14:06 -0400)]
merge heads
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:59 +0000 (17:00 +0100)]
Closes #16369: Global PyTypeObjects not initialized with PyType_Ready(...). DOCUMENT IT!
R David Murray [Wed, 31 Oct 2012 14:50:27 +0000 (10:50 -0400)]
#16371: fix up the English a bit more.
Andrew Svetlov [Wed, 31 Oct 2012 14:20:54 +0000 (16:20 +0200)]
Issue #16371: fix typo in ctypes documentation.
Thanks to George Yoshida.
Andrew Svetlov [Wed, 31 Oct 2012 14:03:14 +0000 (16:03 +0200)]
Issue #16370: Mention Py_SetProgramName in example for very high level embedding.
Andrew Svetlov [Wed, 31 Oct 2012 10:02:56 +0000 (12:02 +0200)]
Remove already dropped function PySys_GetFile from documentation.
Thanks to Daniel Müllner from docs@
Andrew Svetlov [Wed, 31 Oct 2012 09:50:40 +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)
Brian Curtin [Mon, 29 Oct 2012 23:16:39 +0000 (18:16 -0500)]
Fix #16197. Update docstrings and documentation to match winreg code.
Patch by Zachary Ware.
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.
Ross Lagerwall [Mon, 29 Oct 2012 17:31:54 +0000 (17:31 +0000)]
Fix regression from issue #16262
Chris Jerdonek [Sun, 28 Oct 2012 18:08:26 +0000 (11:08 -0700)]
Remove unneeded "Release" and "Date" markers from doc index pages.
Nadeem Vawda [Sun, 28 Oct 2012 14:20:48 +0000 (15:20 +0100)]
Add test for BZ2Decompressor.decompress("") after end of stream.
Georg Brandl [Sun, 28 Oct 2012 12:37:05 +0000 (13:37 +0100)]
merge heads
Georg Brandl [Sun, 28 Oct 2012 12:35:56 +0000 (13:35 +0100)]
Remove confusing "Release" and "Date" markers from whatsnews.
Andrew Svetlov [Sun, 28 Oct 2012 12:12:50 +0000 (14:12 +0200)]
merge heads
Andrew Svetlov [Sun, 28 Oct 2012 12:10:30 +0000 (14:10 +0200)]
Issue #14570: Document json sort_keys parameter properly.
Patch by Chris Rebert.
Mark Dickinson [Sun, 28 Oct 2012 10:18:03 +0000 (10:18 +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
Georg Brandl [Sun, 28 Oct 2012 06:59:42 +0000 (07:59 +0100)]
#8040: fix jQuery incompatibility
R David Murray [Sat, 27 Oct 2012 21:07:05 +0000 (17:07 -0400)]
#15889: make regrtest --start succeed in more cases.
Patch by Chris Jerdonek.
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:09:16 +0000 (22:09 +0300)]
#8040: add a version switcher to the documentation. Patch by Yury Selivanov.
R David Murray [Sat, 27 Oct 2012 18:42:47 +0000 (14:42 -0400)]
#12890: don't emit <p> tags in text mode when logdir specified.
Patch by Jeff McNeil.
Senthil Kumaran [Sat, 27 Oct 2012 18:05:02 +0000 (11:05 -0700)]
Automated merge with file:///home/vagrant/3.3
Senthil Kumaran [Sat, 27 Oct 2012 18:04:55 +0000 (11:04 -0700)]
Include mention of jenkins as an example framework for doing CI
R David Murray [Sat, 27 Oct 2012 17:22:41 +0000 (13:22 -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 09:26:46 +0000 (02:26 -0700)]
Issue #16250: Fix URLError invocation with proper args.
Philip Jenvey [Sat, 27 Oct 2012 00:01:53 +0000 (17:01 -0700)]
bounds check for bad data (thanks amaury)
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:21:22 +0000 (17:21 -0700)]
Fix formatting of syntax description of function definition.
Mark Dickinson [Thu, 25 Oct 2012 09:46:28 +0000 (10:46 +0100)]
Fix math.factorial KeyboardInterrupt segfault. Thanks Amaury for report and diagnosis.
Ezio Melotti [Wed, 24 Oct 2012 20:06:25 +0000 (23:06 +0300)]
#16210: combine the two type() docs. Patch by Pete Sevander.
Ned Deily [Mon, 22 Oct 2012 22:14:31 +0000 (15:14 -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:15:17 +0000 (13:15 +0200)]
Closes #16294: 8 space indent in tutorial
Matthias Klose [Sun, 21 Oct 2012 21:05:35 +0000 (23:05 +0200)]
- Issue #16262: fix out-of-src-tree builds, if mercurial is not installed.
Nadeem Vawda [Sun, 21 Oct 2012 19:13:27 +0000 (21:13 +0200)]
Issue #14398: Fix size truncation and overflow bugs in bz2 module.
Antoine Pitrou [Sun, 21 Oct 2012 12:13:32 +0000 (14:13 +0200)]
Fix whacky spacking 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:25:34 +0000 (13:25 -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 [Sat, 20 Oct 2012 01:43:58 +0000 (11:43 +1000)]
Fix compilation on Windows
Nick Coghlan [Fri, 19 Oct 2012 14:03:46 +0000 (00:03 +1000)]
Fix broken test and replace redundant generator with a tuple