]>
granicus.if.org Git - python/log
Antoine Pitrou [Mon, 4 Mar 2013 19:30:01 +0000 (20:30 +0100)]
Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
Ezio Melotti [Mon, 4 Mar 2013 13:23:12 +0000 (15:23 +0200)]
#17346: make sure pickle tests are run against all protocols.
Mark Dickinson [Sun, 3 Mar 2013 11:13:34 +0000 (11:13 +0000)]
Issue #16445: Fix potential segmentation fault when deleting an exception message.
Ezio Melotti [Fri, 1 Mar 2013 19:26:04 +0000 (21:26 +0200)]
Fix markup in unittest doc.
Ezio Melotti [Fri, 1 Mar 2013 18:56:13 +0000 (20:56 +0200)]
#17315: unlink a file that test_posixpath was leaving around.
Raymond Hettinger [Thu, 28 Feb 2013 19:11:11 +0000 (11:11 -0800)]
The example regex should be a raw string.
Ezio Melotti [Thu, 28 Feb 2013 15:55:17 +0000 (17:55 +0200)]
Add a link to the demo dir.
Ezio Melotti [Thu, 28 Feb 2013 06:28:11 +0000 (08:28 +0200)]
Fix markup in unittest docs.
Chris Jerdonek [Wed, 27 Feb 2013 17:55:39 +0000 (09:55 -0800)]
Issue #16406: combine the doc pages for uploading and registering to PyPI.
Petri Lehtinen [Tue, 26 Feb 2013 19:32:02 +0000 (21:32 +0200)]
Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior
Richard Oudkerk [Tue, 26 Feb 2013 12:37:07 +0000 (12:37 +0000)]
Issue #17018: Make Process.join() retry if os.waitpid() fails with EINTR.
Senthil Kumaran [Tue, 26 Feb 2013 09:02:14 +0000 (01:02 -0800)]
Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified to demonstrate correct behavior
Serhiy Storchaka [Tue, 26 Feb 2013 08:07:36 +0000 (10:07 +0200)]
Issue #13555: Fix an integer overflow check.
Serhiy Storchaka [Mon, 25 Feb 2013 11:31:29 +0000 (13:31 +0200)]
Issue #
1470548 : Do not buffer XMLGenerator output.
Add test for fragment producing with XMLGenerator.
R David Murray [Sun, 24 Feb 2013 03:11:21 +0000 (22:11 -0500)]
#17275: Fix class name in init errors in C bufferedio classes.
This fixes an apparent copy-and-paste error.
Original patch by Manuel Jacob.
Petri Lehtinen [Sat, 23 Feb 2013 22:02:55 +0000 (23:02 +0100)]
Revert "Issue #16121: Fix line number accounting in shlex"
Petri Lehtinen [Sat, 23 Feb 2013 21:07:39 +0000 (22:07 +0100)]
Issue #16121: Fix line number accounting in shlex
Petri Lehtinen [Sat, 23 Feb 2013 20:05:27 +0000 (21:05 +0100)]
Issue #16403: Document how distutils uses the maintainer field in PKG-INFO
Petri Lehtinen [Sat, 23 Feb 2013 18:53:03 +0000 (19:53 +0100)]
Issue #16695: Document how glob handles filenames starting with a dot
Petri Lehtinen [Sat, 23 Feb 2013 18:24:08 +0000 (19:24 +0100)]
Issue #8890: Stop advertising an insecure use of /tmp in docs
Petri Lehtinen [Sat, 23 Feb 2013 18:05:09 +0000 (19:05 +0100)]
Issue #14720: sqlite3: Convert datetime microseconds correctly
Patch by Lowe Thiderman
Petri Lehtinen [Sat, 23 Feb 2013 16:05:28 +0000 (17:05 +0100)]
Issue #5033: Fix building of the sqlite3 extension module
Ezio Melotti [Sat, 23 Feb 2013 06:19:00 +0000 (08:19 +0200)]
Fix deprecation warning in test_tcl.
Ezio Melotti [Sat, 23 Feb 2013 06:16:07 +0000 (08:16 +0200)]
Fix deprecation warning in tempfile.
Ezio Melotti [Sat, 23 Feb 2013 04:33:51 +0000 (06:33 +0200)]
#17249: check for the availability of the thread module.
Ezio Melotti [Sat, 23 Feb 2013 03:45:37 +0000 (05:45 +0200)]
#17249: convert a test in test_capi to use unittest and reap threads.
Ezio Melotti [Sat, 23 Feb 2013 02:53:44 +0000 (04:53 +0200)]
#15438: add a note to math.pow() that suggests using **/pow() for integers. Patch by Mark Dickinson.
Ezio Melotti [Fri, 22 Feb 2013 05:53:23 +0000 (07:53 +0200)]
Fix the highlight in another example.
Ezio Melotti [Fri, 22 Feb 2013 05:38:11 +0000 (07:38 +0200)]
#17256: fix syntax highlight in embedding example. Patch by Kushal Das.
Ezio Melotti [Fri, 22 Feb 2013 05:34:52 +0000 (07:34 +0200)]
#17035: use new style classes in classmethod/staticmethod examples. Patch by Berker Peksag.
Chris Jerdonek [Fri, 22 Feb 2013 02:52:12 +0000 (18:52 -0800)]
Issue #17203: add long option names to unittest discovery docs.
Ezio Melotti [Thu, 21 Feb 2013 21:15:40 +0000 (23:15 +0200)]
#17255: test short-circuiting behavior of any()/all(). Patch by Wim Glenn.
Serhiy Storchaka [Thu, 21 Feb 2013 18:17:54 +0000 (20:17 +0200)]
Issue #17225: JSON decoder now counts columns in the first line starting
with 1, as in other lines.
Serhiy Storchaka [Thu, 21 Feb 2013 12:33:45 +0000 (14:33 +0200)]
Issue #17248: Fix os.*chown() testing when user is in root group.
Ezio Melotti [Thu, 21 Feb 2013 10:30:32 +0000 (12:30 +0200)]
#17265: fix highlight in template example. Initial patch by Berker Peksag.
Barry Warsaw [Wed, 20 Feb 2013 23:25:17 +0000 (18:25 -0500)]
null merge from 2.6
Barry Warsaw [Wed, 20 Feb 2013 23:19:55 +0000 (18:19 -0500)]
- Issue #16248: Disable code execution from the user's home directory by
tkinter when the -E flag is passed to Python. Patch by Zachary Ware.
Benjamin Peterson [Wed, 20 Feb 2013 21:54:30 +0000 (16:54 -0500)]
fix building without pymalloc (closes #17228)
Serhiy Storchaka [Wed, 20 Feb 2013 17:47:31 +0000 (19:47 +0200)]
Issue #17248: Fix os.*chown() testing when user has group root.
Serhiy Storchaka [Wed, 20 Feb 2013 17:39:59 +0000 (19:39 +0200)]
Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings.
R David Murray [Wed, 20 Feb 2013 01:00:11 +0000 (20:00 -0500)]
#7842: backport fix for py_compile.compile syntax error message handling.
R David Murray [Tue, 19 Feb 2013 03:04:59 +0000 (22:04 -0500)]
#7963: fix error message when 'object' called with arguments.
Patch by Alexander Belopolsky.
Serhiy Storchaka [Mon, 18 Feb 2013 11:32:06 +0000 (13:32 +0200)]
Disable posixpath.realpath() tests on Windows (fix for issue #6975).
Serhiy Storchaka [Mon, 18 Feb 2013 11:00:08 +0000 (13:00 +0200)]
Issue #13153: Tkinter functions now raise TclError instead of ValueError when
a unicode argument contains non-BMP character.
Serhiy Storchaka [Mon, 18 Feb 2013 10:20:44 +0000 (12:20 +0200)]
Fix posixpath.realpath() for multiple pardirs (fixes issue #6975).
Serhiy Storchaka [Mon, 18 Feb 2013 09:14:04 +0000 (11:14 +0200)]
Fix issue #13169: Reimport MAXREPEAT into sre_constants.py.
Antoine Pitrou [Sat, 16 Feb 2013 20:40:16 +0000 (21:40 +0100)]
Remove unused certificate files
Antoine Pitrou [Sat, 16 Feb 2013 20:39:28 +0000 (21:39 +0100)]
Fix test_ssl by replacing expired X509 certificate
Serhiy Storchaka [Sat, 16 Feb 2013 19:23:01 +0000 (21:23 +0200)]
Issue #9669: Protect re against infinite loops on zero-width matching in
non-greedy repeat. Patch by Matthew Barnett.
Serhiy Storchaka [Sat, 16 Feb 2013 14:47:15 +0000 (16:47 +0200)]
Issue #13169: The maximal repetition number in a regular expression has been
increased from 65534 to
2147483647 (on 32-bit platform) or
4294967294 (on
64-bit).
Ezio Melotti [Fri, 15 Feb 2013 21:35:14 +0000 (23:35 +0200)]
#17178: update any()/all() docstrings to document their behavior with empty iterables. Patch by Ankur Ankan.
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().