Antoine Pitrou
95db2e7b8a
Backout 62658d9d8926 (issue #10241 ): it causes a crash at shutdown when deallocating a Tkapp object.
13 years ago
Christian Heimes
865d12a2d9
Fix warning: ‘ptr2’ may be used uninitialized in this function
13 years ago
Charles-François Natali
1d7ec8f26c
Issue #18325 : Fix a test_kqueue failure on OpenBSD: kevent's data and event
members are integers.
13 years ago
Charles-François Natali
6ddd2653ab
Issue #18325 : Fix a test_kqueue failure on OpenBSD: kevent's data and event
members are integers.
13 years ago
Ned Deily
b467d1542a
Issue #18517 : merge from 3.3
13 years ago
Ned Deily
cd3d8fb825
Issue #18517 : Move definition of "xxlimited" extension to detect_modules().
13 years ago
Ned Deily
970a87fc07
Closes #18627 : merge from 3.3
13 years ago
Ned Deily
bd143c3760
Issue #18627 : Fix typo noticed by Vajrasky Kok.
13 years ago
Ned Deily
ffb32893a3
Issue #17557 : merge from 3.3
13 years ago
Ned Deily
b5dd6d2287
Issue #17557 : Fix os.getgroups() to work with the modified behavior of
getgroups(2) on OS X 10.8. Original patch by Mateusz Lenik.
13 years ago
Larry Hastings
2e3e593e34
Issue #17899 : Fix rare file descriptor leak in os.listdir().
(Done as separate patch from trunk as the code has diverged quite a bit.)
13 years ago
Larry Hastings
4dbc95e258
Issue #17899 : Fix rare file descriptor leak in os.listdir().
13 years ago
Victor Stinner
ffff763161
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.
13 years ago
Victor Stinner
044c516854
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").
13 years ago
Ned Deily
362532bc48
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.
13 years ago
Antoine Pitrou
284e5ce67e
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)
13 years ago
Antoine Pitrou
84f31a5676
Issue #10241 : Clear extension module dict copies at interpreter shutdown.
Patch by Neil Schemenauer, minimally modified.
13 years ago
Antoine Pitrou
a68cbfa556
Issue #18589 : fix hyperlinking of type slots (tp_*)
13 years ago
Antoine Pitrou
39668f57f4
Issue #18589 : fix hyperlinking of type slots (tp_*)
13 years ago
Antoine Pitrou
932ff83682
Issue #18608 : Avoid keeping a strong reference to the locale module inside the _io module.
13 years ago
Antoine Pitrou
2d350fd8af
Issue #18619 : Fix atexit leaking callbacks registered from sub-interpreters, and make it GC-aware.
13 years ago
Antoine Pitrou
7a2572cb49
test_capi: make a specific test case for the subinterpreter test
(it was wrongly classified in the pending calls test case)
13 years ago
Antoine Pitrou
f93c7b8061
Remove Lib/site.py hack to unregister patched builtins.
It creates a refleak in subinterpreters, as atexit callbacks aren't triggered at their end.
13 years ago
Antoine Pitrou
4ed328c4d7
Add a test for module weakrefability
13 years ago
Martin v. Löwis
5284f80268
Issue #18569 : The installer now adds .py to the PATHEXT variable
when extensions are registered. Patch by Paul Moore.
13 years ago
Martin v. Löwis
85a4847f07
Add UUID for 3.4.
13 years ago
doko@ubuntu.com
0df35b0a57
- Issue #18257 : Fix readlink usage in python-config. Install the python
version again on Darwin.
13 years ago
Tim Golden
b2fcebb018
issue9035: Prevent Windows-specific tests from running on non-Windows platforms
13 years ago
Tim Golden
6b528067c5
Issue #9035 : os.path.ismount now recognises volumes mounted below
a drive root on Windows. Original patch by Atsuo Ishimoto.
13 years ago
R David Murray
536ffe161c
#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.
13 years ago
Christian Heimes
abe639f115
Initialize utime with 0. It fixes a couple of compiler warnung:
warning: 'utime.mtime_ns' may be used uninitialized in this function [-Wmaybe-uninitialized]
13 years ago
Christian Heimes
b3c872403d
Initialize utime with 0. It fixes a couple of compiler warnung:
warning: 'utime.mtime_ns' may be used uninitialized in this function [-Wmaybe-uninitialized]
13 years ago
Christian Heimes
6b6a5abc39
merge
13 years ago
Christian Heimes
294b93d4c6
merge
13 years ago
Christian Heimes
1289565f4b
Silence warning about set but unused variable inside compile_atom() in non-debug builds
13 years ago
Christian Heimes
5e4d372524
Silence warning about set but unused variable inside compile_atom() in non-debug builds
13 years ago
Antoine Pitrou
a4617cdac9
Fix whitespace
13 years ago
Antoine Pitrou
dcedaf6e53
Issue #18214 : Improve finalization of Python modules to avoid setting their globals to None, in most cases.
13 years ago
Antoine Pitrou
c27cd71cd7
Merge
13 years ago
Antoine Pitrou
5c30a75722
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.
13 years ago
R David Murray
c91d5eea10
#17616 : wave.open now supports the 'with' statement.
Feature and tests by ClClaudiu.Popa, I added the doc changes.
13 years ago
Christian Heimes
0ce642ebca
yet another WITH_THREADS typo
13 years ago
Christian Heimes
7cd97fcf6e
merge
13 years ago
Christian Heimes
6ffa5ce1f3
Fix _sha3 module to actually release the GIL around its update function.
gcov is great.
13 years ago
Terry Jan Reedy
92e2a220ef
Merge with 3.3
13 years ago
Terry Jan Reedy
778cba7f29
Issue #18573 : More copy-paste fixes to assertWarns entry.
13 years ago
Christian Heimes
4efdb4177e
Test Py_IncRef() and Py_DecRef() C functions
13 years ago
Christian Heimes
72f455e96c
Fix use of uninitialized scalar variable, see 3f994367a979
CID 1058763
13 years ago
Christian Heimes
49e52f9375
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".
13 years ago
Ned Deily
3b998d1086
Issue #15494 : merge from 3.3
13 years ago