- 07 Dec, 2012 2 commits
-
-
Chris Jerdonek authored
The NULL encoding check in bytes_decode() was unnecessary because this case is already taken care of by the call to _Py_normalize_encoding() inside PyUnicode_Decode().
-
Raymond Hettinger authored
-
- 06 Dec, 2012 5 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Andrew Svetlov authored
-
Andrew Svetlov authored
-
Andrew Svetlov authored
-
- 05 Dec, 2012 8 commits
-
-
Andrew Svetlov authored
Update comment: SAVE_EXC_STATE and SWAP_EXC_STATE macroses are saave_exc_state and swap_exc_state functions now.
-
Andrew Svetlov authored
Update comment: SAVE_EXC_STATE and SWAP_EXC_STATE macroses are saave_exc_state and swap_exc_state functions now.
-
Andrew Svetlov authored
-
Andrew Svetlov authored
-
Andrew Svetlov authored
-
Andrew Svetlov authored
-
Andrew Svetlov authored
-
Eric Snow authored
to importlib.abc.SourceLoader.
-
- 04 Dec, 2012 6 commits
-
-
Andrew Svetlov authored
Patch by Ilya Sandler.
-
Andrew Svetlov authored
Patch by Ilya Sandler.
-
Victor Stinner authored
-
Andrew Svetlov authored
Patch by Ilya Sandler.
-
Victor Stinner authored
* Remove micro-optization: (errors == "surrogateescape" || strcmp(errors, "surrogateescape") == 0). Only use strcmp() * Initialize 'arg' members in unicode_format_arg() to help the compiler to diagnose real bugs and also make the code simpler to read
-
Victor Stinner authored
ASCII/surrogateescape codec is now used, instead of the locale encoding, to decode the command line arguments. This change fixes inconsistencies with os.fsencode() and os.fsdecode() because these operating systems announces an ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice.
-
- 03 Dec, 2012 14 commits
-
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Andrew Svetlov authored
-
Andrew Svetlov authored
-
Andrew Svetlov authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no locale environment variable is set), to avoid inconsistencies with os.fsencode() and os.fsdecode() functions which are already using UTF-8/surrogateescape.
-
Victor Stinner authored
encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no locale environment variable is set), to avoid inconsistencies with os.fsencode() and os.fsdecode() functions which are already using UTF-8/surrogateescape.
-
- 02 Dec, 2012 5 commits
-
-
Antoine Pitrou authored
Patch by Serhiy Storchaka (reviewed by Martin and Raymond).
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-