- 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 25 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
-
Ned Deily authored
-
Ned Deily authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-
Christian Heimes authored
-
Christian Heimes authored
-