- 20 Jun, 2011 15 commits
-
-
Victor Stinner authored
(UnicodeEncodeError).
-
Victor Stinner authored
module name anymore, only work on unicode strings. Therefore it doesn't truncate module names with embedded NUL characters, or fail if the module name contains surrogate characters (UTF-8 encoder fails on a surrogate character). Patch written by Alexander Belopolsky.
-
Victor Stinner authored
encoding using _Py_char2wchar() instead of mbstowcs() to store undecodable bytes as surrogates characters (PEP 383) instead of ignoring silently the PYTHONPATH variable.
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Senthil Kumaran authored
-
Benjamin Peterson authored
-
Senthil Kumaran authored
-
Benjamin Peterson authored
This prevents the assignment of __class__ in the class body from breaking super. (Although a determined person could do locals()["@__class__"] = 4)
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
- 19 Jun, 2011 18 commits
-
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Éric Araujo authored
-
Éric Araujo authored
Original patch by Vinay Sajip on #11637.
-
Éric Araujo authored
-
Éric Araujo authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Victor Stinner authored
-
Nick Coghlan authored
-
R David Murray authored
Andrew agreed in the issue that eliminating the module file made sense. Wrapper has only been exposed as a function, and so there is no (easy) way to access the wrapper module, which in any case only had the one function in it. Since __init__ already contains a couple wrapper functions, it seems to make sense to just move wrapper there instead of importing it from a single function module.
-
- 18 Jun, 2011 7 commits
-
-
R David Murray authored
-
R David Murray authored
Patch by July Tikhonov.
-
R David Murray authored
-
R David Murray authored
Analogous to the decode_header fix, this fix makes Header.append and make_header correctly handle the unknown-8bit charset introduced by email5.1, when the input to them is binary strings. Previous to this fix the make_header(decode_header(x)) == x invariant was broken in the face of the unknown-8bit charset.
-
R David Murray authored
This updates 12e39cd7a0e4 (merge of b21fdfa0019c), which fixed this bug incorrectly.
-
R David Murray authored
This updates b21fdfa0019c, which fixed this bug incorrectly.
-
R David Murray authored
-