]>
granicus.if.org Git - python/log
Gregory P. Smith [Sat, 21 Jan 2012 22:50:56 +0000 (14:50 -0800)]
A Misc/NEWS entry for issue 8052.
Gregory P. Smith [Sat, 21 Jan 2012 22:50:11 +0000 (14:50 -0800)]
Add a Misc/NEWS entry for issue 8052.
Gregory P. Smith [Sat, 21 Jan 2012 22:39:29 +0000 (14:39 -0800)]
Fixes issue #8052: The posix subprocess module's close_fds behavior was
suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().
It now closes only the open fds when it is possible to safely determine what
those are.
Gregory P. Smith [Sat, 21 Jan 2012 22:01:08 +0000 (14:01 -0800)]
Fixes issue #8052: The posix subprocess module's close_fds behavior was
suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().
It now closes only the open fds when it is possible to safely determine what
those are.
Gregory P. Smith [Sat, 21 Jan 2012 20:51:30 +0000 (12:51 -0800)]
Avoid the compiler warning about the unused return value.
Gregory P. Smith [Sat, 21 Jan 2012 20:31:25 +0000 (12:31 -0800)]
Avoid the compiler warning about the unused return value.
Antoine Pitrou [Sat, 21 Jan 2012 19:22:40 +0000 (20:22 +0100)]
Issue #12922: fix the TextIOBase documentation to include a description of seek() and tell() methods.
Antoine Pitrou [Sat, 21 Jan 2012 19:20:49 +0000 (20:20 +0100)]
Issue #12922: fix the TextIOBase documentation to include a description of seek() and tell() methods.
Victor Stinner [Sat, 21 Jan 2012 14:50:49 +0000 (15:50 +0100)]
Issue #13706: Support non-ASCII fill characters
Sandro Tosi [Sat, 21 Jan 2012 10:00:03 +0000 (11:00 +0100)]
merge with 3.2
Sandro Tosi [Sat, 21 Jan 2012 09:59:37 +0000 (10:59 +0100)]
fix typo; thanks to Justin Watt from docs@
Senthil Kumaran [Sat, 21 Jan 2012 03:55:40 +0000 (11:55 +0800)]
merge from 3.2
Senthil Kumaran [Sat, 21 Jan 2012 03:52:48 +0000 (11:52 +0800)]
Fix Issue6631 - Disallow relative file paths in urllib urlopen
Benjamin Peterson [Fri, 20 Jan 2012 16:01:06 +0000 (11:01 -0500)]
add another test case
Łukasz Langa [Fri, 20 Jan 2012 14:55:27 +0000 (15:55 +0100)]
phony merge of
76077971ee1f from 3.2
Łukasz Langa [Fri, 20 Jan 2012 14:53:10 +0000 (15:53 +0100)]
#13760: picklability tests for configparser exceptions
Łukasz Langa [Fri, 20 Jan 2012 13:57:55 +0000 (14:57 +0100)]
#13760: picklability tests for configparser exceptions
Vinay Sajip [Fri, 20 Jan 2012 11:31:46 +0000 (11:31 +0000)]
Closes #13807: Merged fix from 3.2.
Vinay Sajip [Fri, 20 Jan 2012 11:27:36 +0000 (11:27 +0000)]
Closes #13807: Merged fix from 3.1.
Vinay Sajip [Fri, 20 Jan 2012 11:23:02 +0000 (11:23 +0000)]
Closes #13807: Now checks for sys.stderr being there before writing to it.
Meador Inge [Fri, 20 Jan 2012 04:24:55 +0000 (22:24 -0600)]
Issue #12949: Document the kwonlyargcount argument for the PyCode_New C API function.
Meador Inge [Fri, 20 Jan 2012 04:06:31 +0000 (22:06 -0600)]
Issue #12949: Document the kwonlyargcount argument for the PyCode_New C API function.
Victor Stinner [Fri, 20 Jan 2012 01:24:18 +0000 (02:24 +0100)]
Issue #10278: Be more explicit in tests than wallclock() is monotonic (cannot
go backward)
Eric V. Smith [Fri, 20 Jan 2012 01:04:28 +0000 (20:04 -0500)]
Improve exception text. Closes issue 13811.
Benjamin Peterson [Thu, 19 Jan 2012 22:46:13 +0000 (17:46 -0500)]
check after comments, too (#13832)
Sandro Tosi [Thu, 19 Jan 2012 21:23:17 +0000 (22:23 +0100)]
Issue #13605: merge with 3.2
Sandro Tosi [Thu, 19 Jan 2012 21:23:00 +0000 (22:23 +0100)]
Issue #13605: more meaningful example + fixes
Sandro Tosi [Thu, 19 Jan 2012 21:00:21 +0000 (22:00 +0100)]
Issue #13605: merge with 3.2
Sandro Tosi [Thu, 19 Jan 2012 20:59:55 +0000 (21:59 +0100)]
Issue #13605: add documentation for nargs=argparse.REMAINDER
Benjamin Peterson [Thu, 19 Jan 2012 13:48:18 +0000 (08:48 -0500)]
don't leak node
Benjamin Peterson [Thu, 19 Jan 2012 13:48:11 +0000 (08:48 -0500)]
only check this when parsing python
Sandro Tosi [Thu, 19 Jan 2012 10:29:48 +0000 (11:29 +0100)]
Issue #11948: merge with 3.2
Sandro Tosi [Thu, 19 Jan 2012 10:29:26 +0000 (11:29 +0100)]
Issue #11948: clarify modules search path
Meador Inge [Thu, 19 Jan 2012 07:08:41 +0000 (01:08 -0600)]
Issue #12705: Raise SyntaxError when compiling multiple statements as single interactive statement
Meador Inge [Thu, 19 Jan 2012 06:44:45 +0000 (00:44 -0600)]
Issue #2134: Add support for tokenize.TokenInfo.exact_type.
Meador Inge [Thu, 19 Jan 2012 06:34:21 +0000 (00:34 -0600)]
Null merge
Meador Inge [Thu, 19 Jan 2012 06:22:22 +0000 (00:22 -0600)]
Issue #2134: Clarify token.OP handling rationale in tokenize documentation.
Benjamin Peterson [Thu, 19 Jan 2012 04:09:32 +0000 (23:09 -0500)]
improve casefold/lower/upper docs
Antoine Pitrou [Wed, 18 Jan 2012 21:35:21 +0000 (22:35 +0100)]
Be more lenient in test_wallclock (issue #10278).
Antoine Pitrou [Wed, 18 Jan 2012 21:31:12 +0000 (22:31 +0100)]
Issue #13722: Avoid silencing ImportErrors when initializing the codecs registry.
Antoine Pitrou [Wed, 18 Jan 2012 21:30:21 +0000 (22:30 +0100)]
Issue #13722: Avoid silencing ImportErrors when initializing the codecs registry.
Antoine Pitrou [Wed, 18 Jan 2012 20:45:15 +0000 (21:45 +0100)]
Finally fix all test_capi refleaks
Antoine Pitrou [Wed, 18 Jan 2012 20:35:21 +0000 (21:35 +0100)]
Fix some of the remaining test_capi leaks
Antoine Pitrou [Wed, 18 Jan 2012 20:29:05 +0000 (21:29 +0100)]
Fix some of the remaining test_capi refleaks
Antoine Pitrou [Wed, 18 Jan 2012 20:24:18 +0000 (21:24 +0100)]
Fix some of the refleaks in test_capi (ported from 3.2)
Antoine Pitrou [Wed, 18 Jan 2012 20:23:13 +0000 (21:23 +0100)]
Fix refleaks in test_capi
(this was easier than I thought!)
Antoine Pitrou [Wed, 18 Jan 2012 19:17:58 +0000 (20:17 +0100)]
Fix the builtin module initialization code to store the init function for future reinitialization.
Antoine Pitrou [Wed, 18 Jan 2012 19:16:09 +0000 (20:16 +0100)]
Fix the builtin module initialization code to store the init function for future reinitialization.
Antoine Pitrou [Wed, 18 Jan 2012 16:40:48 +0000 (17:40 +0100)]
Add part of test_inspect test from 2.7
Antoine Pitrou [Wed, 18 Jan 2012 16:40:18 +0000 (17:40 +0100)]
Add part of test_inspect test from 2.7
Antoine Pitrou [Wed, 18 Jan 2012 15:19:19 +0000 (16:19 +0100)]
Merge refleak fixes from 3.2
Antoine Pitrou [Wed, 18 Jan 2012 15:13:56 +0000 (16:13 +0100)]
Fix the _io module leaking references when a sub-interpreter is created.
Antoine Pitrou [Wed, 18 Jan 2012 15:13:31 +0000 (16:13 +0100)]
Fix leaking a RuntimeError objects when creating sub-interpreters
Antoine Pitrou [Wed, 18 Jan 2012 14:28:38 +0000 (15:28 +0100)]
Fix a memory leak when initializing the standard I/O streams.
Antoine Pitrou [Wed, 18 Jan 2012 14:14:46 +0000 (15:14 +0100)]
Fix a memory leak when initializing the standard I/O streams.
Lars Gustäbel [Wed, 18 Jan 2012 13:01:17 +0000 (14:01 +0100)]
Issue #5689: Avoid excessive memory usage by using the default lzma preset.
Nadeem Vawda [Wed, 18 Jan 2012 07:32:25 +0000 (09:32 +0200)]
Merge: #13781: Fix GzipFile to work with os.fdopen()'d file objects.
Nadeem Vawda [Wed, 18 Jan 2012 07:25:58 +0000 (09:25 +0200)]
Issue #13781: Fix GzipFile to work with os.fdopen()'d file objects.
Jesus Cea [Wed, 18 Jan 2012 04:05:41 +0000 (05:05 +0100)]
MERGE: And yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
Jesus Cea [Wed, 18 Jan 2012 04:04:49 +0000 (05:04 +0100)]
And yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
Jesus Cea [Wed, 18 Jan 2012 03:49:54 +0000 (04:49 +0100)]
MERGE: Yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
Jesus Cea [Wed, 18 Jan 2012 03:49:26 +0000 (04:49 +0100)]
Yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
Ezio Melotti [Wed, 18 Jan 2012 03:43:21 +0000 (05:43 +0200)]
#13665: merge with 3.2.
Ezio Melotti [Wed, 18 Jan 2012 03:42:39 +0000 (05:42 +0200)]
#13665: s/string/bytes/ in error message.
Ezio Melotti [Wed, 18 Jan 2012 03:40:00 +0000 (05:40 +0200)]
Use ASCII quotes and fix markup.
Jesus Cea [Wed, 18 Jan 2012 03:28:05 +0000 (04:28 +0100)]
MERGE: Emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
Jesus Cea [Wed, 18 Jan 2012 03:27:37 +0000 (04:27 +0100)]
Emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
Jesus Cea [Wed, 18 Jan 2012 03:01:24 +0000 (04:01 +0100)]
MERGE: Closes #13803: Under Solaris, distutils doesn't include bitness in the directory name
Jesus Cea [Wed, 18 Jan 2012 02:58:42 +0000 (03:58 +0100)]
Closes #13803: Under Solaris, distutils doesn't include bitness in the directory name
Antoine Pitrou [Wed, 18 Jan 2012 01:05:38 +0000 (02:05 +0100)]
Merge
Victor Stinner [Wed, 18 Jan 2012 00:57:19 +0000 (01:57 +0100)]
Issue #10278: fix a typo in the doc
Victor Stinner [Wed, 18 Jan 2012 00:50:21 +0000 (01:50 +0100)]
Close #10278: Add time.wallclock() function, monotonic clock.
Antoine Pitrou [Wed, 18 Jan 2012 00:41:44 +0000 (01:41 +0100)]
Fix error handling in timemodule.c
Ezio Melotti [Wed, 18 Jan 2012 00:32:07 +0000 (02:32 +0200)]
Add missing versionadded in webbrowser doc.
Nadeem Vawda [Tue, 17 Jan 2012 23:57:14 +0000 (01:57 +0200)]
Issue #13809: Make bz2 module work with threads disabled.
Original patch by Amaury Forgeot d'Arc.
Antoine Pitrou [Tue, 17 Jan 2012 23:22:06 +0000 (00:22 +0100)]
Test running of code in a sub-interpreter
(prelude to issue #6531).
Antoine Pitrou [Tue, 17 Jan 2012 23:21:11 +0000 (00:21 +0100)]
Test running of code in a sub-interpreter
(prelude to issue #6531).
Amaury Forgeot d'Arc [Tue, 17 Jan 2012 20:31:50 +0000 (21:31 +0100)]
Issue #13727: Add 3 macros to access PyDateTime_Delta members:
PyDateTime_DELTA_GET_DAYS, PyDateTime_DELTA_GET_SECONDS,
PyDateTime_DELTA_GET_MICROSECONDS.
Please use them instead of directly accessing PyDateTime_Delta struct members.
Antoine Pitrou [Tue, 17 Jan 2012 16:14:30 +0000 (17:14 +0100)]
Issue #13589: Fix some serialization primitives in the aifc module.
Patch by Oleg Plakhotnyuk.
Antoine Pitrou [Tue, 17 Jan 2012 16:13:04 +0000 (17:13 +0100)]
Issue #13589: Fix some serialization primitives in the aifc module.
Patch by Oleg Plakhotnyuk.
Ronald Oussoren [Tue, 17 Jan 2012 15:53:20 +0000 (16:53 +0100)]
Add missing sentinel to PyCursesWindow_getsets
The PyCursesWindow_getsets array was introduced without sentinel in
c3581ca21a57 .
Benjamin Peterson [Mon, 16 Jan 2012 23:02:21 +0000 (18:02 -0500)]
fix indentation
Benjamin Peterson [Mon, 16 Jan 2012 22:44:12 +0000 (17:44 -0500)]
break out switch at correct place
Benjamin Peterson [Mon, 16 Jan 2012 22:31:43 +0000 (17:31 -0500)]
only finish error if one occurred
Benjamin Peterson [Mon, 16 Jan 2012 22:29:05 +0000 (17:29 -0500)]
move LINENO define to where it actually belongs
Benjamin Peterson [Mon, 16 Jan 2012 22:22:31 +0000 (17:22 -0500)]
streamline normalizer identification a bit
Georg Brandl [Mon, 16 Jan 2012 20:40:20 +0000 (21:40 +0100)]
Remove "documenting" latex document.
Georg Brandl [Mon, 16 Jan 2012 20:40:12 +0000 (21:40 +0100)]
Remove "documenting" latex document.
Georg Brandl [Mon, 16 Jan 2012 20:39:56 +0000 (21:39 +0100)]
Remove "documenting" latex document.
Benjamin Peterson [Mon, 16 Jan 2012 19:28:50 +0000 (14:28 -0500)]
don't ready in case_operation, since most callers do it themselves
Sandro Tosi [Mon, 16 Jan 2012 17:03:51 +0000 (18:03 +0100)]
Issue: #12409: merge with 3.2
Sandro Tosi [Mon, 16 Jan 2012 17:02:09 +0000 (18:02 +0100)]
Issue: #12409: remove obsolete susp-entries
Brett Cannon [Mon, 16 Jan 2012 16:46:22 +0000 (11:46 -0500)]
Issue #13588: Rename decorators in importlib.
More descriptive names are now used in order to make tracebacks
more readable.
Benjamin Peterson [Mon, 16 Jan 2012 14:56:35 +0000 (09:56 -0500)]
fix spelling
Benjamin Peterson [Mon, 16 Jan 2012 14:55:53 +0000 (09:55 -0500)]
invert condition (head bang)
Benjamin Peterson [Mon, 16 Jan 2012 14:54:28 +0000 (09:54 -0500)]
murder tabs
Benjamin Peterson [Mon, 16 Jan 2012 14:50:48 +0000 (09:50 -0500)]
fix possible refleaks
Benjamin Peterson [Mon, 16 Jan 2012 14:49:20 +0000 (09:49 -0500)]
use helpful PyUnicode_IS_ASCII macro
Benjamin Peterson [Mon, 16 Jan 2012 14:47:42 +0000 (09:47 -0500)]
PyUnicode_DecodeUTF8 will always return a ready string
Benjamin Peterson [Mon, 16 Jan 2012 14:42:36 +0000 (09:42 -0500)]
rewrite such that this actually makes sense