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
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
b8de598305
Null merge from 3.3
2013-07-28 21:40:20 +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
Terry Jan Reedy
725d9dd1a7
Issue #18441 : Make test.support.requires('gui') skip when it should.
2013-07-28 00:00:20 -04:00
Victor Stinner
b6738df111
(Merge 3.3) doc of PYTHONFAULTHANDLER env var: add missing "versionadded" tag
2013-07-28 02:57:02 +02:00
Victor Stinner
ae6d05bcb9
doc of PYTHONFAULTHANDLER env var: add missing "versionadded" tag
2013-07-28 02:56:50 +02:00
Benjamin Peterson
290371dadc
merge 3.3 ( #18565 )
2013-07-27 14:07:19 -07:00
Benjamin Peterson
d979c72160
add a test for issue #17669 ( closes #18565 )
...
Patch from Phil Connell.
2013-07-27 14:06:56 -07:00
Terry Jan Reedy
937b50c378
Merge with 3.3
2013-07-27 16:15:51 -04:00
Terry Jan Reedy
9eda66da78
Issue #18573 : Complete copy-paste from assertRaises entry to assertWarns entry.
2013-07-27 16:15:29 -04:00
Raymond Hettinger
3223dd5c22
Assertions key off NDEBUG
2013-07-26 23:14:22 -07:00
Victor Stinner
a44549a959
null merge (fix already applied to default)
2013-07-27 02:41:48 +02:00
Victor Stinner
da2cbb4fc8
Issue #15893 : Remove dead code
2013-07-27 02:41:03 +02:00
Victor Stinner
c588feeea9
Issue #15893 : Improve error handling in main() and Py_FrozenMain()
...
* handle _PyMem_RawStrdup() failure
* Py_FrozenMain() releases memory on error
* Py_FrozenMain() duplicates the old locale, as done in main()
2013-07-27 02:39:09 +02:00
Victor Stinner
739cf4e3e6
Py_FrozenMain() now uses _Py_char2wchar() to decode command line arguments, as
...
done in main()
2013-07-27 02:24:52 +02:00
Victor Stinner
b5245bec93
Issue #18203 : Replace PyMem_Malloc() with PyMem_RawMalloc() at Python initialization
2013-07-27 01:13:34 +02:00
Victor Stinner
597696c70c
(Merge 3.3) Issue #15893 : frozenmain.c now handles PyMem_Malloc() failure
2013-07-27 01:05:49 +02:00
Victor Stinner
36577e4e8c
Issue #15893 : frozenmain.c now handles PyMem_Malloc() failure
2013-07-27 01:04:56 +02:00
Christian Heimes
b7f1b38dea
Issue #18552 : Check return value of PyArena_AddPyObject() in obj2ast_object().
2013-07-27 00:33:35 +02:00
Christian Heimes
70c94e7896
Issue #18552 : Check return value of PyArena_AddPyObject() in obj2ast_object().
2013-07-27 00:33:13 +02:00
Victor Stinner
b318990cac
(Merge 3.3) Parser/asdl_c.py: use Py_CLEAR()
2013-07-27 00:04:42 +02:00
Victor Stinner
1acc129d48
Parser/asdl_c.py: use Py_CLEAR()
2013-07-27 00:03:47 +02:00
Victor Stinner
ee4b59c0f8
(Merge 3.3) According to the PEP 7, C code must "use 4-space indents"
...
Replace 8 spaces with 4.
2013-07-27 00:01:35 +02:00
Victor Stinner
ce72e1ce6c
According to the PEP 7, C code must "use 4-space indents"
...
Replace 8 spaces with 4.
2013-07-27 00:00:36 +02:00