]>
granicus.if.org Git - python/log
Serhiy Storchaka [Sat, 9 Feb 2013 09:46:42 +0000 (11:46 +0200)]
Issue #17147. Mention BytesIO in SpooledTemporaryFile documentation.
Serhiy Storchaka [Sat, 9 Feb 2013 09:10:53 +0000 (11:10 +0200)]
Issue #16686: Fixed a lot of bugs in audioop module.
* avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX.
* ratecv() no more crashes on empty input fragment.
* Fixed an integer overflow in ratecv().
* Fixed an integer overflow in add() and bias() for 32-bit samples.
* reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples.
* max() and rms() no more returns negative result for 32-bit sample -0x80000000.
* minmax() now returns correct max value for 32-bit sample -0x80000000.
* avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000.
* add() now can return 32-bit sample -0x80000000.
Ned Deily [Sat, 9 Feb 2013 06:53:51 +0000 (22:53 -0800)]
Issue #17161: make install now also installs a python3 man page.
Serhiy Storchaka [Fri, 8 Feb 2013 09:22:05 +0000 (11:22 +0200)]
Fix accidental non-breakable spaces (U+00A0).
Gregory P. Smith [Fri, 8 Feb 2013 06:15:04 +0000 (22:15 -0800)]
Issue #6972: keep the warning about untrusted extraction and mention
the version it was improved in.
Senthil Kumaran [Fri, 8 Feb 2013 05:43:21 +0000 (21:43 -0800)]
Addressing the review comment made by Terry Reedy
Serhiy Storchaka [Thu, 7 Feb 2013 15:01:47 +0000 (17:01 +0200)]
Issue #17073: Fix some integer overflows in sqlite3 module.
Serhiy Storchaka [Thu, 7 Feb 2013 14:23:21 +0000 (16:23 +0200)]
Issue #17043: The unicode-internal decoder no longer read past the end of
input buffer.
Serhiy Storchaka [Thu, 7 Feb 2013 13:40:03 +0000 (15:40 +0200)]
Issue #17118: Add new tests for testing Python-Tcl interaction.
Serhiy Storchaka [Thu, 7 Feb 2013 13:24:36 +0000 (15:24 +0200)]
Issue #17114: IDLE now uses non-strict config parser.
Serhiy Storchaka [Thu, 7 Feb 2013 12:58:44 +0000 (14:58 +0200)]
Fix test_from_dll* in test_returnfuncptrs.py.
Senthil Kumaran [Thu, 7 Feb 2013 08:47:01 +0000 (00:47 -0800)]
Fix Issue17069: Document getcode method in urllib.request.rst
R David Murray [Wed, 6 Feb 2013 14:56:19 +0000 (09:56 -0500)]
#17142: fix apparent copy and paste error in test_all.
Serhiy Storchaka [Wed, 6 Feb 2013 08:31:57 +0000 (10:31 +0200)]
Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
is automatically closed.
R David Murray [Tue, 5 Feb 2013 15:49:49 +0000 (10:49 -0500)]
#16948: Fix quopri encoding of non-latin1 character sets.
Serhiy Storchaka [Mon, 4 Feb 2013 16:26:15 +0000 (18:26 +0200)]
Issue #17089: Expat parser now correctly works with string input not only when
an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and
strings larger than 2 GiB.
R David Murray [Mon, 4 Feb 2013 15:15:58 +0000 (10:15 -0500)]
#17091: update docstring for _thread.Lock.acquire.
The main docs were fixed to remove mention of None long ago,
but the docstring was not. Reported by Armin Rigo, patch
by Ian Cordasco.
Serhiy Storchaka [Mon, 4 Feb 2013 14:55:59 +0000 (16:55 +0200)]
Fix test_tools hangs on Windows. Patch by Jeremy Kloth.
Serhiy Storchaka [Mon, 4 Feb 2013 14:47:39 +0000 (16:47 +0200)]
Issue #16903: Popen.communicate() on Unix now accepts strings when
universal_newlines is true as on Windows.
Serhiy Storchaka [Mon, 4 Feb 2013 13:45:00 +0000 (15:45 +0200)]
Do not raise self.skipTest().
skipTest() already raises an exception.
Serhiy Storchaka [Mon, 4 Feb 2013 13:19:37 +0000 (15:19 +0200)]
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.
Serhiy Storchaka [Mon, 4 Feb 2013 10:47:24 +0000 (12:47 +0200)]
Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple
parses nested mutating sequence.
Gregory P. Smith [Sat, 14 Jul 2012 21:12:35 +0000 (14:12 -0700)]
Update the embedded copy of the expat XML parser to 2.1.0. It brings
with it a vareity of bug fixes, both security and behavior. See
http://www.libexpat.org/ for the list.
NOTE: I already backported the expat hash randomization fix in March.
Fixes issue #14340.
Serhiy Storchaka [Sun, 3 Feb 2013 15:03:31 +0000 (17:03 +0200)]
Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying
stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
Ned Deily [Sat, 2 Feb 2013 23:08:52 +0000 (15:08 -0800)]
Issue #16698: Skip posix test_getgroups when built with OS X
deployment target prior to 10.6.
Antoine Pitrou [Sat, 2 Feb 2013 22:08:51 +0000 (23:08 +0100)]
Simplify code in HTTPResponse.read()
Antoine Pitrou [Sat, 2 Feb 2013 21:49:34 +0000 (22:49 +0100)]
Issue #15633: httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.
Nadeem Vawda [Sat, 2 Feb 2013 19:05:11 +0000 (20:05 +0100)]
Back out fix for issue #13886; it introduced a new bug in interactive readline use.
Serhiy Storchaka [Sat, 2 Feb 2013 17:50:59 +0000 (19:50 +0200)]
Fix the test for issue #6972.
Remove trailing dots on Windows.
Serhiy Storchaka [Sat, 2 Feb 2013 16:45:22 +0000 (18:45 +0200)]
Issue #17034: Use Py_CLEAR() in bytesobject.c.
Serhiy Storchaka [Sat, 2 Feb 2013 11:27:30 +0000 (13:27 +0200)]
Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972.
Serhiy Storchaka [Sat, 2 Feb 2013 10:17:05 +0000 (12:17 +0200)]
Fix tests for issue #11159.
Serhiy Storchaka [Sat, 2 Feb 2013 08:37:36 +0000 (10:37 +0200)]
Merge heads
Serhiy Storchaka [Sat, 2 Feb 2013 08:31:17 +0000 (10:31 +0200)]
Issue #11159: Add tests for testing SAX parser support of non-ascii file names.
Ned Deily [Sat, 2 Feb 2013 08:16:14 +0000 (00:16 -0800)]
Issue #15116: Remove references to appscript as it is no longer being
supported.
Ned Deily [Sat, 2 Feb 2013 07:12:42 +0000 (23:12 -0800)]
Issue #15587: Enable Tk high-resolution text rendering on Macs with
Retina displays. Applies to Tkinter apps, such as IDLE, on OS X
framework builds linked with Cocoa Tk 8.5+.
Suggested by Kevin Walzer
Gregory P. Smith [Sat, 2 Feb 2013 01:05:29 +0000 (17:05 -0800)]
In the _hashlib module, only initialize the static data for OpenSSL's
constructors once, to avoid memory leaks when finalizing and re-initializing
the Python interpreter.
Gregory P. Smith [Sat, 2 Feb 2013 00:14:00 +0000 (16:14 -0800)]
Silence a -Wformat-extra-argument warning when compiling.
Ned Deily [Fri, 1 Feb 2013 21:59:42 +0000 (13:59 -0800)]
Issue #16256: OS X installer now sets correct permissions for doc directory.
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: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.
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: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: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: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: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: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.
Michael Foord [Tue, 29 Jan 2013 23:07:57 +0000 (23:07 +0000)]
Closes issue 15505. unittest.installHandler and non-callable signal handlers.
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:05:46 +0000 (12:05 +0200)]
Move NEWS entity from library to core section.
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:06:53 +0000 (11:06 +0200)]
Clean up escape-decode decoder tests.
Serhiy Storchaka [Tue, 29 Jan 2013 08:40:04 +0000 (10:40 +0200)]
Merge heads
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:08:32 +0000 (00:08 -0800)]
Issue #14018: Backport OS X installer updates from 3.3.
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 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: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.
Ned Deily [Sun, 27 Jan 2013 02:09:12 +0000 (18:09 -0800)]
Issue #14018: fix merge error
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: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:31:43 +0000 (23:31 +0200)]
Issue #16975: Fix error handling bug in the escape-decode bytes decoder.
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:33:25 +0000 (15:33 +0100)]
- Issue #3754: fix typo in pthread AC_CACHE_VAL.
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:12:29 +0000 (13:12 +0100)]
- Issue #17029: Let h2py search the multiarch system include directory.
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: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:12:30 +0000 (10:12 +0200)]
Increase the memory limit in the test for issue #16335.
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.
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 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:31:19 +0000 (09:31 +0000)]
Corrected typo, added comment in cookbook recipe.
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:57:39 +0000 (15:57 +0000)]
Added cookbook recipe for structured logging.
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.
Serhiy Storchaka [Tue, 22 Jan 2013 13:54:48 +0000 (15:54 +0200)]
#15546: Fix GzipFile.peek()'s handling of pathological input data.
This is a backport of changeset
8c07ff7f882f .
Vinay Sajip [Tue, 22 Jan 2013 13:12:34 +0000 (13:12 +0000)]
Updated logging HOWTO with a diagram.
Vinay Sajip [Mon, 21 Jan 2013 21:57:10 +0000 (21:57 +0000)]
Issue #17007: Made minor changes to documentation wording.
Vinay Sajip [Mon, 21 Jan 2013 19:44:28 +0000 (19:44 +0000)]
Issue #17007: Improved logging documentation based on suggestions in the issue.
Serhiy Storchaka [Mon, 21 Jan 2013 18:23:58 +0000 (20:23 +0200)]
Add bigmemtest decorator to test of issue #16335.
Serhiy Storchaka [Mon, 21 Jan 2013 10:59:13 +0000 (12:59 +0200)]
Fix memory error in test_ucn.
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335.
Serhiy Storchaka [Mon, 21 Jan 2013 09:38:00 +0000 (11:38 +0200)]
Issue #16335: Fix integer overflow in unicode-escape decoder.
Ezio Melotti [Sun, 20 Jan 2013 10:16:03 +0000 (12:16 +0200)]
#4153: update the Unicode howto.
Ezio Melotti [Sat, 19 Jan 2013 17:50:34 +0000 (19:50 +0200)]
Fix a few typos in Misc/NEWS.
Charles-François Natali [Sat, 19 Jan 2013 11:19:10 +0000 (12:19 +0100)]
Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
Patch by Jeffrey Armstrong.
Serhiy Storchaka [Sat, 19 Jan 2013 10:26:26 +0000 (12:26 +0200)]
Issue #15989: Fix several occurrences of integer overflow
when result of PyLong_AsLong() narrowed to int without checks.
This is a backport of changesets
13e2e44db99d and
525407d89277 .
Ezio Melotti [Fri, 18 Jan 2013 17:55:46 +0000 (19:55 +0200)]
#16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe.
Łukasz Langa [Fri, 18 Jan 2013 12:40:43 +0000 (13:40 +0100)]
math.fsum docs did not show up because of a misplaced testsetup directive
Antoine Pitrou [Thu, 17 Jan 2013 22:08:03 +0000 (23:08 +0100)]
Remove outdated statement
Frank Wierzbicki [Wed, 16 Jan 2013 21:55:12 +0000 (13:55 -0800)]
Closed #16886: test_dictcomps no longer depends on dict order
Vinay Sajip [Tue, 15 Jan 2013 17:55:57 +0000 (17:55 +0000)]
Issue #9501: Improved shutdown handling to deal with module attributes correctly.
Serhiy Storchaka [Tue, 15 Jan 2013 15:56:08 +0000 (17:56 +0200)]
Issue #15861: tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.
Serhiy Storchaka [Tue, 15 Jan 2013 13:32:59 +0000 (15:32 +0200)]
Merge heads
Richard Oudkerk [Tue, 15 Jan 2013 13:19:24 +0000 (13:19 +0000)]
Issue #10527: Remove dead code
Serhiy Storchaka [Tue, 15 Jan 2013 12:43:21 +0000 (14:43 +0200)]
Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"
in any mapping, not only in an unicode string.
Richard Oudkerk [Tue, 15 Jan 2013 01:01:01 +0000 (01:01 +0000)]
Issue #10527: Use poll() instead of select() for multiprocessing pipes
Serhiy Storchaka [Mon, 14 Jan 2013 22:31:39 +0000 (00:31 +0200)]
Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB.
Serhiy Storchaka [Sun, 13 Jan 2013 19:58:04 +0000 (21:58 +0200)]
Describe the default_namespace parameter of ElemetTree.write.