]>
granicus.if.org Git - python/log
Ezio Melotti [Wed, 28 Nov 2012 22:22:30 +0000 (00:22 +0200)]
#16333: document a way to get rid of trailing whitespace when indent is used.
Gregory P. Smith [Tue, 27 Nov 2012 18:19:29 +0000 (10:19 -0800)]
Plug a leak in timemodule. The module dictionary is saved during
initialization. If the interpreter is shut down and reinitialized (embedded
CPython), the old module dictionary was not dec-refed during the next import of
the time extension module.
Contributed by Torsten Marek of Google.
Ezio Melotti [Tue, 27 Nov 2012 17:17:57 +0000 (19:17 +0200)]
#16556: Fix inconsistency between kwds and kwargs. Patch by Taavi Burns.
Ezio Melotti [Mon, 26 Nov 2012 17:22:58 +0000 (19:22 +0200)]
#16559: Add more tests for the json module. Patch by Serhiy Storchaka.
Chris Jerdonek [Mon, 26 Nov 2012 04:35:23 +0000 (20:35 -0800)]
Add hyperlinks to the docs of some os.path functions (issue #16552).
Mark Dickinson [Sun, 25 Nov 2012 17:11:33 +0000 (17:11 +0000)]
Issue #9011: AST creation no longer modifies CST for negated numeric literals.
Mark Dickinson [Sun, 25 Nov 2012 13:25:57 +0000 (13:25 +0000)]
Issue #16339: Document and test exec(stmt, globals, locals) form in Python 2.7.
Antoine Pitrou [Sat, 24 Nov 2012 17:25:25 +0000 (18:25 +0100)]
test_winsound should require the "audio" resource, as it does on 3.x.
(this should fix some buildbot test failures)
Ezio Melotti [Fri, 23 Nov 2012 17:45:52 +0000 (19:45 +0200)]
#16530: the "options" arg of os.wait3 is required.
Ezio Melotti [Fri, 23 Nov 2012 16:46:11 +0000 (18:46 +0200)]
#16306: report only the first unknown option and add more tests. Patch by Serhiy Storchaka.
Stefan Krah [Thu, 22 Nov 2012 22:56:51 +0000 (23:56 +0100)]
Fix more usages of NULL without including stdio.h.
Stefan Krah [Thu, 22 Nov 2012 21:36:57 +0000 (22:36 +0100)]
Issue #13057: Include stdio.h when NULL is used in configure.ac.
Raymond Hettinger [Wed, 21 Nov 2012 05:42:44 +0000 (21:42 -0800)]
Remove steps no longer needed once __del__ was removed
Raymond Hettinger [Wed, 21 Nov 2012 05:11:26 +0000 (21:11 -0800)]
Fit nit: the return got dropped from an earlier check-in
Antoine Pitrou [Tue, 20 Nov 2012 21:30:42 +0000 (22:30 +0100)]
Issue #1160: Fix compiling large regular expressions on UCS2 builds.
Patch by Serhiy Storchaka.
Stefan Krah [Mon, 19 Nov 2012 00:00:45 +0000 (01:00 +0100)]
Ezio Melotti [Sun, 18 Nov 2012 21:14:42 +0000 (23:14 +0200)]
#7782: add a test for test_iter.
Ezio Melotti [Sun, 18 Nov 2012 19:23:44 +0000 (21:23 +0200)]
#16503: clarify "apply" docs.
Antoine Pitrou [Sun, 18 Nov 2012 17:37:02 +0000 (18:37 +0100)]
The poplib module provides two classes, not one.
Ezio Melotti [Sun, 18 Nov 2012 11:46:38 +0000 (13:46 +0200)]
#16306: Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen.
Ezio Melotti [Sun, 18 Nov 2012 11:18:06 +0000 (13:18 +0200)]
#14313: zipfile now raises NotImplementedError when the compression type is unknown.
Ezio Melotti [Sun, 18 Nov 2012 10:55:35 +0000 (12:55 +0200)]
#16053: document csv.Dialect.strict. Patch by Kushal Das.
Mark Dickinson [Sun, 18 Nov 2012 10:41:29 +0000 (10:41 +0000)]
Typo fix.
Mark Dickinson [Sun, 18 Nov 2012 10:20:28 +0000 (10:20 +0000)]
Issue #12005: clarify behaviour of % and // for Decimal objects.
Antoine Pitrou [Sat, 17 Nov 2012 22:56:53 +0000 (23:56 +0100)]
Issue #16408: Fix file descriptors not being closed in error conditions in the zipfile module.
Patch by Serhiy Storchaka.
Mark Dickinson [Sat, 17 Nov 2012 20:18:52 +0000 (20:18 +0000)]
Issue #9742: Sneaky fix for build failure on Solaris 9.
Antoine Pitrou [Sat, 17 Nov 2012 20:14:58 +0000 (21:14 +0100)]
Issue #15379: Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings).
Patch by Serhiy Storchaka.
Ezio Melotti [Sat, 17 Nov 2012 15:38:11 +0000 (17:38 +0200)]
#16420: document a way to escape metacharacters in glob/fnmatch.
Ezio Melotti [Sat, 17 Nov 2012 10:46:40 +0000 (12:46 +0200)]
Update section about dir() in the tutorial.
Ezio Melotti [Sat, 17 Nov 2012 10:02:30 +0000 (12:02 +0200)]
#16470: mention set and dict comprehension in the tutorial. Patch by Yongzhi Pan.
Jesus Cea [Sat, 17 Nov 2012 02:38:17 +0000 (03:38 +0100)]
Closes #16461: Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.
Georg Brandl [Thu, 15 Nov 2012 06:10:27 +0000 (07:10 +0100)]
Remove versionadded from the tutorial, at a location where it produces more questions than it answers.
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.