- 04 May, 2012 3 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 03 May, 2012 17 commits
-
-
Victor Stinner authored
Keep inline for performance critical functions (functions used in loops)
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Victor Stinner authored
* The write_str() method does nothing if the length is zero. * Replace "struct unicode_writer_t" with "unicode_writer_t"
-
Larry Hastings authored
-
Richard Oudkerk authored
-
Victor Stinner authored
The length can be read directly from the buffer
-
Victor Stinner authored
"Inline" PyUnicode_Resize(): call directly resize_compact()
-
Victor Stinner authored
accumulator. Directly write characters into the output (don't use a temporary list): resize and widen the string on demand.
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Victor Stinner authored
Don't convert uninitialized characters. Patch written by Serhiy Storchaka.
-
Larry Hastings authored
Removed futimens as it is now redundant. Changed shutil.copystat to use st_atime_ns and st_mtime_ns from os.stat and ns= parameter to utime--it once again preserves exact metadata on Linux!
-
Victor Stinner authored
Use also directly unicode_empty, instead of PyUnicode_New(0,0).
-
Victor Stinner authored
Remove the fast-path for 1-character string: unicode_fromascii() and _PyUnicode_FromUCS*() now have their own fast-path for 1-character strings.
-
Victor Stinner authored
-
- 02 May, 2012 10 commits
-
-
Victor Stinner authored
Avoid an useless and expensive call to PyUnicode_READ().
-
Charles-François Natali authored
-
Charles-François Natali authored
-
Charles-François Natali authored
-
Richard Oudkerk authored
Previously, when an error was encountered some processes would not be stopped until atexit callbacks were run. On Windows that was too late to prevent a PermissionError when regrtest tried to remove the temp directory it ran the tests in.
-
Charles-François Natali authored
associated pwd entry.
-
Charles-François Natali authored
associated pwd entry.
-
Martin v. Löwis authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
- 01 May, 2012 10 commits
-
-
Victor Stinner authored
of the second argument of PyUnicode_New(). * Create also align_maxchar() function * Optimize fix_decimal_and_space_to_ascii(): don't compute the maximum character when ch <= 127 (it is ASCII)
-
Victor Stinner authored
-
Victor Stinner authored
* formatfloat() uses unicode_fromascii() instead of PyUnicode_DecodeASCII() to not have to check characters, we know that it is really ASCII * Use PyUnicode_FromOrdinal() instead of _PyUnicode_FromUCS4() to format a character: if avoids a call to ucs4lib_find_max_char() to compute the maximum character (whereas we already know it, it is just the character itself)
-
Martin v. Löwis authored
-
Benjamin Peterson authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-