]>
granicus.if.org Git - python/log
Raymond Hettinger [Sun, 4 Aug 2013 18:51:35 +0000 (11:51 -0700)]
merge
Raymond Hettinger [Sun, 4 Aug 2013 18:51:03 +0000 (11:51 -0700)]
Silence compiler warning about an uninitialized variable
Ethan Furman [Sun, 4 Aug 2013 15:42:23 +0000 (08:42 -0700)]
Close #18635: Move class level private attribute from instance to class.
Charles-François Natali [Sun, 4 Aug 2013 13:35:57 +0000 (15:35 +0200)]
Null merge.
Victor Stinner [Sun, 4 Aug 2013 08:32:26 +0000 (10:32 +0200)]
Hum, VMS code is still present
Victor Stinner [Sun, 4 Aug 2013 08:30:57 +0000 (10:30 +0200)]
Complete What's New in Python 3.4
Larry Hastings [Sun, 4 Aug 2013 06:30:13 +0000 (23:30 -0700)]
Merging the 3.4.0a1 head.
Larry Hastings [Sun, 4 Aug 2013 06:29:24 +0000 (23:29 -0700)]
Cycled Misc/NEWS for alpha 2, touched patchlevel.
Eli Bendersky [Sun, 4 Aug 2013 01:55:10 +0000 (18:55 -0700)]
Issue #17902: Clarify doc of ElementTree.iterparse and IncrementalParser
Based on patch by Aaron Oakley
Eli Bendersky [Sun, 4 Aug 2013 01:52:32 +0000 (18:52 -0700)]
Issue #17902: Clarify doc of ElementTree.iterparse
Eli Bendersky [Sun, 4 Aug 2013 00:48:41 +0000 (17:48 -0700)]
Merge fix for Issue #17011 from 3.3
Eli Bendersky [Sun, 4 Aug 2013 00:47:47 +0000 (17:47 -0700)]
Issue #17011: Fix caching of xpath path when namespaces are present.
Thanks to Stefan Behnel for the report and proposed solution & test.
Serhiy Storchaka [Sat, 3 Aug 2013 22:05:02 +0000 (01:05 +0300)]
Issue #16741: Remove testing of implementation artifact.
Serhiy Storchaka [Sat, 3 Aug 2013 22:04:15 +0000 (01:04 +0300)]
Issue #16741: Remove testing of implementation artifact.
Serhiy Storchaka [Sat, 3 Aug 2013 20:47:48 +0000 (23:47 +0300)]
Issue #18647: Temporary disable the "nothing to repeat" check to make buildbots happy.
Serhiy Storchaka [Sat, 3 Aug 2013 20:46:19 +0000 (23:46 +0300)]
Issue #18647: Temporary disable the "nothing to repeat" check to make buildbots happy.
Larry Hastings [Sat, 3 Aug 2013 20:01:39 +0000 (13:01 -0700)]
Merge from v3.4.0a1 head.
Larry Hastings [Sat, 3 Aug 2013 20:00:18 +0000 (13:00 -0700)]
Added tag v3.4.0a1 for changeset
46535f65e7f3
Larry Hastings [Sat, 3 Aug 2013 19:58:12 +0000 (12:58 -0700)]
Bumped version to 3.4.0a1.
Larry Hastings [Sat, 3 Aug 2013 19:47:53 +0000 (12:47 -0700)]
Updated pydoc topics for Python 3.4.0a1 release.
Serhiy Storchaka [Sat, 3 Aug 2013 18:19:10 +0000 (21:19 +0300)]
Null merge
Serhiy Storchaka [Sat, 3 Aug 2013 18:17:27 +0000 (21:17 +0300)]
Merge heads
Serhiy Storchaka [Sat, 3 Aug 2013 18:17:04 +0000 (21:17 +0300)]
Merge heads
Serhiy Storchaka [Sat, 3 Aug 2013 18:14:05 +0000 (21:14 +0300)]
Issue #16741: Fix an error reporting in int().
Martin v. Löwis [Sat, 3 Aug 2013 18:12:45 +0000 (20:12 +0200)]
Issue #16067: Merge with 3.3
Martin v. Löwis [Sat, 3 Aug 2013 18:09:42 +0000 (20:09 +0200)]
Issue #16067: Add description into MSI file to replace installer's temporary name.
Serhiy Storchaka [Sat, 3 Aug 2013 17:55:06 +0000 (20:55 +0300)]
Issue #16741: Fix an error reporting in int().
Serhiy Storchaka [Sat, 3 Aug 2013 16:28:28 +0000 (19:28 +0300)]
Merge heads
Serhiy Storchaka [Sat, 3 Aug 2013 16:22:28 +0000 (19:22 +0300)]
Issue #17998: Fix an internal error in regular expression engine.
Serhiy Storchaka [Sat, 3 Aug 2013 16:18:38 +0000 (19:18 +0300)]
Issue #17998: Fix an internal error in regular expression engine.
Mark Dickinson [Sat, 3 Aug 2013 16:14:50 +0000 (17:14 +0100)]
Remove debugging print.
doko@ubuntu.com [Sat, 3 Aug 2013 14:18:55 +0000 (16:18 +0200)]
- Fix a fcntl test case on KFreeBSD, Debian #708653 (Petr Salinger).
doko@ubuntu.com [Sat, 3 Aug 2013 14:12:33 +0000 (16:12 +0200)]
- Fix a fcntl test case on KFreeBSD, Debian #708653 (Petr Salinger).
Nick Coghlan [Sat, 3 Aug 2013 13:03:27 +0000 (23:03 +1000)]
Merge #18396 from 3.3
Nick Coghlan [Sat, 3 Aug 2013 12:56:30 +0000 (22:56 +1000)]
Close #18396: fix spurious test_signal failure on Windows
signal.getsignal returns None for some signals if faulthandler
is enabled (Patch by Jeremy Kloth)
Mark Dickinson [Sat, 3 Aug 2013 11:08:22 +0000 (12:08 +0100)]
Minor consistency fixes for some longobject.c exception messages:
- replace 'long int' / 'long' by 'int'
- fix capitalization of "Python" in PyLong_AsUnsignedLong
- "is too large" -> "too large", for consistency with other messages.
Larry Hastings [Sat, 3 Aug 2013 09:49:53 +0000 (02:49 -0700)]
Fix minor documentation markup error.
Ned Deily [Sat, 3 Aug 2013 01:05:31 +0000 (18:05 -0700)]
Issue #17046: merge from 3.3
Ned Deily [Sat, 3 Aug 2013 01:02:21 +0000 (18:02 -0700)]
Issue #17046: Fix test_subprocess test_executable_without_cwd broken test case.
Antoine Pitrou [Fri, 2 Aug 2013 18:39:46 +0000 (20:39 +0200)]
Backout
62658d9d8926 (issue #10241): it causes a crash at shutdown when deallocating a Tkapp object.
Christian Heimes [Fri, 2 Aug 2013 09:10:51 +0000 (11:10 +0200)]
Fix warning: ‘ptr2’ may be used uninitialized in this function
Charles-François Natali [Fri, 2 Aug 2013 08:22:07 +0000 (10:22 +0200)]
Issue #18325: Fix a test_kqueue failure on OpenBSD: kevent's data and event
members are integers.
Charles-François Natali [Fri, 2 Aug 2013 08:21:20 +0000 (10:21 +0200)]
Issue #18325: Fix a test_kqueue failure on OpenBSD: kevent's data and event
members are integers.
Ned Deily [Fri, 2 Aug 2013 06:53:24 +0000 (23:53 -0700)]
Issue #18517: merge from 3.3
Ned Deily [Fri, 2 Aug 2013 06:51:27 +0000 (23:51 -0700)]
Issue #18517: Move definition of "xxlimited" extension to detect_modules().
Ned Deily [Fri, 2 Aug 2013 05:13:30 +0000 (22:13 -0700)]
Closes #18627: merge from 3.3
Ned Deily [Fri, 2 Aug 2013 05:12:29 +0000 (22:12 -0700)]
Issue #18627: Fix typo noticed by Vajrasky Kok.
Ned Deily [Fri, 2 Aug 2013 04:37:17 +0000 (21:37 -0700)]
Issue #17557: merge from 3.3
Ned Deily [Fri, 2 Aug 2013 04:21:15 +0000 (21:21 -0700)]
Issue #17557: Fix os.getgroups() to work with the modified behavior of
getgroups(2) on OS X 10.8. Original patch by Mateusz Lenik.
Larry Hastings [Fri, 2 Aug 2013 02:34:46 +0000 (19:34 -0700)]
Issue #17899: Fix rare file descriptor leak in os.listdir().
(Done as separate patch from trunk as the code has diverged quite a bit.)
Larry Hastings [Fri, 2 Aug 2013 01:18:56 +0000 (18:18 -0700)]
Issue #17899: Fix rare file descriptor leak in os.listdir().
Victor Stinner [Thu, 1 Aug 2013 23:48:10 +0000 (01:48 +0200)]
Issue #18519: Fix test_sqlite on old versions of libsqlite3
With old SQLite versions, _sqlite3_result_error() sets a new Python exception,
so don't restore the previous exception.
Victor Stinner [Thu, 1 Aug 2013 22:47:47 +0000 (00:47 +0200)]
Issue #18609, #18408: _ctypes_add_traceback() now clears the current exception
while adding the traceback, because it may call indirectly a Python function
and Python functions must not be called with an exception set.
In the case of the issue #18609, _ctypes_add_traceback() called the iso8859-1
decoder which is implemented in Python. Python has a ISO-8859-1 codec
implemented in C. It is not used because PyUnicode_Decode() only uses the C
codec for other names (aliases) of this codec ("latin-1", "latin1" and
"iso-8859-1").
Ned Deily [Thu, 1 Aug 2013 22:39:47 +0000 (15:39 -0700)]
Fix OS X installer build script to handle the pretty-printed _sysconfigdata.py
when removing references to temporary build files. This is not an elegant
solution but it does isolate changes to just build-installer.py.
Antoine Pitrou [Thu, 1 Aug 2013 22:08:51 +0000 (00:08 +0200)]
Fix the RLIMIT_CORE resource lowering logic in test_subprocess.
We must only lower the soft limit, since lowering the hard limit makes it impossible to raise it back at the end.
(this could prevent core dumps from being generated when the test suite crashes)
Antoine Pitrou [Thu, 1 Aug 2013 20:07:06 +0000 (22:07 +0200)]
Issue #10241: Clear extension module dict copies at interpreter shutdown.
Patch by Neil Schemenauer, minimally modified.
Antoine Pitrou [Thu, 1 Aug 2013 19:14:43 +0000 (21:14 +0200)]
Issue #18589: fix hyperlinking of type slots (tp_*)
Antoine Pitrou [Thu, 1 Aug 2013 19:12:45 +0000 (21:12 +0200)]
Issue #18589: fix hyperlinking of type slots (tp_*)
Antoine Pitrou [Thu, 1 Aug 2013 19:04:50 +0000 (21:04 +0200)]
Issue #18608: Avoid keeping a strong reference to the locale module inside the _io module.
Antoine Pitrou [Thu, 1 Aug 2013 18:56:12 +0000 (20:56 +0200)]
Issue #18619: Fix atexit leaking callbacks registered from sub-interpreters, and make it GC-aware.
Antoine Pitrou [Thu, 1 Aug 2013 18:43:26 +0000 (20:43 +0200)]
test_capi: make a specific test case for the subinterpreter test
(it was wrongly classified in the pending calls test case)
Antoine Pitrou [Thu, 1 Aug 2013 17:46:04 +0000 (19:46 +0200)]
Remove Lib/site.py hack to unregister patched builtins.
It creates a refleak in subinterpreters, as atexit callbacks aren't triggered at their end.
Antoine Pitrou [Thu, 1 Aug 2013 17:20:31 +0000 (19:20 +0200)]
Add a test for module weakrefability
Martin v. Löwis [Thu, 1 Aug 2013 16:31:06 +0000 (18:31 +0200)]
Issue #18569: The installer now adds .py to the PATHEXT variable
when extensions are registered. Patch by Paul Moore.
Martin v. Löwis [Thu, 1 Aug 2013 15:34:42 +0000 (17:34 +0200)]
Add UUID for 3.4.
doko@ubuntu.com [Thu, 1 Aug 2013 13:32:49 +0000 (15:32 +0200)]
- Issue #18257: Fix readlink usage in python-config. Install the python
version again on Darwin.
Tim Golden [Thu, 1 Aug 2013 12:58:58 +0000 (13:58 +0100)]
issue9035: Prevent Windows-specific tests from running on non-Windows platforms
Tim Golden [Thu, 1 Aug 2013 11:44:00 +0000 (12:44 +0100)]
Issue #9035: os.path.ismount now recognises volumes mounted below
a drive root on Windows. Original patch by Atsuo Ishimoto.
R David Murray [Thu, 1 Aug 2013 00:48:26 +0000 (20:48 -0400)]
#17616: Improve context manager tests, fix bugs in close method and mode docs.
'mode' docs fix: the file must always be opened in binary in Python3.
Bug in Wave_write.close: when the close method calls the check that the header
exists and it raises an error, the _file attribute never gets set to None, so
the next close tries to close the file again and we get an ignored traceback
in the __del__ method. The fix is to set _file to None in a finally clause.
This represents a behavior change...in theory a program could be checking for
the error on close and then doing a recovery action on the still open file and
closing it again. But this change will only go into 3.4, so I think that
behavior change is acceptable given that it would be pretty weird and unlikely
logic to begin with.
Christian Heimes [Wed, 31 Jul 2013 22:12:06 +0000 (00:12 +0200)]
Initialize utime with 0. It fixes a couple of compiler warnung:
warning: 'utime.mtime_ns' may be used uninitialized in this function [-Wmaybe-uninitialized]
Christian Heimes [Wed, 31 Jul 2013 22:08:16 +0000 (00:08 +0200)]
Initialize utime with 0. It fixes a couple of compiler warnung:
warning: 'utime.mtime_ns' may be used uninitialized in this function [-Wmaybe-uninitialized]
Christian Heimes [Wed, 31 Jul 2013 21:50:03 +0000 (23:50 +0200)]
merge
Christian Heimes [Wed, 31 Jul 2013 21:49:48 +0000 (23:49 +0200)]
merge
Christian Heimes [Wed, 31 Jul 2013 21:48:04 +0000 (23:48 +0200)]
Silence warning about set but unused variable inside compile_atom() in non-debug builds
Christian Heimes [Wed, 31 Jul 2013 21:47:56 +0000 (23:47 +0200)]
Silence warning about set but unused variable inside compile_atom() in non-debug builds
Antoine Pitrou [Wed, 31 Jul 2013 21:15:37 +0000 (23:15 +0200)]
Fix whitespace
Antoine Pitrou [Wed, 31 Jul 2013 21:14:08 +0000 (23:14 +0200)]
Issue #18214: Improve finalization of Python modules to avoid setting their globals to None, in most cases.
Antoine Pitrou [Wed, 31 Jul 2013 19:54:18 +0000 (21:54 +0200)]
Merge
Antoine Pitrou [Wed, 31 Jul 2013 19:52:53 +0000 (21:52 +0200)]
Issue #15699: The readline module now uses PEP 3121-style module initialization, so as to reclaim allocated resources (Python callbacks) at shutdown.
Original patch by Robin Schreiber.
R David Murray [Wed, 31 Jul 2013 17:46:08 +0000 (13:46 -0400)]
#17616: wave.open now supports the 'with' statement.
Feature and tests by ClClaudiu.Popa, I added the doc changes.
Christian Heimes [Wed, 31 Jul 2013 11:32:40 +0000 (13:32 +0200)]
yet another WITH_THREADS typo
Christian Heimes [Wed, 31 Jul 2013 09:58:41 +0000 (11:58 +0200)]
merge
Christian Heimes [Wed, 31 Jul 2013 09:58:18 +0000 (11:58 +0200)]
Fix _sha3 module to actually release the GIL around its update function.
gcov is great.
Terry Jan Reedy [Wed, 31 Jul 2013 02:31:30 +0000 (22:31 -0400)]
Merge with 3.3
Terry Jan Reedy [Wed, 31 Jul 2013 02:31:06 +0000 (22:31 -0400)]
Issue #18573: More copy-paste fixes to assertWarns entry.
Christian Heimes [Wed, 31 Jul 2013 00:36:43 +0000 (02:36 +0200)]
Test Py_IncRef() and Py_DecRef() C functions
Christian Heimes [Tue, 30 Jul 2013 23:33:50 +0000 (01:33 +0200)]
Fix use of uninitialized scalar variable, see
3f994367a979
CID
1058763
Christian Heimes [Tue, 30 Jul 2013 22:55:18 +0000 (00:55 +0200)]
Issue #18481: Add C coverage reporting with gcov and lcov. A new make target
"coverage-report" creates an instrumented Python build, runs unit tests
and creates a HTML. The report can be updated with "make coverage-lcov".
Ned Deily [Tue, 30 Jul 2013 21:32:52 +0000 (14:32 -0700)]
Issue #15494: merge from 3.3
Ned Deily [Tue, 30 Jul 2013 21:30:15 +0000 (14:30 -0700)]
Issue #15494: Install new test/support directory.
R David Murray [Tue, 30 Jul 2013 19:53:30 +0000 (15:53 -0400)]
Merge: #16273: Fix tutorial discussion of seek/tell (opaque text-mode values).
R David Murray [Tue, 30 Jul 2013 19:51:57 +0000 (15:51 -0400)]
#16273: Fix tutorial discussion of seek/tell (opaque text-mode values).
Patch by Sijin Joseph.
R David Murray [Tue, 30 Jul 2013 19:37:43 +0000 (15:37 -0400)]
Merge: #18601: fix error made when difflib example was converted to use 'with'.
R David Murray [Tue, 30 Jul 2013 19:37:11 +0000 (15:37 -0400)]
#18601: fix error made when difflib example was converted to use 'with'.
Ethan Furman [Tue, 30 Jul 2013 19:24:25 +0000 (12:24 -0700)]
fixed examples to work with changed attribute names
Antoine Pitrou [Tue, 30 Jul 2013 19:01:23 +0000 (21:01 +0200)]
Fix style
R David Murray [Tue, 30 Jul 2013 18:43:10 +0000 (14:43 -0400)]
Merge #18584: s/testcleanup/testsetup/ until we switch to Sphinx 1.1.
R David Murray [Tue, 30 Jul 2013 18:42:40 +0000 (14:42 -0400)]
#18584: s/testcleanup/testsetup/ until we switch to Sphinx 1.1.
testcleanup directive is new as of 1.1, and we are currently running
1.0.7. But using testsetup works just as well, and avoids the
unknown directive error when building the docs.
Antoine Pitrou [Tue, 30 Jul 2013 18:09:36 +0000 (20:09 +0200)]
Merge doc fix
Antoine Pitrou [Tue, 30 Jul 2013 18:09:03 +0000 (20:09 +0200)]
Simplify example of PyErr_Fetch() use