Serhiy Storchaka
579ddc2fd4
Issue #16741 : Fix an error reporting in int().
2013-08-03 21:14:05 +03:00
Serhiy Storchaka
f6d0aeeadc
Issue #16741 : Fix an error reporting in int().
2013-08-03 20:55:06 +03:00
Serhiy Storchaka
e633bed44a
Merge heads
2013-08-03 19:28:28 +03:00
Serhiy Storchaka
b94f61b6fb
Issue #17998 : Fix an internal error in regular expression engine.
2013-08-03 19:22:28 +03:00
Serhiy Storchaka
1f35ae0a3c
Issue #17998 : Fix an internal error in regular expression engine.
2013-08-03 19:18:38 +03:00
Mark Dickinson
d41102dac8
Remove debugging print.
2013-08-03 17:14:50 +01:00
doko@ubuntu.com
fb0ffa12fc
- Fix a fcntl test case on KFreeBSD, Debian #708653 (Petr Salinger).
2013-08-03 16:18:55 +02:00
doko@ubuntu.com
1dfb9180a7
- Fix a fcntl test case on KFreeBSD, Debian #708653 (Petr Salinger).
2013-08-03 16:12:33 +02:00
Nick Coghlan
1337130335
Merge #18396 from 3.3
2013-08-03 23:03:27 +10:00
Nick Coghlan
60b3ac7482
Close #18396 : fix spurious test_signal failure on Windows
...
signal.getsignal returns None for some signals if faulthandler
is enabled (Patch by Jeremy Kloth)
2013-08-03 22:56:30 +10:00
Ned Deily
582583bc41
Issue #17046 : merge from 3.3
2013-08-02 18:05:31 -07:00
Ned Deily
e92dfbfec8
Issue #17046 : Fix test_subprocess test_executable_without_cwd broken test case.
2013-08-02 18:02:21 -07:00
Charles-François Natali
1d7ec8f26c
Issue #18325 : Fix a test_kqueue failure on OpenBSD: kevent's data and event
...
members are integers.
2013-08-02 10:22:07 +02:00
Charles-François Natali
6ddd2653ab
Issue #18325 : Fix a test_kqueue failure on OpenBSD: kevent's data and event
...
members are integers.
2013-08-02 10:21:20 +02:00
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)
2013-08-02 00:08:51 +02:00
Antoine Pitrou
2d350fd8af
Issue #18619 : Fix atexit leaking callbacks registered from sub-interpreters, and make it GC-aware.
2013-08-01 20:56:12 +02:00
Antoine Pitrou
7a2572cb49
test_capi: make a specific test case for the subinterpreter test
...
(it was wrongly classified in the pending calls test case)
2013-08-01 20:43:26 +02:00
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.
2013-08-01 19:46:04 +02:00
Antoine Pitrou
4ed328c4d7
Add a test for module weakrefability
2013-08-01 19:20:31 +02:00
Tim Golden
b2fcebb018
issue9035: Prevent Windows-specific tests from running on non-Windows platforms
2013-08-01 13:58:58 +01:00
Tim Golden
6b528067c5
Issue #9035 : os.path.ismount now recognises volumes mounted below
...
a drive root on Windows. Original patch by Atsuo Ishimoto.
2013-08-01 12:44:00 +01:00
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.
2013-07-31 20:48:26 -04:00
Antoine Pitrou
a4617cdac9
Fix whitespace
2013-07-31 23:15:37 +02:00
Antoine Pitrou
dcedaf6e53
Issue #18214 : Improve finalization of Python modules to avoid setting their globals to None, in most cases.
2013-07-31 23:14:08 +02:00
R David Murray
c91d5eea10
#17616 : wave.open now supports the 'with' statement.
...
Feature and tests by ClClaudiu.Popa, I added the doc changes.
2013-07-31 13:46:08 -04:00
Antoine Pitrou
796564c27b
Issue #18112 : PEP 442 implementation (safe object finalization).
2013-07-30 19:59:21 +02:00
Christian Heimes
c5d95b17ac
Add simple test for repr(lock)
2013-07-30 15:54:39 +02:00
Christian Heimes
8ad91cc354
Add simple test for resource.getpagesize()
2013-07-30 15:44:24 +02:00
Christian Heimes
4ebc9295d1
Add simple test for resource.getpagesize()
2013-07-30 15:44:13 +02:00
Christian Heimes
d49a371e91
Issue #18599 : Fix name attribute of _sha1.sha1() object. It now returns
...
'SHA1' instead of 'SHA'.
Add more tests for hashlib and hash object attributes
2013-07-30 15:35:54 +02:00
Christian Heimes
65aa573082
Add more tests for hashlib and hash object attributes
2013-07-30 15:33:30 +02:00
Eli Bendersky
580373c469
Issue #18593 : fix typo in comment
2013-07-30 06:13:01 -07:00
Eli Bendersky
25f043b152
Issue #18593 : fix typo in comment
2013-07-30 06:12:49 -07:00
Terry Jan Reedy
5bcbdf1548
Merge with 3.3
2013-07-30 01:37:28 -04:00
Terry Jan Reedy
4bd31292c2
Make all idle test case names end with 'Test'.
2013-07-30 01:36:48 -04:00
Nick Coghlan
00dc61cd73
Merge #15415 from 3.3 (again)
2013-07-29 17:52:21 +10:00
Nick Coghlan
c06c0aed58
Third attempt to fix #15415 on Windows
...
With help from jkloth on IRC, so it will hopefully work
this time :)
2013-07-29 17:51:16 +10:00
Nick Coghlan
4bcb1ec539
Merge #15415 Windows buildbot change from 3.3
2013-07-29 15:19:29 +10:00
Nick Coghlan
2f253e8e62
Attempt to fix #15415 on Windows
2013-07-29 15:18:09 +10:00
Terry Jan Reedy
7e6cd2999a
Merge with 3.3
2013-07-28 16:40:07 -04:00
Terry Jan Reedy
015b4535c5
Update gui section of idle test README.
2013-07-28 16:39:44 -04:00
Terry Jan Reedy
a315a97505
Merge with 3.3
2013-07-28 16:25:52 -04:00
Terry Jan Reedy
a9d16c85d7
Issue #18441 : Remove check from test_text.py in 3.3,4 (already done in 2.7).
2013-07-28 16:25:16 -04:00
Nick Coghlan
cf67b2a891
Merge #15415 from 3.3
2013-07-28 22:25:25 +10:00
Nick Coghlan
5517596c04
Close #15415 : Factor out temp dir helpers to test.support
...
Patch by Chris Jerdonek
2013-07-28 22:11:50 +10:00
Nick Coghlan
69e3bda310
Issue #15494 : test.support is now a package rather than a module
...
Also including this change in 3.3 to help avoid spurious conflicts
between the two most active branches.
(Initial patch by Indra Talip)
2013-07-28 21:06:50 +10:00
Nick Coghlan
fb15aa1e08
Close #15494 : test.support is now a package rather than a module
...
Initial patch by Indra Talip
2013-07-28 20:56:19 +10:00
Nick Coghlan
e8c45d6d0e
Close #13266 : Add inspect.unwrap
...
Initial patch by Daniel Urban and Aaron Iles
2013-07-28 20:00:01 +10:00
Raymond Hettinger
77578204d6
Restore the data block size to 62.
...
The former block size traded away good fit within cache lines in
order to gain faster division in deque_item(). However, compilers
are getting smarter and can now replace the slow division operation
with a fast integer multiply and right shift. Accordingly, it makes
sense to go back to a size that lets blocks neatly fill entire
cache-lines.
GCC-4.8 and CLANG 4.0 both compute "x // 62" with something
roughly equivalent to "x * 9520900167075897609 >> 69".
2013-07-28 02:39:49 -07:00
Terry Jan Reedy
1f1d0a57fa
Merge with 3.3
2013-07-28 00:00:47 -04:00