Commit Graph

48887 Commits

Author SHA1 Message Date
Vinay Sajip 5a35b06d5e test_logging coverage improvements. 2011-04-27 11:31:14 +01:00
Vinay Sajip 86a96cee23 Re-enabled time test in test_logging. 2011-04-27 08:30:30 +01:00
Ezio Melotti 9490af2150 #11763: merge with 3.2. 2011-04-27 10:21:51 +03:00
Ezio Melotti edd117fd27 #11763: merge with 3.1. 2011-04-27 10:20:38 +03:00
Ezio Melotti 935a588825 #11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too long. 2011-04-27 10:17:34 +03:00
Victor Stinner 793b531756 Issue #10914: Initialize correctly the filesystem codec when creating a new
subinterpreter to fix a bootstrap issue with codecs implemented in Python, as
the ISO-8859-15 codec.

Add fscodec_initialized attribute to the PyInterpreterState structure.
2011-04-27 00:24:21 +02:00
Victor Stinner c40a350db0 Issue #10914: Py_NewInterpreter() uses PyErr_PrintEx(0)
... instead of PyErr_Print() because we don't need to set sys attributes,
the sys module is destroyed just after printing the error.
2011-04-27 00:20:27 +02:00
Victor Stinner 66299a49f0 Fix compilation of _testembed.c without threads 2011-04-26 23:37:02 +02:00
Victor Stinner 8e4d407818 PyGILState_Ensure(), PyGILState_Release(), PyGILState_GetThisThreadState() are
not available if Python is compiled without threads.
2011-04-26 23:34:58 +02:00
Raymond Hettinger f3d77dc94a merge 2011-04-26 13:59:59 -07:00
Raymond Hettinger 441ed91a88 Issue 11929: Minor whitespace clean-ups. 2011-04-26 13:56:29 -07:00
Raymond Hettinger 40fc59d98b Issue 11929: Minor whitespace clean-ups. 2011-04-26 13:55:55 -07:00
Victor Stinner b90db4caf0 Issue #11918: OS/2 and VMS are no more supported because of the lack of
maintainer.
2011-04-26 22:48:24 +02:00
Vinay Sajip d972d8fea2 Disabled test failing on buildbots. 2011-04-26 20:51:07 +01:00
Vinay Sajip 37eb3387a4 Refined time test in test_logging. 2011-04-26 20:26:41 +01:00
Vinay Sajip 373baef1eb Yet more test_logging coverage improvements. 2011-04-26 20:05:24 +01:00
Vinay Sajip 985ef87ea0 More test_logging coverage improvements. 2011-04-26 19:34:04 +01:00
Vinay Sajip 26fe4b70cf test_logging coverage improvements. 2011-04-26 18:43:05 +01:00
Antoine Pitrou 45456a09f0 I think this should be "versionchanged", not "versionadded" 2011-04-26 18:53:42 +02:00
Senthil Kumaran 0145c54213 merge from 3.2 2011-04-26 21:14:26 +08:00
Senthil Kumaran d27988d88d merge from 2.7 2011-04-26 21:12:48 +08:00
Senthil Kumaran 30fe8188b4 merge from 3.1 2011-04-26 21:10:23 +08:00
Senthil Kumaran 72387f90fd Update News entry for Issue11236 2011-04-26 21:09:49 +08:00
Senthil Kumaran 75e6ed18d0 merge from 3.1 codeline. 2011-04-26 21:00:27 +08:00
Senthil Kumaran 7cfe5f88ce Fix for issue11236 getpass.getpass to respond ctrl-c or ctrl-z 2011-04-26 20:59:46 +08:00
Ezio Melotti bf1253b25a #6780: merge with 3.2. 2011-04-26 06:45:24 +03:00
Ezio Melotti f2b3f780a1 #6780: merge with 3.1. 2011-04-26 06:40:59 +03:00
Ezio Melotti ba42fd5801 #6780: fix starts/endswith error message to mention that tuples are accepted too. 2011-04-26 06:09:45 +03:00
R David Murray dff18b0858 Merge #11901: add description of how bitfields are laid out to hexversion docs
Patch by Sijin Joseph.
2011-04-25 16:14:26 -04:00
R David Murray 0fb5b398cd Merge #11901: add description of how bitfields are laid out to hexversion docs
Patch by Sijin Joseph.
2011-04-25 16:13:54 -04:00
R David Murray 2043f9c582 #11901: add description of how bitfields are laid out to hexversion docs
Patch by Sijin Joseph.
2011-04-25 16:12:26 -04:00
Antoine Pitrou d4a2ff40d5 Issue #11919: try to fix test_imp failure on some buildbots. 2011-04-25 21:46:04 +02:00
Antoine Pitrou 11846905d3 Issue #11919: try to fix test_imp failure on some buildbots. 2011-04-25 21:39:49 +02:00
Antoine Pitrou eec60603a8 Issue #10914: Add a minimal embedding test to test_capi. 2011-04-25 21:23:26 +02:00
Antoine Pitrou 72562d065e Issue #10914: add NEWS item. 2011-04-25 21:22:04 +02:00
Antoine Pitrou 8e60577693 Issue #10914: Add a minimal embedding test to test_capi. 2011-04-25 21:21:07 +02:00
Antoine Pitrou f645451d78 Issue #11856: Speed up parsing of JSON numbers. 2011-04-25 19:16:06 +02:00
Alexander Belopolsky 54afa5504c Issue #2736: Documented how to compute seconds since epoch. 2011-04-25 13:00:40 -04:00
Jesus Cea c1935d2abf Revert bb62908896fe, but keep the test 2011-04-25 04:03:58 +02:00
Jesus Cea 4f711726be pybench prep_times calculation error (closes #11895) 2011-04-25 03:47:23 +02:00
Jesus Cea 88f7841be7 Correctly merging #9319 into 3.3? 2011-04-25 03:46:43 +02:00
Jesus Cea b32321aed9 pybench prep_times calculation error (closes #11895) 2011-04-25 03:25:37 +02:00
Jesus Cea 8f14bbdaf6 pybench prep_times calculation error (closes #11895) 2011-04-25 03:24:08 +02:00
Victor Stinner 762f8d1bf2 Issue #11005, issue #11915: fix issue number of commit 2c0da1c4f063. 2011-04-24 23:45:23 +02:00
Victor Stinner c2824d41c3 Issue #11915: threading.RLock()._release_save() raises a RuntimeError if the
lock was not acquired.
2011-04-24 23:41:33 +02:00
Raymond Hettinger a82aa55b5e Minor clean-ups to docstrings, comments, and var names. 2011-04-24 14:34:26 -07:00
Raymond Hettinger 5db3e0167d Minor clean-ups to docstrings, comments, and var names. 2011-04-24 14:26:08 -07:00
Antoine Pitrou 6803dc28b1 Remove unused private function 2011-04-23 17:56:06 +02:00
Antoine Pitrou 8c52027e2d Issue #11258: Speed up ctypes.util.find_library() under Linux by a factor
of 5 to 10.  Initial patch by Jonas H.
2011-04-23 17:51:04 +02:00
Antoine Pitrou 877509aef4 Issue #11382: Trivial system calls, such as dup() or pipe(), needn't
release the GIL.  Patch by Charles-François Natali.
2011-04-23 17:21:13 +02:00