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]
2013-08-01 00:08:16 +02:00
Christian Heimes
6b6a5abc39
merge
2013-07-31 23:50:03 +02:00
Christian Heimes
294b93d4c6
merge
2013-07-31 23:49:48 +02:00
Christian Heimes
1289565f4b
Silence warning about set but unused variable inside compile_atom() in non-debug builds
2013-07-31 23:48:04 +02:00
Christian Heimes
5e4d372524
Silence warning about set but unused variable inside compile_atom() in non-debug builds
2013-07-31 23:47:56 +02: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
Antoine Pitrou
c27cd71cd7
Merge
2013-07-31 21:54:18 +02:00
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.
2013-07-31 21:52:53 +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
Christian Heimes
0ce642ebca
yet another WITH_THREADS typo
2013-07-31 13:32:40 +02:00
Christian Heimes
7cd97fcf6e
merge
2013-07-31 11:58:41 +02:00
Christian Heimes
6ffa5ce1f3
Fix _sha3 module to actually release the GIL around its update function.
...
gcov is great.
2013-07-31 11:58:18 +02:00
Terry Jan Reedy
92e2a220ef
Merge with 3.3
2013-07-30 22:31:30 -04:00
Terry Jan Reedy
778cba7f29
Issue #18573 : More copy-paste fixes to assertWarns entry.
2013-07-30 22:31:06 -04:00
Christian Heimes
4efdb4177e
Test Py_IncRef() and Py_DecRef() C functions
2013-07-31 02:36:43 +02:00
Christian Heimes
72f455e96c
Fix use of uninitialized scalar variable, see 3f994367a979
...
CID 1058763
2013-07-31 01:33:50 +02:00
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".
2013-07-31 00:55:18 +02:00
Ned Deily
3b998d1086
Issue #15494 : merge from 3.3
2013-07-30 14:32:52 -07:00
Ned Deily
cdc75d967b
Issue #15494 : Install new test/support directory.
2013-07-30 14:30:15 -07:00
R David Murray
bc47d7bb4f
Merge: #16273 : Fix tutorial discussion of seek/tell (opaque text-mode values).
2013-07-30 15:53:30 -04:00
R David Murray
1c4e443ea2
#16273 : Fix tutorial discussion of seek/tell (opaque text-mode values).
...
Patch by Sijin Joseph.
2013-07-30 15:51:57 -04:00
R David Murray
f392c604e7
Merge: #18601 : fix error made when difflib example was converted to use 'with'.
2013-07-30 15:37:43 -04:00
R David Murray
96433f8e34
#18601 : fix error made when difflib example was converted to use 'with'.
2013-07-30 15:37:11 -04:00
Ethan Furman
9026262507
fixed examples to work with changed attribute names
2013-07-30 12:24:25 -07:00
Antoine Pitrou
32d483c39b
Fix style
2013-07-30 21:01:23 +02:00
R David Murray
20ac14fbad
Merge #18584 : s/testcleanup/testsetup/ until we switch to Sphinx 1.1.
2013-07-30 14:43:10 -04:00
R David Murray
11bfd32881
#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.
2013-07-30 14:42:40 -04:00
Antoine Pitrou
8547a0e29b
Merge doc fix
2013-07-30 20:09:36 +02:00
Antoine Pitrou
3ab7b0aabb
Simplify example of PyErr_Fetch() use
2013-07-30 20:09:03 +02: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
Christian Heimes
4fec4314cf
Issue #18599 : Fix name attribute of _sha1.sha1() object. It now returns
...
'SHA1' instead of 'SHA'.
2013-07-30 15:32:57 +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
R David Murray
299a221940
Merge #18584 : make doctest examples in email documentation pass.
2013-07-29 15:56:26 -04:00
R David Murray
fdfb0050bb
#18584 : make doctest examples in email documentation pass.
...
With the exception of the 'as_string' call in the policy docs.
That one is a separate issue.
Note that when building the docs sphinx is complaining about
.. testcleanup:: being an invalid directive. I don't know
why this is, as I'm following the sphinx docs...but fortunately
the action is to omit the text in the body, so the generated
documentation is correct.
2013-07-29 15:49:58 -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