- 29 Jun, 2013 7 commits
-
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Antoine Pitrou authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
replacing warnings.formatwarnings and to reverse replacement of warnings.showwarnings when import is complete and when main function exits. Add test_warning.py. Vinay Sajip provided capture_warnings function.
-
Terry Jan Reedy authored
If buildbots run before next push, test_logging will (temporarily) fail.
-
Ethan Furman authored
-
- 28 Jun, 2013 8 commits
-
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
replacing redundant signature in input() docstring with one-line summary. Original patch by Terrel Shumway.
-
Ethan Furman authored
-
R David Murray authored
-
R David Murray authored
-
R David Murray authored
We ran into this during the sprits at PyCon and this patch has been sitting on my disk ever since. This just adds some information to the error message that we found useful during debugging. There's no good way to add a test, since the message only got generated via code that we had modified for debugging purposes.
-
R David Murray authored
-
Charles-François Natali authored
applicable.
-
- 27 Jun, 2013 3 commits
-
-
R David Murray authored
-
R David Murray authored
There were no tests for the encoders module. encode_base64 worked because it is the default and so got tested implicitly elsewhere, and we use encode_7or8bit internally, so that worked, too. I previously fixed encode_noop, so this fix means that everythign in the encoders module now works, hopefully correctly. Also added an explicit test for encode_base64.
-
Martin v. Löwis authored
-
- 26 Jun, 2013 3 commits
-
-
R David Murray authored
-
R David Murray authored
-
R David Murray authored
The new _has_surrogates code was suggested by Serhiy Storchaka. See the issue for timings, but it is far faster than any other alternative, and also removes the load time that we previously incurred from compiling the complex regex this replaces.
-
- 25 Jun, 2013 9 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
On AIX, the C function mktime() alwaysd sets tm_wday, even on error. So tm_wday cannot be used as a sentinel to detect an error, we can only check if the result is (time_t)-1.
-
Victor Stinner authored
-
Victor Stinner authored
(test.regrtest and test.script_helper enable faulthandler module in subprocesses).
-
Victor Stinner authored
in subprocesses.
-
R David Murray authored
-
Raymond Hettinger authored
-
Victor Stinner authored
time.strtime("%Y") returned "2345" when formatting year 12345.
-
Victor Stinner authored
time.strtime("%Y") returned "2345" when formatting year 12345.
-
- 24 Jun, 2013 10 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
the input string in longer than 2 gigabytes, and ssl.SSLContext.load_cert_chain() raises a ValueError if the password is longer than 2 gigabytes. The ssl module does not support partial write.
-
Victor Stinner authored
string in longer than 2 gigabytes, and ssl.SSLContext.load_cert_chain() raises a ValueError if the password is longer than 2 gigabytes. The ssl module does not support partial write.
-
Victor Stinner authored
-
Victor Stinner authored
"import idlelib" should not install hooks on the warning modules, hooks should only be installed when IDLE is started.
-
Victor Stinner authored
-
Victor Stinner authored
of socket.socket objects now truncate the input buffer to INT_MAX bytes on Windows to avoid an integer overflow. (sendall() still send the whole buffer.)
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-