- 18 Dec, 2011 10 commits
-
-
Antoine Pitrou authored
-
Victor Stinner authored
The main bottleneck was the PyUnicode_READ() macro.
-
Antoine Pitrou authored
-
Victor Stinner authored
-
Victor Stinner authored
Patch written by Arnaud Calmettes.
-
Victor Stinner authored
Patch written by Arnaud Calmettes.
-
Victor Stinner authored
Use findchar() which is more optimized than a dummy loop using PyUnicode_READ(). PyUnicode_READ() is a complex and slow macro.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Victor Stinner authored
bytes.find() and handle correctly OverflowError (raise the same ValueError than the error for -1).
-
- 17 Dec, 2011 16 commits
-
-
Victor Stinner authored
Patch written by Brice Berna.
-
Victor Stinner authored
Patch written by Brice Berna.
-
Victor Stinner authored
Patch written by Jérémy Anger.
-
Victor Stinner authored
Patch written by Jérémy Anger.
-
Victor Stinner authored
-
Victor Stinner authored
Thanks Jérémy Anger for the fix.
-
Victor Stinner authored
-
Victor Stinner authored
-
Gregory P. Smith authored
-
Charles-François Natali authored
Farrell.
-
Benjamin Peterson authored
-
Victor Stinner authored
Search the invalid character using mbrtowc().
-
Victor Stinner authored
instead of surrogateescape So it would be possible to support more error handlers later.
-
Victor Stinner authored
Add also FIXMEs in unicodeobject.c
-
Victor Stinner authored
-
Victor Stinner authored
* Use PyUnicode_EncodeLocale() in time.strftime() if wcsftime() is not available * Document my last changes in Misc/NEWS
-
- 16 Dec, 2011 12 commits
-
-
Ezio Melotti authored
-
Ezio Melotti authored
-
Victor Stinner authored
* PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale() decode a string from the current locale encoding * _Py_char2wchar() writes an "error code" in the size argument to indicate if the function failed because of memory allocation failure or because of a decoding error. The function doesn't write the error message directly to stderr. * Fix time.strftime() (if wcsftime() is missing): decode strftime() result from the current locale encoding, not from the filesystem encoding.
-
Victor Stinner authored
line argument cannot be decoded
-
Victor Stinner authored
cannot be decoded
-
Antoine Pitrou authored
-
Antoine Pitrou authored
encoding and the surrogateescape error handler, rather than UTF-8. Patch by David Watson.
-
Antoine Pitrou authored
Original patch by Hallvard B Furuseth.
-
Antoine Pitrou authored
Original patch by Hallvard B Furuseth.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
Initial patch by Matthias Troffaes.
-
Benjamin Peterson authored
-
- 15 Dec, 2011 2 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
Thanks Mark Shannon.
-