]> granicus.if.org Git - python/log
python
12 years agoA Misc/NEWS entry for issue 8052.
Gregory P. Smith [Sat, 21 Jan 2012 22:50:56 +0000 (14:50 -0800)]
A Misc/NEWS entry for issue 8052.

12 years agoAdd 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.

12 years agoFixes issue #8052: The posix subprocess module's close_fds behavior was
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.

12 years agoFixes issue #8052: The posix subprocess module's close_fds behavior was
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.

12 years agoAvoid the compiler warning about the unused return value.
Gregory P. Smith [Sat, 21 Jan 2012 20:51:30 +0000 (12:51 -0800)]
Avoid the compiler warning about the unused return value.

12 years agoAvoid 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.

12 years agoIssue #12922: fix the TextIOBase documentation to include a description of seek(...
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.

12 years agoIssue #12922: fix the TextIOBase documentation to include a description of seek(...
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.

12 years agoIssue #13706: Support non-ASCII fill characters
Victor Stinner [Sat, 21 Jan 2012 14:50:49 +0000 (15:50 +0100)]
Issue #13706: Support non-ASCII fill characters

12 years agomerge with 3.2
Sandro Tosi [Sat, 21 Jan 2012 10:00:03 +0000 (11:00 +0100)]
merge with 3.2

12 years agofix typo; thanks to Justin Watt from docs@
Sandro Tosi [Sat, 21 Jan 2012 09:59:37 +0000 (10:59 +0100)]
fix typo; thanks to Justin Watt from docs@

12 years agomerge from 3.2
Senthil Kumaran [Sat, 21 Jan 2012 03:55:40 +0000 (11:55 +0800)]
merge from 3.2

12 years agoFix Issue6631 - Disallow relative file paths in urllib urlopen
Senthil Kumaran [Sat, 21 Jan 2012 03:52:48 +0000 (11:52 +0800)]
Fix  Issue6631 - Disallow relative file paths in urllib urlopen

13 years agoadd another test case
Benjamin Peterson [Fri, 20 Jan 2012 16:01:06 +0000 (11:01 -0500)]
add another test case

13 years agophony merge of 76077971ee1f from 3.2
Łukasz Langa [Fri, 20 Jan 2012 14:55:27 +0000 (15:55 +0100)]
phony merge of 76077971ee1f from 3.2

13 years ago#13760: picklability tests for configparser exceptions
Łukasz Langa [Fri, 20 Jan 2012 14:53:10 +0000 (15:53 +0100)]
#13760: picklability tests for configparser exceptions

13 years ago#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

13 years agoCloses #13807: Merged fix from 3.2.
Vinay Sajip [Fri, 20 Jan 2012 11:31:46 +0000 (11:31 +0000)]
Closes #13807: Merged fix from 3.2.

13 years agoCloses #13807: Merged fix from 3.1.
Vinay Sajip [Fri, 20 Jan 2012 11:27:36 +0000 (11:27 +0000)]
Closes #13807: Merged fix from 3.1.

13 years agoCloses #13807: Now checks for sys.stderr being there before writing to it.
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.

13 years agoIssue #12949: Document the kwonlyargcount argument for the PyCode_New C API function.
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.

13 years agoIssue #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.

13 years agoIssue #10278: Be more explicit in tests than wallclock() is monotonic (cannot
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)

13 years agoImprove exception text. Closes issue 13811.
Eric V. Smith [Fri, 20 Jan 2012 01:04:28 +0000 (20:04 -0500)]
Improve exception text. Closes issue 13811.

