Commits

Author Commit Message Labels Comments Date
Victor Stinner
unicode_writer: don't force inline when it is not necessary Keep inline for performance critical functions (functions used in loops)
Benjamin Peterson
merge 3.2 (#14717)
Benjamin Peterson
close() doesn't take any args (closes #14717)
Branches
2.7
Benjamin Peterson
close() doesn't take any args (closes #14717)
Branches
3.2
Benjamin Peterson
if the kind of the string to count is larger than the string to search, shortcut to 0
Victor Stinner
unicode_writer: add finish() method and assertions to write_str() method * The write_str() method does nothing if the length is zero. * Replace "struct unicode_writer_t" with "unicode_writer_t"
larry
Issue #14127: Fix no-op stub for platforms that lack some "os" functions.
sbt
Fix dangling warning for test_multiprocessing
Victor Stinner
Issue #14687: Remove redundant length attribute of unicode_write_t The length can be read directly from the buffer
Ezio Melotti
Use Python 3 instead of 3.0.
Branches
2.7
Victor Stinner
Issue #14687: Cleanup unicode_writer_prepare() "Inline" PyUnicode_Resize(): call directly resize_compact()
Victor Stinner
Issue #14687: str%tuple now uses an optimistic "unicode writer" instead of an accumulator. Directly write characters into the output (don't use a temporary list): resize and widen the string on demand.
Vinay Sajip
Merged hanged order of cleanup operations from 3.2.
Vinay Sajip
Changed order of cleanup operations to be more sensible.
Branches
3.2
Vinay Sajip
Changed order of cleanup operations to be more sensible.
Branches
2.7
Victor Stinner
Issue #14624, #14687: Optimize unicode_widen() Don't convert uninitialized characters. Patch written by Serhiy Storchaka.
larry
Issue #14127: Add ns= parameter to utime, futimes, and lutimes. 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
Remove buggy assertion in PyUnicode_Substring() Use also directly unicode_empty, instead of PyUnicode_New(0,0).
Victor Stinner
Fix PyUnicode_Substring() for start >= length and start > end 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
Unicode: optimize creating of 1-character strings
Victor Stinner
Issue #14687: Optimize str%tuple for the "%(name)s" syntax Avoid an useless and expensive call to PyUnicode_READ().
Charles-François Natali
Merge.
Charles-François Natali
os.popen().close() returns None on success, not 0...
Charles-François Natali
os.popen().close() returns None on success, not 0...
Branches
3.2
Charles-François Natali
os.popen().close() returns None on success, not 0...
Branches
2.7
sbt
Make test_multiprocessing cleanup properly 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
Issue #14698: Make test_posix more robust when the current UID doesn't have an associated pwd entry.
Charles-François Natali
Issue #14698: Make test_posix more robust when the current UID doesn't have an associated pwd entry.
Branches
3.2
Charles-François Natali
Issue #14698: Make test_posix more robust when the current UID doesn't have an associated pwd entry.
Branches
2.7
sbt
Issue #9400: Partial backport of fix for #9244 In multiprocessing, a pool worker process would die if the result/error could not be pickled. This could cause pool methods to hang. In 3.x this was fixed by 0aa8af79359d (which also added an error_callback argument to some methods), but the fix was not back ported.
Branches
2.7
  1. Prev
  2. Next