Eli Bendersky
25f043b152
Issue #18593 : fix typo in comment
2013-07-30 06:12:49 -07: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
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
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
2f253e8e62
Attempt to fix #15415 on Windows
2013-07-29 15:18:09 +10:00
Terry Jan Reedy
015b4535c5
Update gui section of idle test README.
2013-07-28 16:39:44 -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
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
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
ae6d05bcb9
doc of PYTHONFAULTHANDLER env var: add missing "versionadded" tag
2013-07-28 02:56:50 +02: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
9eda66da78
Issue #18573 : Complete copy-paste from assertRaises entry to assertWarns entry.
2013-07-27 16:15:29 -04:00
Victor Stinner
da2cbb4fc8
Issue #15893 : Remove dead code
2013-07-27 02:41:03 +02:00
Victor Stinner
36577e4e8c
Issue #15893 : frozenmain.c now handles PyMem_Malloc() failure
2013-07-27 01:04:56 +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
1acc129d48
Parser/asdl_c.py: use Py_CLEAR()
2013-07-27 00:03:47 +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
Christian Heimes
6ca8a05f10
Issue #18561 : Skip name in ctypes' _build_callargs() if name is NULL.
...
CID 486199
2013-07-26 23:04:29 +02:00
Christian Heimes
704e2d374f
Issue #18560 : Fix potential NULL pointer dereference in sum()
2013-07-26 22:49:26 +02:00
Christian Heimes
9ee5c37c8f
Issue #18559 : Fix NULL pointer dereference error in _pickle module
2013-07-26 22:45:00 +02:00
Christian Heimes
66eda26a72
Handle yet another potential failure in testcapi
...
CID 1058280
2013-07-26 15:54:07 +02:00
Christian Heimes
5962bef8aa
Check return value of PyLong_FromLong(X509_get_version()). It might be NULL if
...
X509_get_version() grows beyond our small int cache.
CID 1058279
2013-07-26 15:51:18 +02:00
Christian Heimes
ec2309b03d
remove surplus and wrong Py_DECREF() introduced in 33891989c9cf
2013-07-26 15:26:18 +02:00
Christian Heimes
3205e74d88
Fix declaration-after-statement of d49f65ff4f3c
2013-07-26 15:06:48 +02:00
Christian Heimes
7e138027ff
Fix memory leaks and add checks for failing malloc() calls to testcapi module
...
CID 1058288
2013-07-26 15:03:50 +02:00
Christian Heimes
ff369a5595
Fix possible NULL pointer dereferences in testcapi module
...
CID 1058280
CID 1058282
CID 1058284
2013-07-26 14:52:18 +02:00
Christian Heimes
a956e645c1
Fix possible NULL pointer dereference in PyCurses_Start_Color()
...
CID 1058276
2013-07-26 14:45:37 +02:00
Brett Cannon
845f7845aa
Issue #18556 : Check the return value for PyUnicode_AsWideChar() in
...
U_set() from ctypes.
CID #486657
2013-07-25 17:34:00 -04:00
R David Murray
b76b1b1ec8
#15130 : remove repeat of abstract paragraph from socket howto body.
...
Patch by Tshepang Lekhonkhobe.
2013-07-25 13:24:15 -04:00
R David Murray
271ade87ac
#18503 : small cleanups in test_email.
...
Patch by Vajrasky Kok.
2013-07-25 12:11:55 -04:00
Christian Heimes
9228837e31
Issue #18549 : Eliminate dead code in socket_ntohl().
...
CID 982369
2013-07-25 11:46:10 +02:00
Ezio Melotti
b042daa5a7
#14853 : remove test that was making too many assumptions about stdin. Patch by Elena Oat.
2013-07-25 05:21:00 +02:00
Ezio Melotti
61b0c672b5
#16937 : document that stdin is always buffered, even when -u is used. Patch by Elena Oat.
2013-07-25 05:04:02 +02:00
Christian Heimes
72f562f719
Fix potential NULL pointer dereferencing in ast module
...
CID 719690
2013-07-24 21:02:17 +02:00
Vinay Sajip
a92fbe6dce
Issue #18541 : simplified LoggerAdapter example.
2013-07-24 17:52:01 +01:00
Benjamin Peterson
7d28b6b379
return NULL here
2013-07-22 22:08:09 -07:00
Serhiy Storchaka
fa6bc29987
Issue #17944 : test_zipfile now discoverable and uses subclassing to
...
generate tests for different compression types. Fixed a bug with skipping
some tests due to use of exhausted iterators.
2013-07-22 21:00:11 +03:00
Christian Heimes
1eb0cb12ac
Some compilers complain about 'control reaches end of non-void function'
...
because they don't understand that Py_FatalError() terminates the program.
2013-07-22 16:34:13 +02:00
Christian Heimes
60a6067709
Issue #15905 : Fix theoretical buffer overflow in handling of sys.argv[0],
...
prefix and exec_prefix if the operation system does not obey MAXPATHLEN.
2013-07-22 12:53:32 +02:00
Christian Heimes
37c916dd18
merge
2013-07-22 10:37:41 +02:00
Christian Heimes
53d2dc4045
Add sanity check to PyGrammar_LabelRepr() in order to catch invalid tokens when debugging
...
a new grammar.
CID 715360
2013-07-22 10:30:14 +02:00
Terry Jan Reedy
6e2711b345
Issue #18439 : Make patchcheck work on Windows for ACKS, NEWS.
2013-07-21 20:57:44 -04:00
Christian Heimes
43d82df406
Now all error paths of _freeze_importlib use 'goto error' and the error label cleans up all used resources.
2013-07-21 23:05:04 +02:00
Benjamin Peterson
0f9b7d32c7
fix spacing
2013-07-21 13:29:37 -07:00
Benjamin Peterson
04b01dc8f7
let's not return NULL from functions that should return ints
2013-07-21 13:26:13 -07:00
Christian Heimes
8c4c1f6e66
Issue #18514 : Fix unreachable Py_DECREF() call in PyCData_FromBaseObj()
2013-07-21 16:24:51 +02:00
Christian Heimes
96f628f487
Fix reference and memory leaks in _freeze_importlib
2013-07-21 16:19:02 +02:00
Christian Heimes
1f34729f42
Check return value of lseek() in _Py_DisplaySourceLine().
...
Also use portable SEEK_SET instead of 0.
CID 1040639
2013-07-21 02:12:35 +02:00
Christian Heimes
c731bbe665
Propagate error when PyByteArray_Resize() fails in bytearray_translate()
...
CID 715334
2013-07-21 02:04:35 +02:00