13 years agocheck after comments, too (#13832)
Benjamin Peterson [Thu, 19 Jan 2012 22:46:13 +0000 (17:46 -0500)]
check after comments, too (#13832)

13 years agoIssue #13605: merge with 3.2
Sandro Tosi [Thu, 19 Jan 2012 21:23:17 +0000 (22:23 +0100)]
Issue #13605: merge with 3.2

13 years agoIssue #13605: more meaningful example + fixes
Sandro Tosi [Thu, 19 Jan 2012 21:23:00 +0000 (22:23 +0100)]
Issue #13605: more meaningful example + fixes

13 years agoIssue #13605: merge with 3.2
Sandro Tosi [Thu, 19 Jan 2012 21:00:21 +0000 (22:00 +0100)]
Issue #13605: merge with 3.2

13 years agoIssue #13605: add documentation for nargs=argparse.REMAINDER
Sandro Tosi [Thu, 19 Jan 2012 20:59:55 +0000 (21:59 +0100)]
Issue #13605: add documentation for nargs=argparse.REMAINDER

13 years agodon't leak node
Benjamin Peterson [Thu, 19 Jan 2012 13:48:18 +0000 (08:48 -0500)]
don't leak node

13 years agoonly check this when parsing python
Benjamin Peterson [Thu, 19 Jan 2012 13:48:11 +0000 (08:48 -0500)]
only check this when parsing python

13 years agoIssue #11948: merge with 3.2
Sandro Tosi [Thu, 19 Jan 2012 10:29:48 +0000 (11:29 +0100)]
Issue #11948: merge with 3.2

13 years agoIssue #11948: clarify modules search path
Sandro Tosi [Thu, 19 Jan 2012 10:29:26 +0000 (11:29 +0100)]
Issue #11948: clarify modules search path

13 years agoIssue #12705: Raise SyntaxError when compiling multiple statements as single interact...
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

13 years agoIssue #2134: Add support for tokenize.TokenInfo.exact_type.
Meador Inge [Thu, 19 Jan 2012 06:44:45 +0000 (00:44 -0600)]
Issue #2134: Add support for tokenize.TokenInfo.exact_type.

13 years agoNull merge
Meador Inge [Thu, 19 Jan 2012 06:34:21 +0000 (00:34 -0600)]
Null merge

13 years agoIssue #2134: Clarify token.OP handling rationale in tokenize documentation.
Meador Inge [Thu, 19 Jan 2012 06:22:22 +0000 (00:22 -0600)]
Issue #2134: Clarify token.OP handling rationale in tokenize documentation.

13 years agoimprove casefold/lower/upper docs
Benjamin Peterson [Thu, 19 Jan 2012 04:09:32 +0000 (23:09 -0500)]
improve casefold/lower/upper docs

13 years agoBe more lenient in test_wallclock (issue #10278).
Antoine Pitrou [Wed, 18 Jan 2012 21:35:21 +0000 (22:35 +0100)]
Be more lenient in test_wallclock (issue #10278).

13 years agoIssue #13722: Avoid silencing ImportErrors when initializing the codecs registry.
Antoine Pitrou [Wed, 18 Jan 2012 21:31:12 +0000 (22:31 +0100)]
Issue #13722: Avoid silencing ImportErrors when initializing the codecs registry.

13 years agoIssue #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.

13 years agoFinally fix all test_capi refleaks
Antoine Pitrou [Wed, 18 Jan 2012 20:45:15 +0000 (21:45 +0100)]
Finally fix all test_capi refleaks

13 years agoFix some of the remaining test_capi leaks
Antoine Pitrou [Wed, 18 Jan 2012 20:35:21 +0000 (21:35 +0100)]
Fix some of the remaining test_capi leaks

13 years agoFix some of the remaining test_capi refleaks
Antoine Pitrou [Wed, 18 Jan 2012 20:29:05 +0000 (21:29 +0100)]
Fix some of the remaining test_capi refleaks

13 years agoFix some of the refleaks in test_capi (ported from 3.2)
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)

13 years agoFix refleaks in test_capi
Antoine Pitrou [Wed, 18 Jan 2012 20:23:13 +0000 (21:23 +0100)]
Fix refleaks in test_capi
(this was easier than I thought!)

13 years agoFix the builtin module initialization code to store the init function for future...
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.

13 years agoFix the builtin module initialization code to store the init function for future...
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.

13 years agoAdd part of test_inspect test from 2.7
Antoine Pitrou [Wed, 18 Jan 2012 16:40:48 +0000 (17:40 +0100)]
Add part of test_inspect test from 2.7

13 years agoAdd 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

13 years agoMerge refleak fixes from 3.2
Antoine Pitrou [Wed, 18 Jan 2012 15:19:19 +0000 (16:19 +0100)]
Merge refleak fixes from 3.2

13 years agoFix the _io module leaking references when a sub-interpreter is created.
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.

13 years agoFix leaking a RuntimeError objects when creating sub-interpreters
Antoine Pitrou [Wed, 18 Jan 2012 15:13:31 +0000 (16:13 +0100)]
Fix leaking a RuntimeError objects when creating sub-interpreters

13 years agoFix a memory leak when initializing the standard I/O streams.
Antoine Pitrou [Wed, 18 Jan 2012 14:28:38 +0000 (15:28 +0100)]
Fix a memory leak when initializing the standard I/O streams.

13 years agoFix 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.

13 years agoIssue #5689: Avoid excessive memory usage by using the default lzma preset.
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.

13 years agoMerge: #13781: Fix GzipFile to work with os.fdopen()'d file objects.
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.

13 years agoIssue #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.

13 years agoMERGE: And yet another emergency fix for #13803 bootstrap issue: Under Solaris, distu...
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

13 years agoAnd yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils...
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

13 years agoMERGE: Yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils...
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

13 years agoYet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn...
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

13 years ago#13665: merge with 3.2.
Ezio Melotti [Wed, 18 Jan 2012 03:43:21 +0000 (05:43 +0200)]
#13665: merge with 3.2.

13 years ago#13665: s/string/bytes/ in error message.
Ezio Melotti [Wed, 18 Jan 2012 03:42:39 +0000 (05:42 +0200)]
#13665: s/string/bytes/ in error message.

13 years agoUse ASCII quotes and fix markup.
Ezio Melotti [Wed, 18 Jan 2012 03:40:00 +0000 (05:40 +0200)]
Use ASCII quotes and fix markup.

13 years agoMERGE: Emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't...
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

13 years agoEmergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include...
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

13 years agoMERGE: Closes #13803: Under Solaris, distutils doesn't include bitness in the directo...
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

13 years agoCloses #13803: Under Solaris, distutils doesn't include bitness in the directory...
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

13 years agoMerge
Antoine Pitrou [Wed, 18 Jan 2012 01:05:38 +0000 (02:05 +0100)]
Merge

13 years agoIssue #10278: fix a typo in the doc
Victor Stinner [Wed, 18 Jan 2012 00:57:19 +0000 (01:57 +0100)]
Issue #10278: fix a typo in the doc

13 years agoClose #10278: Add time.wallclock() function, monotonic clock.
Victor Stinner [Wed, 18 Jan 2012 00:50:21 +0000 (01:50 +0100)]
Close #10278: Add time.wallclock() function, monotonic clock.

13 years agoFix error handling in timemodule.c
Antoine Pitrou [Wed, 18 Jan 2012 00:41:44 +0000 (01:41 +0100)]
Fix error handling in timemodule.c

13 years agoAdd missing versionadded in webbrowser doc.
Ezio Melotti [Wed, 18 Jan 2012 00:32:07 +0000 (02:32 +0200)]
Add missing versionadded in webbrowser doc.

13 years agoIssue #13809: Make bz2 module work with threads disabled.
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.

13 years agoTest running of code in a sub-interpreter
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).

13 years agoTest running of code in a sub-interpreter
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).

13 years agoIssue #13727: Add 3 macros to access PyDateTime_Delta members:
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.

13 years agoIssue #13589: Fix some serialization primitives in the aifc module.
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.

13 years agoIssue #13589: Fix some serialization primitives in the aifc module.
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.

13 years agoAdd missing sentinel to PyCursesWindow_getsets
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.

13 years agofix indentation
Benjamin Peterson [Mon, 16 Jan 2012 23:02:21 +0000 (18:02 -0500)]
fix indentation

13 years agobreak out switch at correct place
Benjamin Peterson [Mon, 16 Jan 2012 22:44:12 +0000 (17:44 -0500)]
break out switch at correct place

13 years agoonly finish error if one occurred
Benjamin Peterson [Mon, 16 Jan 2012 22:31:43 +0000 (17:31 -0500)]
only finish error if one occurred

13 years agomove LINENO define to where it actually belongs
Benjamin Peterson [Mon, 16 Jan 2012 22:29:05 +0000 (17:29 -0500)]
move LINENO define to where it actually belongs

13 years agostreamline normalizer identification a bit
Benjamin Peterson [Mon, 16 Jan 2012 22:22:31 +0000 (17:22 -0500)]
streamline normalizer identification a bit

13 years agoRemove "documenting" latex document.
Georg Brandl [Mon, 16 Jan 2012 20:40:20 +0000 (21:40 +0100)]
Remove "documenting" latex document.

13 years agoRemove "documenting" latex document.
Georg Brandl [Mon, 16 Jan 2012 20:40:12 +0000 (21:40 +0100)]
Remove "documenting" latex document.

13 years agoRemove "documenting" latex document.
Georg Brandl [Mon, 16 Jan 2012 20:39:56 +0000 (21:39 +0100)]
Remove "documenting" latex document.

13 years agodon't ready in case_operation, since most callers do it themselves
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

13 years agoIssue: #12409: merge with 3.2
Sandro Tosi [Mon, 16 Jan 2012 17:03:51 +0000 (18:03 +0100)]
Issue: #12409: merge with 3.2

13 years agoIssue: #12409: remove obsolete susp-entries
Sandro Tosi [Mon, 16 Jan 2012 17:02:09 +0000 (18:02 +0100)]
Issue: #12409: remove obsolete susp-entries

13 years agoIssue #13588: Rename decorators in importlib.
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.

13 years agofix spelling
Benjamin Peterson [Mon, 16 Jan 2012 14:56:35 +0000 (09:56 -0500)]
fix spelling

13 years agoinvert condition (head bang)
Benjamin Peterson [Mon, 16 Jan 2012 14:55:53 +0000 (09:55 -0500)]
invert condition (head bang)

13 years agomurder tabs
Benjamin Peterson [Mon, 16 Jan 2012 14:54:28 +0000 (09:54 -0500)]
murder tabs

13 years agofix possible refleaks
Benjamin Peterson [Mon, 16 Jan 2012 14:50:48 +0000 (09:50 -0500)]
fix possible refleaks

13 years agouse helpful PyUnicode_IS_ASCII macro
Benjamin Peterson [Mon, 16 Jan 2012 14:49:20 +0000 (09:49 -0500)]
use helpful PyUnicode_IS_ASCII macro

13 years agoPyUnicode_DecodeUTF8 will always return a ready string
Benjamin Peterson [Mon, 16 Jan 2012 14:47:42 +0000 (09:47 -0500)]
PyUnicode_DecodeUTF8 will always return a ready string

13 years agorewrite such that this actually makes sense
Benjamin Peterson [Mon, 16 Jan 2012 14:42:36 +0000 (09:42 -0500)]
rewrite such that this actually makes sense