]>
granicus.if.org Git - python/log
Gregory P. Smith [Fri, 1 Feb 2013 21:08:51 +0000 (13:08 -0800)]
null merge
Gregory P. Smith [Fri, 1 Feb 2013 21:08:23 +0000 (13:08 -0800)]
Additional fix for issue #12268: The io module file object write methods no
longer abort early when a write system call is interrupted (EINTR).
Gregory P. Smith [Fri, 1 Feb 2013 21:06:44 +0000 (13:06 -0800)]
better corrected news entry
Gregory P. Smith [Fri, 1 Feb 2013 21:03:39 +0000 (13:03 -0800)]
Additional fix for Issue #12268: The io module file object writelines() methods no longer abort early when one of its write system calls is interrupted (EINTR).
Gregory P. Smith [Fri, 1 Feb 2013 19:31:31 +0000 (11:31 -0800)]
Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.
Gregory P. Smith [Fri, 1 Feb 2013 19:22:43 +0000 (11:22 -0800)]
Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.
Brett Cannon [Fri, 1 Feb 2013 19:04:12 +0000 (14:04 -0500)]
Issue #17098: Make sure every module has __loader__ defined.
Thanks to Thomas Heller for the bug report.
Serhiy Storchaka [Fri, 1 Feb 2013 11:14:47 +0000 (13:14 +0200)]
Issue #1783: Remove declarations of nonexistent private variables.
Serhiy Storchaka [Fri, 1 Feb 2013 11:14:20 +0000 (13:14 +0200)]
Issue #1783: Remove declarations of nonexistent private variables.
Ezio Melotti [Fri, 1 Feb 2013 03:20:06 +0000 (05:20 +0200)]
#16128: merge with 3.2.
Ezio Melotti [Fri, 1 Feb 2013 03:18:44 +0000 (05:18 +0200)]
#16128: clarify that instances of user-defined classes compare equal with themselves.
Serhiy Storchaka [Thu, 31 Jan 2013 14:11:28 +0000 (16:11 +0200)]
Issue #17041: Fix doctesting when Python is configured with the
--without-doc-strings.
Serhiy Storchaka [Thu, 31 Jan 2013 14:11:04 +0000 (16:11 +0200)]
Issue #17041: Fix doctesting when Python is configured with the
--without-doc-strings.
Serhiy Storchaka [Thu, 31 Jan 2013 14:01:21 +0000 (16:01 +0200)]
Added test to ensure localized calendar methods return strings and not bytes.
Serhiy Storchaka [Thu, 31 Jan 2013 14:00:42 +0000 (16:00 +0200)]
Added test to ensure localized calendar methods return strings and not bytes.
Serhiy Storchaka [Thu, 31 Jan 2013 13:29:20 +0000 (15:29 +0200)]
Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with an
incomplete "End of Central Directory" record. Original patch by Guilherme
Polo and Alan McIntyre.
Serhiy Storchaka [Thu, 31 Jan 2013 13:27:07 +0000 (15:27 +0200)]
Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with an
incomplete "End of Central Directory" record. Original patch by Guilherme
Polo and Alan McIntyre.
Ned Deily [Thu, 31 Jan 2013 09:34:02 +0000 (01:34 -0800)]
null merge
Ned Deily [Thu, 31 Jan 2013 09:28:23 +0000 (01:28 -0800)]
Issue #13590: OS X Xcode 4 - improve support for universal extension modules
In particular, fix extension module build failures when trying to use
32-bit-only installer Pythons on systems with Xcode 4 (currently
OS X 10.8, 10.7, and optionally 10.6).
* Backport 3.3.0 fixes to 3.2 branch (for release in 3.2.4)
* Since Xcode 4 removes ppc support, extension module builds now
check for ppc compiler support and by default remove ppc and
ppc64 archs when they are not available.
* Extension module builds now revert to using system installed
headers and libs (/usr and /System/Library) if the SDK used
to build the interpreter is not installed or has moved.
* Try to avoid building extension modules with deprecated
and problematic Apple llvm-gcc compiler. If original compiler
is not available, use clang instead by default.
Vinay Sajip [Wed, 30 Jan 2013 13:44:00 +0000 (13:44 +0000)]
Updated venv documentation with an example.
Michael Foord [Tue, 29 Jan 2013 23:14:59 +0000 (23:14 +0000)]
Merge
Michael Foord [Tue, 29 Jan 2013 23:07:57 +0000 (23:07 +0000)]
Closes issue 15505. unittest.installHandler and non-callable signal handlers.
Antoine Pitrou [Tue, 29 Jan 2013 20:20:57 +0000 (21:20 +0100)]
Issue #17071: Signature.bind() now works when one of the keyword arguments is named ``self``.
Serhiy Storchaka [Tue, 29 Jan 2013 18:14:08 +0000 (20:14 +0200)]
Issue #12004: Fix an internal error in PyZipFile when writing an invalid
Python file. Patch by Ben Morgan.
Serhiy Storchaka [Tue, 29 Jan 2013 18:10:28 +0000 (20:10 +0200)]
Issue #12004: Fix an internal error in PyZipFile when writing an invalid
Python file. Patch by Ben Morgan.
Serhiy Storchaka [Tue, 29 Jan 2013 10:13:22 +0000 (12:13 +0200)]
Issue #16971: Fix a refleak in the charmap decoder.
Serhiy Storchaka [Tue, 29 Jan 2013 10:06:28 +0000 (12:06 +0200)]
Move NEWS entity from library to core section.
Serhiy Storchaka [Tue, 29 Jan 2013 10:05:46 +0000 (12:05 +0200)]
Move NEWS entity from library to core section.
Serhiy Storchaka [Tue, 29 Jan 2013 09:41:01 +0000 (11:41 +0200)]
Add tests for raw-unicode-escape codec.
Serhiy Storchaka [Tue, 29 Jan 2013 09:40:00 +0000 (11:40 +0200)]
Add tests for raw-unicode-escape codec.
Serhiy Storchaka [Tue, 29 Jan 2013 09:07:27 +0000 (11:07 +0200)]
Clean up escape-decode decoder tests.
Serhiy Storchaka [Tue, 29 Jan 2013 09:06:53 +0000 (11:06 +0200)]
Clean up escape-decode decoder tests.
Serhiy Storchaka [Tue, 29 Jan 2013 08:44:59 +0000 (10:44 +0200)]
Null merge
Serhiy Storchaka [Tue, 29 Jan 2013 08:40:16 +0000 (10:40 +0200)]
Merge heads
Serhiy Storchaka [Tue, 29 Jan 2013 08:40:04 +0000 (10:40 +0200)]
Merge heads
Serhiy Storchaka [Tue, 29 Jan 2013 08:28:07 +0000 (10:28 +0200)]
Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder.
Serhiy Storchaka [Tue, 29 Jan 2013 08:20:44 +0000 (10:20 +0200)]
Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder.
Ned Deily [Tue, 29 Jan 2013 08:17:19 +0000 (00:17 -0800)]
Issue #14018: merge to 3.3
Ned Deily [Tue, 29 Jan 2013 08:08:32 +0000 (00:08 -0800)]
Issue #14018: Backport OS X installer updates from 3.3.
Benjamin Peterson [Mon, 28 Jan 2013 23:28:38 +0000 (18:28 -0500)]
fix long fixer docs (#4590)
Serhiy Storchaka [Mon, 28 Jan 2013 11:26:25 +0000 (13:26 +0200)]
Fix skip conditions in some docstings tests.
Serhiy Storchaka [Mon, 28 Jan 2013 11:25:44 +0000 (13:25 +0200)]
Fix skip conditions in some docstings tests.
Serhiy Storchaka [Sun, 27 Jan 2013 18:03:39 +0000 (20:03 +0200)]
Issue #17041: Fix testing when Python is configured with the
--without-doc-strings.
Serhiy Storchaka [Sun, 27 Jan 2013 17:47:45 +0000 (19:47 +0200)]
Issue #17041: Fix testing when Python is configured with the
--without-doc-strings.
Nadeem Vawda [Sun, 27 Jan 2013 13:13:25 +0000 (14:13 +0100)]
Issue #13886: Fix input() to not strip out supposedly-invalid input bytes.
Also fix sporadic failures in test_builtin due to dependence on whether the
readline module has previously been imported.
Nadeem Vawda [Sun, 27 Jan 2013 13:01:42 +0000 (14:01 +0100)]
Issue #13886: Fix input() to not strip out supposedly-invalid input bytes.
Also fix sporadic failures in test_builtin due to dependence on whether the
readline module has previously been imported.
Ezio Melotti [Sun, 27 Jan 2013 04:20:14 +0000 (06:20 +0200)]
Fix a few typos and a double semicolon. Patch by Eitan Adler.
Ned Deily [Sun, 27 Jan 2013 02:11:06 +0000 (18:11 -0800)]
null merge
Ned Deily [Sun, 27 Jan 2013 02:09:12 +0000 (18:09 -0800)]
Issue #14018: fix merge error
Sandro Tosi [Sat, 26 Jan 2013 23:33:04 +0000 (00:33 +0100)]
fix typo; thanks to Andrew Harrington from docs@
doko@python.org [Sat, 26 Jan 2013 17:57:19 +0000 (18:57 +0100)]
- Issue #3718: Use AC_ARG_VAR to set MACHDEP in configure.ac.
Stefan Krah [Sat, 26 Jan 2013 12:57:15 +0000 (13:57 +0100)]
Fix test_pydoc for build --without-doc-strings.
Stefan Krah [Sat, 26 Jan 2013 12:06:36 +0000 (13:06 +0100)]
Adapt test_bytes for a build --without-doc-strings.
doko@python.org [Sat, 26 Jan 2013 11:08:25 +0000 (12:08 +0100)]
- Follow-up for issue #15484: In PYTHON_FOR_BUILD, use $(PLATDIR) instead
of plat-$(MACHDEP).
Serhiy Storchaka [Sat, 26 Jan 2013 10:16:36 +0000 (12:16 +0200)]
Issue #10156: In the interpreter's initialization phase, unicode globals
are now initialized dynamically as needed.
Serhiy Storchaka [Sat, 26 Jan 2013 10:14:02 +0000 (12:14 +0200)]
Issue #10156: In the interpreter's initialization phase, unicode globals
are now initialized dynamically as needed.
Serhiy Storchaka [Sat, 26 Jan 2013 09:53:17 +0000 (11:53 +0200)]
Optimize the test for issue #13454.
Now it requires almost 4x less memory and is almost 2x faster.
Serhiy Storchaka [Sat, 26 Jan 2013 09:52:06 +0000 (11:52 +0200)]
Optimize the test for issue #13454.
Now it requires almost 4x less memory and is almost 2x faster.
Serhiy Storchaka [Fri, 25 Jan 2013 21:52:21 +0000 (23:52 +0200)]
Issue #16980: Fix processing of escaped non-ascii bytes in the
unicode-escape-decode decoder.
Serhiy Storchaka [Fri, 25 Jan 2013 21:32:41 +0000 (23:32 +0200)]
Issue #16975: Fix error handling bug in the escape-decode bytes decoder.
Serhiy Storchaka [Fri, 25 Jan 2013 21:31:43 +0000 (23:31 +0200)]
Issue #16975: Fix error handling bug in the escape-decode bytes decoder.
doko@python.org [Fri, 25 Jan 2013 17:45:12 +0000 (18:45 +0100)]
- Issue #17031: Fix running regen in cross builds.
Ronald Oussoren [Fri, 25 Jan 2013 17:01:05 +0000 (18:01 +0100)]
Issue #
1602133 : 'environ' is not really available with shared libraries on OSX (merge from 3.2)
There already was a workaround for this for framework builds on OSX,
this changeset enables the same workaround for shared libraries.
Closes #
1602133
Ronald Oussoren [Fri, 25 Jan 2013 16:57:13 +0000 (17:57 +0100)]
Issue #
1602133 : 'environ' is not really available with shared libraries on OSX
There already was a workaround for this for framework builds on OSX,
this changeset enables the same workaround for shared libraries.
Closes #
1602133
doko@python.org [Fri, 25 Jan 2013 14:34:34 +0000 (15:34 +0100)]
- Issue #3754: fix typo in pthread AC_CACHE_VAL.
doko@python.org [Fri, 25 Jan 2013 14:33:25 +0000 (15:33 +0100)]
- Issue #3754: fix typo in pthread AC_CACHE_VAL.
Serhiy Storchaka [Fri, 25 Jan 2013 14:08:46 +0000 (16:08 +0200)]
Merge heads
doko@python.org [Fri, 25 Jan 2013 13:44:00 +0000 (14:44 +0100)]
- Issue #16292: Improve a comment for cross building in configure.ac
Serhiy Storchaka [Fri, 25 Jan 2013 13:34:21 +0000 (15:34 +0200)]
Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
doko@python.org [Fri, 25 Jan 2013 13:33:33 +0000 (14:33 +0100)]
- Issue #15484: Fix _PYTHON_PROJECT_BASE for srcdir != builddir builds;
use _PYTHON_PROJECT_BASE in distutils/sysconfig.py.
Serhiy Storchaka [Fri, 25 Jan 2013 13:30:58 +0000 (15:30 +0200)]
Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
doko@python.org [Fri, 25 Jan 2013 12:19:35 +0000 (13:19 +0100)]
- Issue #17029: Let h2py search the multiarch system include directory.
doko@python.org [Fri, 25 Jan 2013 12:12:29 +0000 (13:12 +0100)]
- Issue #17029: Let h2py search the multiarch system include directory.
Serhiy Storchaka [Fri, 25 Jan 2013 11:38:56 +0000 (13:38 +0200)]
Clean trailing whitespace in itertoolsmodule.c.
Serhiy Storchaka [Fri, 25 Jan 2013 11:37:39 +0000 (13:37 +0200)]
Clean trailing whitespace in itertoolsmodule.c.
Serhiy Storchaka [Fri, 25 Jan 2013 11:24:47 +0000 (13:24 +0200)]
Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.
Serhiy Storchaka [Fri, 25 Jan 2013 11:19:31 +0000 (13:19 +0200)]
Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.
Serhiy Storchaka [Fri, 25 Jan 2013 08:13:37 +0000 (10:13 +0200)]
Increase the memory limit in the test for issue #16335.
Serhiy Storchaka [Fri, 25 Jan 2013 08:12:30 +0000 (10:12 +0200)]
Increase the memory limit in the test for issue #16335.
Serhiy Storchaka [Fri, 25 Jan 2013 08:09:25 +0000 (10:09 +0200)]
Null merge
Serhiy Storchaka [Thu, 24 Jan 2013 18:03:49 +0000 (20:03 +0200)]
Fix pathext test for shutil.which() which was
broken after applying the patch for issue #16957.
Eli Bendersky [Thu, 24 Jan 2013 15:23:34 +0000 (07:23 -0800)]
Clarify ET.iterparse documentation - this function is not supported by the
C implementation.
Eli Bendersky [Thu, 24 Jan 2013 15:17:05 +0000 (07:17 -0800)]
merge heads
Eli Bendersky [Thu, 24 Jan 2013 15:15:19 +0000 (07:15 -0800)]
Issue #9708: Fix support for iterparse(parser=...) argument per documentation.
When _elementtree is imported, iterparse is redefined as a class and the parser
argument was ommitted. Fix this, and add a docstring to the class.
Stefan Krah [Thu, 24 Jan 2013 14:22:33 +0000 (15:22 +0100)]
Since the return type of format() is not a Decimal, raise ValueError instead of
InvalidOperation if the format specification (width, prec) exceeds the internal
limits of libmpdec.
Serhiy Storchaka [Thu, 24 Jan 2013 11:43:46 +0000 (13:43 +0200)]
Fix generating of sre_constants.h on Python 3.
Serhiy Storchaka [Thu, 24 Jan 2013 11:43:02 +0000 (13:43 +0200)]
Fix generating of sre_constants.h on Python 3.
Senthil Kumaran [Wed, 23 Jan 2013 11:00:26 +0000 (03:00 -0800)]
merge from 3.2
Issue #12411: Fix to cgi.parse_multipart to correctly use bytes boundaries and
bytes data. Patch by Jonas Wagner.
Senthil Kumaran [Wed, 23 Jan 2013 10:50:15 +0000 (02:50 -0800)]
Issue #12411: Fix to cgi.parse_multipart to correctly use bytes boundaries and
bytes data. Patch by Jonas Wagner.
Vinay Sajip [Wed, 23 Jan 2013 09:32:10 +0000 (09:32 +0000)]
Merged doc update from 3.2.
Vinay Sajip [Wed, 23 Jan 2013 09:31:19 +0000 (09:31 +0000)]
Corrected typo, added comment in cookbook recipe.
Serhiy Storchaka [Wed, 23 Jan 2013 08:44:21 +0000 (10:44 +0200)]
Issue #16957: shutil.which() no longer searches a bare file name in the
current directory on Unix and no longer searches a relative file path with
a directory part in PATH directories. Patch by Thomas Kluyver.
Ezio Melotti [Tue, 22 Jan 2013 20:49:46 +0000 (22:49 +0200)]
#11379: merge with 3.2.
Ezio Melotti [Tue, 22 Jan 2013 20:47:57 +0000 (22:47 +0200)]
#11379: rephrase minidom documentation to use the term "minimal" instead of "lightweight". Patch by Éric Araujo.
Vinay Sajip [Tue, 22 Jan 2013 15:58:14 +0000 (15:58 +0000)]
Merged doc update from 3.2.
Vinay Sajip [Tue, 22 Jan 2013 15:57:39 +0000 (15:57 +0000)]
Added cookbook recipe for structured logging.
Serhiy Storchaka [Tue, 22 Jan 2013 15:07:49 +0000 (17:07 +0200)]
Issue #
1159051 : GzipFile now raises EOFError when reading a corrupted file
with truncated header or footer.
Added tests for reading truncated gzip, bzip2, and lzma files.
Serhiy Storchaka [Tue, 22 Jan 2013 15:01:59 +0000 (17:01 +0200)]
Issue #
1159051 : GzipFile now raises EOFError when reading a corrupted file
with truncated header or footer.
Added tests for reading truncated gzip and bzip2 files.
Eli Bendersky [Tue, 22 Jan 2013 14:12:54 +0000 (06:12 -0800)]
Add some tests for XPath numeric indexing
Serhiy Storchaka [Tue, 22 Jan 2013 13:56:29 +0000 (15:56 +0200)]
Null merge