Antoine Pitrou [Fri, 15 Feb 2013 20:27:18 +0000 (21:27 +0100)]
Issue #17208: add a note about the termination behaviour of daemon threads.
Richard Oudkerk [Wed, 13 Feb 2013 15:17:47 +0000 (15:17 +0000)]
Add Misc/NEWS entry for Issue #16743
Richard Oudkerk [Wed, 13 Feb 2013 12:05:14 +0000 (12:05 +0000)]
Issue #16743: Fix mmap overflow check on 32 bit Windows
Serhiy Storchaka [Wed, 13 Feb 2013 10:31:19 +0000 (12:31 +0200)]
Fix tests for issue #5308.
Serhiy Storchaka [Wed, 13 Feb 2013 10:26:58 +0000 (12:26 +0200)]
Issue #11311: StringIO.readline(0) now returns an empty string as all other
file-like objects.
Serhiy Storchaka [Wed, 13 Feb 2013 10:07:43 +0000 (12:07 +0200)]
Issue #5308: Raise ValueError when marshalling too large object (a sequence
with size >= 2**31), instead of producing illegal marshal data.
Serhiy Storchaka [Tue, 12 Feb 2013 22:59:11 +0000 (00:59 +0200)]
Fix for issue #16800: Use buffered write to handle EINTR.
Serhiy Storchaka [Tue, 12 Feb 2013 22:34:46 +0000 (00:34 +0200)]
Issue #16800: tempfile.gettempdir() no longer left temporary files when
the disk is full. Original patch by Amir Szekely.
Serhiy Storchaka [Tue, 12 Feb 2013 19:36:47 +0000 (21:36 +0200)]
Issue #13555: cPickle now supports files larger than 2 GiB.
Serhiy Storchaka [Tue, 12 Feb 2013 07:27:53 +0000 (09:27 +0200)]
Issue #4591: Uid and gid values larger than 2**31 are supported now.
Serhiy Storchaka [Tue, 12 Feb 2013 07:20:19 +0000 (09:20 +0200)]
Clean trailing whitespaces in Makefile.pre.in and grpmodule.c.
Ned Deily [Tue, 12 Feb 2013 06:10:59 +0000 (22:10 -0800)]
Issue #17111: Prevent test_surrogates (test_fileio) failure on OS X 10.4.
An odd bug in OS X 10.4 causes open(2) on a non-existent,
invalid-encoded filename to return errno 22, EINVAL: Invalid argument,
instead of the expected errno 2, ENOENT: No such file or directory,
*if* the containing directory is not empty. That caused frequent
failures when running the buildbot tests on 10.4 depending on the state
of the test working directory. The failure is easy to reproduce on
10.4 by running the test directly (not with regrtest), first in an empty
directory, then after adding a file to it. The fix is to check for and
pass if either errno is returned.
R David Murray [Mon, 11 Feb 2013 15:57:37 +0000 (10:57 -0500)]
#17171: backport behavior-confirming test from python3.
R David Murray [Mon, 11 Feb 2013 15:14:24 +0000 (10:14 -0500)]
#17064: fix sporadic permission errors in test_mailbox on windows.
Backported from patch by Jeremy Kloth.
Michael Foord [Mon, 11 Feb 2013 12:53:21 +0000 (12:53 +0000)]
Correction to issue 17052 fix
Michael Foord [Sun, 10 Feb 2013 23:59:46 +0000 (23:59 +0000)]
Issue 17502: unittest discovery should use self.testLoader
Serhiy Storchaka [Sun, 10 Feb 2013 17:27:37 +0000 (19:27 +0200)]
Issue #17141: random.vonmisesvariate() no more hangs for large kappas.
Mark Dickinson [Sun, 10 Feb 2013 14:13:40 +0000 (14:13 +0000)]
Issue #17149: Fix random.vonmisesvariate to always return results in [0, 2*math.pi].
Serhiy Storchaka [Sun, 10 Feb 2013 12:26:08 +0000 (14:26 +0200)]
Issue #
1470548: XMLGenerator now works with UTF-16 and UTF-32 encodings.
Serhiy Storchaka [Sun, 10 Feb 2013 10:21:49 +0000 (12:21 +0200)]
Issue #6975: os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
Serhiy Storchaka [Sun, 10 Feb 2013 10:01:31 +0000 (12:01 +0200)]
Import shutil for restore_test_support_TESTFN().
Raymond Hettinger [Sat, 9 Feb 2013 23:55:44 +0000 (18:55 -0500)]
Minor cleanups.
Serhiy Storchaka [Sat, 9 Feb 2013 20:36:22 +0000 (22:36 +0200)]
Issue #17156: pygettext.py now correctly escapes non-ascii characters.
Raymond Hettinger [Sat, 9 Feb 2013 19:20:55 +0000 (14:20 -0500)]
Keep IDLE from displaying spurious SystemExit tracebacks
when running scripts that terminated by raising SystemExit
(i.e. unittest and turtledemo).
R David Murray [Sat, 9 Feb 2013 17:53:29 +0000 (12:53 -0500)]
#16564: test to confirm behavior that regressed in python3.
Also add running of test_email_renamed to the email regrtest. It contains
tests that the base email/tests/test_email.py does not, which I discovered
while trying to backport this test for confirmation of the behavior.
Christian Heimes [Sat, 9 Feb 2013 16:02:06 +0000 (17:02 +0100)]
add proper dependencies on expat headers and sources
Serhiy Storchaka [Sat, 9 Feb 2013 11:47:43 +0000 (13:47 +0200)]
Issue #7358: cStringIO.StringIO now supports writing to and reading from
a stream larger than 2 GiB on 64-bit systems.
Serhiy Storchaka [Sat, 9 Feb 2013 10:20:18 +0000 (12:20 +0200)]
Issue #10355: SpooledTemporaryFile properties and xreadline method now work for unrolled files.
Serhiy Storchaka [Sat, 9 Feb 2013 09:10:30 +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:51:52 +0000 (22:51 -0800)]
Issue #17161: make install now also installs a python2 and python man page.
Serhiy Storchaka [Fri, 8 Feb 2013 09:21:32 +0000 (11:21 +0200)]
Fix accidental non-breakable space (U+00A0).
Gregory P. Smith [Fri, 8 Feb 2013 06:18:21 +0000 (22:18 -0800)]
whitespace fix
Gregory P. Smith [Fri, 8 Feb 2013 06:11:03 +0000 (22:11 -0800)]
Issue #6972: fix the documentation mis applied patch.
Serhiy Storchaka [Thu, 7 Feb 2013 14:59:34 +0000 (16:59 +0200)]
Issue #17073: Fix some integer overflows in sqlite3 module.
Serhiy Storchaka [Thu, 7 Feb 2013 14:23:11 +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:37:53 +0000 (15:37 +0200)]
Issue #17118: Add new tests for testing Python-Tcl interaction.
Serhiy Storchaka [Thu, 7 Feb 2013 12:57:53 +0000 (14:57 +0200)]
Fix test_from_dll* in test_returnfuncptrs.py.
Senthil Kumaran [Thu, 7 Feb 2013 08:51:34 +0000 (00:51 -0800)]
Fix Issue17069: Document getcode method in urllib.request.rst
R David Murray [Wed, 6 Feb 2013 15:06:10 +0000 (10:06 -0500)]
#17142: fix apparent copy and paste error in test_all.
R David Murray [Mon, 4 Feb 2013 15:29:38 +0000 (10:29 -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 13:19:21 +0000 (15:19 +0200)]
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.
Serhiy Storchaka [Mon, 4 Feb 2013 10:45:46 +0000 (12:45 +0200)]
Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple
parses nested mutating sequence.
Benjamin Peterson [Mon, 4 Feb 2013 00:25:11 +0000 (19:25 -0500)]
fix find_library on Solaris (closes #5289)
Éric Araujo [Sun, 3 Feb 2013 16:41:19 +0000 (11:41 -0500)]
Add alias to restore 2.7.2 compatibility for setup scripts (#13994).
The customize_compiler function moved many times during the 2.7 series;
in 2.7.3, setup scripts importing this function from ccompiler were
broken. This commit restores compatibility without reintroducing the
issue that #13994 originally fixed (duplication of the function).
A unit test makes little sense here, as distutils tests never do imports
in functions, and the fix is very simple.
Serhiy Storchaka [Sun, 3 Feb 2013 15:10:42 +0000 (17:10 +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:06:45 +0000 (15:06 -0800)]
Issue #16698: Skip posix test_getgroups when built with OS X
deployment target prior to 10.6.
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:52:54 +0000 (20:52 +0100)]
Back out fix for issue #13886; it introduced a new bug in interactive readline use.
Raymond Hettinger [Sat, 2 Feb 2013 18:23:37 +0000 (10:23 -0800)]
Issue 16398: Use memcpy() in deque.rotate().
Serhiy Storchaka [Sat, 2 Feb 2013 17:25:57 +0000 (19:25 +0200)]
Fix test for issue #6972.
Serhiy Storchaka [Sat, 2 Feb 2013 16:43:58 +0000 (18:43 +0200)]
Issue #17034: Use Py_CLEAR() in stringobject.c.
Serhiy Storchaka [Sat, 2 Feb 2013 16:34:57 +0000 (18:34 +0200)]
Preserve backslashes in malicious zip files for testing issue #6972.
Benjamin Peterson [Sat, 2 Feb 2013 16:15:50 +0000 (11:15 -0500)]
Issue #15881: Fixed atexit hook in multiprocessing.
Benjamin Peterson [Sat, 2 Feb 2013 16:10:11 +0000 (11:10 -0500)]
merge heads
Serhiy Storchaka [Sat, 2 Feb 2013 15:46:33 +0000 (17:46 +0200)]
Fix the test and remove trailing dots on Windows for issue #6972.
Serhiy Storchaka [Sat, 2 Feb 2013 11:27:02 +0000 (13:27 +0200)]
Fix a Cyrillic "C" inroduced into the docs by patch for issue #6972.
Serhiy Storchaka [Sat, 2 Feb 2013 10:30:49 +0000 (12:30 +0200)]
Fix translating of illegal characters on Windows (issue #6972).
Serhiy Storchaka [Sat, 2 Feb 2013 10:16:22 +0000 (12:16 +0200)]
Fix tests for issue #11159.
Serhiy Storchaka [Sat, 2 Feb 2013 08:36:43 +0000 (10:36 +0200)]
Merge heads
Serhiy Storchaka [Sat, 2 Feb 2013 08:28:30 +0000 (10:28 +0200)]
Issue #11159: SAX parser now supports unicode file names.
Ned Deily [Sat, 2 Feb 2013 08:14:44 +0000 (00:14 -0800)]
Issue #15116: Remove references to appscript as it is no longer being
supported.
Ned Deily [Sat, 2 Feb 2013 07:10:56 +0000 (23:10 -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:00:14 +0000 (17:00 -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:13:27 +0000 (16:13 -0800)]
Silence a -Wformat-extra-argument warning when compiling.
Ned Deily [Fri, 1 Feb 2013 21:58:00 +0000 (13:58 -0800)]
Issue #16256: OS X installer now sets correct permissions for doc directory.
Gregory P. Smith [Fri, 1 Feb 2013 21:07:27 +0000 (13:07 -0800)]
better news entry
Gregory P. Smith [Fri, 1 Feb 2013 21:02:59 +0000 (13:02 -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:40:18 +0000 (11:40 -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:13:32 +0000 (13:13 +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.
doko@python.org [Thu, 31 Jan 2013 22:52:03 +0000 (23:52 +0100)]
- Issue #17086: Backport the patches from the 3.3 branch to cross-build
the package.
Serhiy Storchaka [Thu, 31 Jan 2013 14:10:15 +0000 (16:10 +0200)]
Issue #17041: Fix doctesting when Python is configured with the
--without-doc-strings.
Serhiy Storchaka [Thu, 31 Jan 2013 13:57:51 +0000 (15:57 +0200)]
Issue #17049: Localized calendar methods now return unicode if a locale
includes an encoding and the result string contains month or weekday (was
regression from Python 2.6).
Serhiy Storchaka [Thu, 31 Jan 2013 13:26:55 +0000 (15:26 +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:24:55 +0000 (01:24 -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 2.7 branch (for release in 2.7.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 22:59:02 +0000 (22:59 +0000)]
Issue 15505. unittest.installHandler and non callable signal handlers
Vinay Sajip [Tue, 29 Jan 2013 22:36:39 +0000 (22:36 +0000)]
Added clarification to logging HOWTO.
Serhiy Storchaka [Tue, 29 Jan 2013 10:04:55 +0000 (12:04 +0200)]
Move NEWS entity from library to core section.
Serhiy Storchaka [Tue, 29 Jan 2013 09:39:44 +0000 (11:39 +0200)]
Add tests for raw-unicode-escape codec.
Serhiy Storchaka [Tue, 29 Jan 2013 09:06:28 +0000 (11:06 +0200)]
Clean up escape-decode decoder tests.
Serhiy Storchaka [Tue, 29 Jan 2013 08:39:19 +0000 (10:39 +0200)]
Merge heads
Serhiy Storchaka [Tue, 29 Jan 2013 08:20:34 +0000 (10:20 +0200)]
Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder.
Ned Deily [Tue, 29 Jan 2013 08:07:46 +0000 (00:07 -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 18:27:28 +0000 (20:27 +0200)]
Add Robert Xiao to Misc/ACKS for issue17051.
Serhiy Storchaka [Mon, 28 Jan 2013 18:19:50 +0000 (20:19 +0200)]
Issue #17051: Fix a memory leak in os.path.isdir() on Windows. Patch by Robert Xiao.
Serhiy Storchaka [Mon, 28 Jan 2013 11:24:01 +0000 (13:24 +0200)]
Fix skip conditions in some docstings tests.
Serhiy Storchaka [Mon, 28 Jan 2013 09:00:58 +0000 (11:00 +0200)]
Remove trailing whitespaces in cStringIO.h.
Serhiy Storchaka [Sun, 27 Jan 2013 17:45:49 +0000 (19:45 +0200)]
- Issue #17041: Fix testing when Python is configured with the
--without-doc-strings option.
Stefan Krah [Sun, 27 Jan 2013 17:00:24 +0000 (18:00 +0100)]
Issue #11729: Backport commit
bff052d9 from libffi upstream in order to fix
a ctypes build failure with clang.
Nadeem Vawda [Sun, 27 Jan 2013 13:21:26 +0000 (14:21 +0100)]
Issue #13886: Fix input() to not strip out supposedly-invalid input bytes.
Ned Deily [Sun, 27 Jan 2013 02:08:22 +0000 (18:08 -0800)]
Issue #14018: fix merge error
Sandro Tosi [Sat, 26 Jan 2013 23:22:33 +0000 (00:22 +0100)]
fix typo; thanks to Dmitry Northerner from docs@
Stefan Krah [Sat, 26 Jan 2013 12:31:44 +0000 (13:31 +0100)]
Adapt test for build --without-doc-strings.
Serhiy Storchaka [Sat, 26 Jan 2013 10:13:40 +0000 (12:13 +0200)]
Issue #10156: In the interpreter's initialization phase, unicode globals
are now initialized dynamically as needed.
Serhiy Storchaka [Sat, 26 Jan 2013 09:51:42 +0000 (11:51 +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:30:50 +0000 (23:30 +0200)]
Issue #16975: Fix error handling bug in the escape-decode decoder.
Ronald Oussoren [Fri, 25 Jan 2013 16:55:39 +0000 (17:55 +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:32:31 +0000 (15:32 +0100)]
- Issue #3754: fix typo in pthread AC_CACHE_VAL.
Serhiy Storchaka [Fri, 25 Jan 2013 13:30:35 +0000 (15:30 +0200)]
Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.