]>
granicus.if.org Git - python/log
Andrew Svetlov [Mon, 3 Dec 2012 14:13:34 +0000 (16:13 +0200)]
Merge issue #16583: Prevent nesting SystemExit in tkinter.CallWrapper
Andrew Svetlov [Mon, 3 Dec 2012 14:13:07 +0000 (16:13 +0200)]
Issue #16583: Prevent nesting SystemExit in tkinter.CallWrapper
Victor Stinner [Mon, 3 Dec 2012 13:12:22 +0000 (14:12 +0100)]
(Null merge 3.2)
Victor Stinner [Mon, 3 Dec 2012 13:11:57 +0000 (14:11 +0100)]
Issue #16416: Fix compilation error
Victor Stinner [Mon, 3 Dec 2012 11:48:53 +0000 (12:48 +0100)]
(Merge 3.2) Issue #16416: On Mac OS X, operating system data are now always
encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding
(which may be ASCII if no locale environment variable is set), to avoid
inconsistencies with os.fsencode() and os.fsdecode() functions which are
already using UTF-8/surrogateescape.
Victor Stinner [Mon, 3 Dec 2012 11:47:59 +0000 (12:47 +0100)]
Issue #16416: On Mac OS X, operating system data are now always
encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding
(which may be ASCII if no locale environment variable is set), to avoid
inconsistencies with os.fsencode() and os.fsdecode() functions which are
already using UTF-8/surrogateescape.
Benjamin Peterson [Sun, 2 Dec 2012 18:04:37 +0000 (13:04 -0500)]
more test to more general test file, so it can test more things
Benjamin Peterson [Sun, 2 Dec 2012 17:37:04 +0000 (12:37 -0500)]
loosen test now that bytes are allowed
Benjamin Peterson [Sun, 2 Dec 2012 16:33:06 +0000 (11:33 -0500)]
document UnicodeError attributes
Benjamin Peterson [Sun, 2 Dec 2012 16:26:10 +0000 (11:26 -0500)]
document that encoding error handlers may return bytes (#16585)
Benjamin Peterson [Sun, 2 Dec 2012 16:20:28 +0000 (11:20 -0500)]
support encoding error handlers that return bytes (closes #16585)
Benjamin Peterson [Sun, 2 Dec 2012 15:53:41 +0000 (10:53 -0500)]
unicode -> str
Mark Dickinson [Sun, 2 Dec 2012 13:21:37 +0000 (13:21 +0000)]
Issue 10052: merge fix from 3.2.
Mark Dickinson [Sun, 2 Dec 2012 13:20:22 +0000 (13:20 +0000)]
Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on some platforms.
Antoine Pitrou [Sun, 2 Dec 2012 11:54:28 +0000 (12:54 +0100)]
Issue #10182: The re module doesn't truncate indices to 32 bits anymore.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sun, 2 Dec 2012 11:52:36 +0000 (12:52 +0100)]
Issue #10182: The re module doesn't truncate indices to 32 bits anymore.
Patch by Serhiy Storchaka.
Christian Heimes [Sun, 2 Dec 2012 07:38:42 +0000 (08:38 +0100)]
Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.h
Christian Heimes [Sun, 2 Dec 2012 07:37:00 +0000 (08:37 +0100)]
Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.h
Christian Heimes [Sun, 2 Dec 2012 07:23:05 +0000 (08:23 +0100)]
Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
Christian Heimes [Sun, 2 Dec 2012 07:14:50 +0000 (08:14 +0100)]
- Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
Benjamin Peterson [Thu, 29 Nov 2012 15:57:11 +0000 (10:57 -0500)]
merge 3.2
Benjamin Peterson [Thu, 29 Nov 2012 15:57:01 +0000 (10:57 -0500)]
add changelog
Benjamin Peterson [Thu, 29 Nov 2012 15:56:11 +0000 (10:56 -0500)]
merge 3.2 (#16573)
Benjamin Peterson [Thu, 29 Nov 2012 15:55:22 +0000 (10:55 -0500)]
enumerate only requires an iterable (closes #16573)
Patch by Jonathan Kotta.
Andrew Svetlov [Thu, 29 Nov 2012 13:23:15 +0000 (15:23 +0200)]
Remove redundant sentence from c-api docs (issue #16323)
Andrew Svetlov [Thu, 29 Nov 2012 12:21:23 +0000 (14:21 +0200)]
Merge issue #16477: Close tarfile internal handlers in case of exception.
Patch by Serhiy Storchaka.
Andrew Svetlov [Thu, 29 Nov 2012 12:20:47 +0000 (14:20 +0200)]
Issue #16477: Close tarfile internal handlers in case of exception.
Patch by Serhiy Storchaka.
Ezio Melotti [Thu, 29 Nov 2012 03:10:31 +0000 (05:10 +0200)]
#16549: merge with 3.2.
Ezio Melotti [Thu, 29 Nov 2012 03:10:07 +0000 (05:10 +0200)]
#16549: fix test failures on Windows.
Ezio Melotti [Thu, 29 Nov 2012 00:26:15 +0000 (02:26 +0200)]
#16476: merge with 3.2.
Ezio Melotti [Thu, 29 Nov 2012 00:25:03 +0000 (02:25 +0200)]
#16476: Fix json.tool to avoid including trailing whitespace.
Ezio Melotti [Thu, 29 Nov 2012 00:16:58 +0000 (02:16 +0200)]
#16549: merge with 3.2.
Ezio Melotti [Thu, 29 Nov 2012 00:15:18 +0000 (02:15 +0200)]
#16549: Make json.tool work again on Python 3 and add tests. Initial patch by Berker Peksag and Serhiy Storchaka.
Ezio Melotti [Wed, 28 Nov 2012 22:36:42 +0000 (00:36 +0200)]
#16333: merge with 3.2.
Ezio Melotti [Wed, 28 Nov 2012 22:35:29 +0000 (00:35 +0200)]
#16333: document a way to get rid of trailing whitespace when indent is used.
Andrew Svetlov [Wed, 28 Nov 2012 17:24:31 +0000 (19:24 +0200)]
Revert duplicate changes in argparse docs.
Andrew Svetlov [Wed, 28 Nov 2012 17:23:52 +0000 (19:23 +0200)]
Revert duplicate changes in argparse docs.
Andrew Svetlov [Wed, 28 Nov 2012 17:18:09 +0000 (19:18 +0200)]
Merge issue #11076: document the way to convert argparse.Namespace to a dict.
Initial patch by Virgil Dupras.
Andrew Svetlov [Wed, 28 Nov 2012 17:17:26 +0000 (19:17 +0200)]
Issue #11076: document the way to convert argparse.Namespace to a dict.
Initial patch by Virgil Dupras.
Chris Jerdonek [Wed, 28 Nov 2012 10:45:34 +0000 (02:45 -0800)]
Merge heads.
Chris Jerdonek [Wed, 28 Nov 2012 10:37:42 +0000 (02:37 -0800)]
Merge from 3.2: improve argument/parameter documentation (issue #15990).
Andrew Svetlov [Wed, 28 Nov 2012 10:33:58 +0000 (12:33 +0200)]
Issue #16323: Fix wrong C API documentation for locale encoding.
Patch by Berker Peksag.
Chris Jerdonek [Wed, 28 Nov 2012 10:29:33 +0000 (02:29 -0800)]
Improve argument/parameter documentation (issue #15990).
This commit adds "parameter" to the glossary, improves and consolidates the
"argument" glossary entry, and adds a question to the FAQ on the difference
between arguments and parameters.
Chris Jerdonek [Wed, 28 Nov 2012 09:38:40 +0000 (01:38 -0800)]
Add a str class entry to the "Text Sequence Type" section (issue #16209).
This commit also moves the documentation for the str built-in function to
the new class entry. Links to :class:`str` now go to the class entry with
the string methods immediately afterwards.
Gregory P. Smith [Tue, 27 Nov 2012 18:18:40 +0000 (10:18 -0800)]
null merge (3.3 is different)
Gregory P. Smith [Tue, 27 Nov 2012 18:16:55 +0000 (10:16 -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:18:47 +0000 (19:18 +0200)]
#16556: merge with 3.2.
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:27:02 +0000 (19:27 +0200)]
#16559: merge with 3.2.
Ezio Melotti [Mon, 26 Nov 2012 17:24:20 +0000 (19:24 +0200)]
#16559: Add more tests for the json module. Patch by Serhiy Storchaka.
Chris Jerdonek [Mon, 26 Nov 2012 04:40:57 +0000 (20:40 -0800)]
Merge from 3.2: add hyperlinks to some os.path function docs (issue #16552).
Chris Jerdonek [Mon, 26 Nov 2012 04:38:01 +0000 (20:38 -0800)]
Add hyperlinks to the docs of some os.path functions (issue #16552).
Vinay Sajip [Sun, 25 Nov 2012 15:17:01 +0000 (15:17 +0000)]
Null merge for fix for #16521.
Vinay Sajip [Sun, 25 Nov 2012 15:11:46 +0000 (15:11 +0000)]
Closes #16521: Improved error handling for basicConfig(), added tests for same.
Mark Dickinson [Sun, 25 Nov 2012 14:36:26 +0000 (14:36 +0000)]
Issue #16546: make ast.YieldFrom argument mandatory.
Antoine Pitrou [Sat, 24 Nov 2012 19:41:34 +0000 (20:41 +0100)]
Issue #12848: The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sat, 24 Nov 2012 19:40:21 +0000 (20:40 +0100)]
Issue #12848: The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does.
Patch by Serhiy Storchaka.
Ezio Melotti [Fri, 23 Nov 2012 20:16:45 +0000 (22:16 +0200)]
Merge debug print removal with 3.2.
Ezio Melotti [Fri, 23 Nov 2012 20:16:07 +0000 (22:16 +0200)]
Remove debug print.
Vinay Sajip [Fri, 23 Nov 2012 19:16:49 +0000 (19:16 +0000)]
Issue #16519: Used os.path.abspath, removed unnecessary code for executable_name.
Ezio Melotti [Fri, 23 Nov 2012 17:46:29 +0000 (19:46 +0200)]
#16530: merge with 3.2.
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:52:39 +0000 (18:52 +0200)]
#16306: merge with 3.2.
Ezio Melotti [Fri, 23 Nov 2012 16:48:32 +0000 (18:48 +0200)]
#16306: report only the first unknown option and add more tests. Patch by Serhiy Storchaka.
Andrew Svetlov [Fri, 23 Nov 2012 13:28:34 +0000 (15:28 +0200)]
Issue #16538: correctly describe MAKE_CLOSURE in docs.
Patch by Daniel Urban
Stefan Krah [Thu, 22 Nov 2012 22:47:32 +0000 (23:47 +0100)]
Fix more usages of NULL without including stdio.h.
Stefan Krah [Thu, 22 Nov 2012 21:49:11 +0000 (22:49 +0100)]
Issue #13057: Include stdio.h when NULL is used in configure.ac.
Éric Araujo [Thu, 22 Nov 2012 05:13:49 +0000 (00:13 -0500)]
Address reviews for open’s opener argument doc patch (#13424).
* Remove example deemed not helpful.
* Simplify the other one.
* Add missing target to ref.
Ezio Melotti [Wed, 21 Nov 2012 16:36:52 +0000 (18:36 +0200)]
Null merge with 3.2.
Ezio Melotti [Wed, 21 Nov 2012 16:36:08 +0000 (18:36 +0200)]
Remove unused variabile "plain" in builtin_exec.
Chris Jerdonek [Wed, 21 Nov 2012 13:34:26 +0000 (05:34 -0800)]
Null merge from 3.2.
Chris Jerdonek [Wed, 21 Nov 2012 13:32:44 +0000 (05:32 -0800)]
Fix label in docs (from issue #13538).
Chris Jerdonek [Wed, 21 Nov 2012 01:45:51 +0000 (17:45 -0800)]
Improve str() and object.__str__() documentation (issue #13538).
Chris Jerdonek [Wed, 21 Nov 2012 01:44:02 +0000 (17:44 -0800)]
Null merge from 3.2 (issue #13538).
Chris Jerdonek [Wed, 21 Nov 2012 01:31:02 +0000 (17:31 -0800)]
Improve str() and object.__str__() documentation (issue #13538).
Barry Warsaw [Tue, 20 Nov 2012 22:11:46 +0000 (17:11 -0500)]
null merge
Barry Warsaw [Tue, 20 Nov 2012 22:10:10 +0000 (17:10 -0500)]
Do a better job of preserving the state of sys.modules.
Barry Warsaw [Tue, 20 Nov 2012 22:05:41 +0000 (17:05 -0500)]
Do a better job of ensuring test reproducibility and clean up.
Antoine Pitrou [Tue, 20 Nov 2012 21:35:53 +0000 (22:35 +0100)]
Merge test from issue #1160.
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.
Barry Warsaw [Tue, 20 Nov 2012 20:22:51 +0000 (15:22 -0500)]
- Issue #16514: Fix regression causing a traceback when sys.path[0] is None
(actually, any non-string or non-bytes type).
Andrew Svetlov [Tue, 20 Nov 2012 14:12:38 +0000 (16:12 +0200)]
Fix typo in multiprocessing documentation, thanks to Dmitry Tolstoy from docs@
Stefan Krah [Sun, 18 Nov 2012 23:54:05 +0000 (00:54 +0100)]
Ezio Melotti [Sun, 18 Nov 2012 21:15:47 +0000 (23:15 +0200)]
#7782: merge with 3.2.
Ezio Melotti [Sun, 18 Nov 2012 21:14:42 +0000 (23:14 +0200)]
#7782: add a test for test_iter.
Antoine Pitrou [Sun, 18 Nov 2012 17:37:24 +0000 (18:37 +0100)]
The poplib module provides two classes, not one.
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 12:02:08 +0000 (14:02 +0200)]
#16306: merge with 3.2.
Ezio Melotti [Sun, 18 Nov 2012 11:55:52 +0000 (13:55 +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:22:34 +0000 (13:22 +0200)]
#14313: null merge.
Ezio Melotti [Sun, 18 Nov 2012 11:20:36 +0000 (13:20 +0200)]
#14313: zipfile now raises NotImplementedError when the compression type is unknown.
Ezio Melotti [Sun, 18 Nov 2012 10:56:17 +0000 (12:56 +0200)]
#16053: merge with 3.2.
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:42:27 +0000 (10:42 +0000)]
Merge typo fix from 3.2.
Mark Dickinson [Sun, 18 Nov 2012 10:42:07 +0000 (10:42 +0000)]
Typo fix.
Mark Dickinson [Sun, 18 Nov 2012 10:22:40 +0000 (10:22 +0000)]
Issue #12005: merge doc patch from 3.2
Mark Dickinson [Sun, 18 Nov 2012 10:22:05 +0000 (10:22 +0000)]
Issue #12005: clarify behaviour of % and // for Decimal objects.
Antoine Pitrou [Sat, 17 Nov 2012 22:52:05 +0000 (23:52 +0100)]
Issue #16408: Fix file descriptors not being closed in error conditions in the zipfile module.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sat, 17 Nov 2012 22:50:08 +0000 (23:50 +0100)]
Issue #16408: Fix file descriptors not being closed in error conditions in the zipfile module.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sat, 17 Nov 2012 22:28:17 +0000 (23:28 +0100)]
Issue #16215: Fix potential double memory free in str.replace().
Patch by Serhiy Storchaka.