summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* clean up converted path on errorBenjamin Peterson2012-05-041-11/+20
|
* avoid unitialized memoryBenjamin Peterson2012-05-041-1/+1
|
* check correct variable for errorBenjamin Peterson2012-05-041-1/+1
|
* unicode_writer: don't force inline when it is not necessaryVictor Stinner2012-05-031-3/+3
| | | | Keep inline for performance critical functions (functions used in loops)
* merge 3.2 (#14717)Benjamin Peterson2012-05-031-1/+1
|\
| * close() doesn't take any args (closes #14717)Benjamin Peterson2012-05-031-1/+1
| |
* | if the kind of the string to count is larger than the string to search, ↵Benjamin Peterson2012-05-031-10/+3
| | | | | | | | shortcut to 0
* | unicode_writer: add finish() method and assertions to write_str() methodVictor Stinner2012-05-031-13/+33
| | | | | | | | | | * The write_str() method does nothing if the length is zero. * Replace "struct unicode_writer_t" with "unicode_writer_t"
* | Issue #14127: Fix no-op stub for platforms that lack some "os" functions.Larry Hastings2012-05-031-1/+1
| |
* | Fix dangling warning for test_multiprocessingRichard Oudkerk2012-05-032-1/+7
| |
* | Issue #14687: Remove redundant length attribute of unicode_write_tVictor Stinner2012-05-031-12/+8
| | | | | | | | The length can be read directly from the buffer
* | Issue #14687: Cleanup unicode_writer_prepare()Victor Stinner2012-05-031-23/+19
| | | | | | | | "Inline" PyUnicode_Resize(): call directly resize_compact()
* | Issue #14687: str%tuple now uses an optimistic "unicode writer" instead of anVictor Stinner2012-05-031-100/+166
| | | | | | | | | | accumulator. Directly write characters into the output (don't use a temporary list): resize and widen the string on demand.
* | Merged hanged order of cleanup operations from 3.2.Vinay Sajip2012-05-031-1/+1
|\ \ | |/
| * Changed order of cleanup operations to be more sensible.Vinay Sajip2012-05-031-1/+1
| |
* | Issue #14624, #14687: Optimize unicode_widen()Victor Stinner2012-05-031-7/+9
| | | | | | | | Don't convert uninitialized characters. Patch written by Serhiy Storchaka.
* | Issue #14127: Add ns= parameter to utime, futimes, and lutimes.Larry Hastings2012-05-036-237/+346
| | | | | | | | | | | | 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!
* | Remove buggy assertion in PyUnicode_Substring()Victor Stinner2012-05-031-2/+2
| | | | | | | | Use also directly unicode_empty, instead of PyUnicode_New(0,0).
* | Fix PyUnicode_Substring() for start >= length and start > endVictor Stinner2012-05-031-6/+8
| | | | | | | | | | Remove the fast-path for 1-character string: unicode_fromascii() and _PyUnicode_FromUCS*() now have their own fast-path for 1-character strings.
* | Unicode: optimize creating of 1-character stringsVictor Stinner2012-05-031-8/+50
| |
* | Issue #14687: Optimize str%tuple for the "%(name)s" syntaxVictor Stinner2012-05-021-2/+3
| | | | | | | | Avoid an useless and expensive call to PyUnicode_READ().
* | Merge.Charles-François Natali2012-05-021-8/+13
|\ \
| * | Make test_multiprocessing cleanup properlyRichard Oudkerk2012-05-021-8/+13
| | | | | | | | | | | | | | | | | | | | | 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.
* | | os.popen().close() returns None on success, not 0...Charles-François Natali2012-05-021-2/+2
|\ \ \ | |/ / |/| / | |/
| * os.popen().close() returns None on success, not 0...Charles-François Natali2012-05-021-1/+1
| |
* | Issue #14698: Make test_posix more robust when the current UID doesn't have anCharles-François Natali2012-05-021-3/+9
|\ \ | |/ | | | | associated pwd entry.
| * Issue #14698: Make test_posix more robust when the current UID doesn't have anCharles-François Natali2012-05-021-2/+7
| | | | | | | | associated pwd entry.
* | Issue #13183: Revert 0b53b70a40a0 (reenable test on windows)Martin v. Löwis2012-05-021-2/+1
| |
* | fix closes issue13183 - windows test failureSenthil Kumaran2012-05-021-1/+1
|\ \ | |/
| * fix windows test failure - issue13183Senthil Kumaran2012-05-021-1/+1
| |
* | unicodeobject.c: Add MAX_MAXCHAR() macro to (micro-)optimize the computationVictor Stinner2012-05-011-48/+49
| | | | | | | | | | | | | | | | 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)
* | Issue #14687: Cleanup PyUnicode_Format()Victor Stinner2012-05-011-2/+4
| |
* | Issue #14687: Optimize str%argsVictor Stinner2012-05-011-2/+2
| | | | | | | | | | | | | | | | | | * 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)
* | Merge sphinx changesMartin v. Löwis2012-05-013-9/+4
|\ \
| * | Include micro version even if it is 0.Martin v. Löwis2012-05-011-3/+1
| | |
| * | Include micro version even if it is 0.Martin v. Löwis2012-05-011-2/+1
| | |
| * | Include micro version even if it is 0.Martin v. Löwis2012-05-011-4/+2
| | |
* | | don't use assertEqual for test for bool equalityBenjamin Peterson2012-05-011-9/+9
| | |
* | | merge 3.2 (#14699)Benjamin Peterson2012-05-013-3/+59
|\ \ \ | | |/ | |/|
| * | fix calling the classmethod descriptor directly (closes #14699)Benjamin Peterson2012-05-013-3/+59
| | |
* | | strip is_ prefixes on clock_info fieldsBenjamin Peterson2012-05-015-55/+55
| | |
* | | Check extract_version when opening a zipfile.Martin v. Löwis2012-05-012-0/+15
| | |
* | | Update timeit documentation w.r.t default timer changes.Georg Brandl2012-05-011-15/+15
| | |
* | | Add an option to timeit to use time.process_time() and mark -t and -c as ↵Georg Brandl2012-05-011-5/+9
| |/ |/| | | | | deprecated.
* | Added tag v3.3.0a3 for changeset 0b53b70a40a0Georg Brandl2012-05-011-0/+1
| |
* | Disable test_13183 temporarily on Windows for 3.3a3 release.v3.3.0a3Georg Brandl2012-05-011-1/+2
| |
* | Bump to 3.3.0a3.Georg Brandl2012-05-016-7/+7
| |
* | Suspicious markup check.Georg Brandl2012-05-012-1/+2
| |
* | Regenerate pydoc topics.Georg Brandl2012-05-011-3/+3
| |
* | test_pdb: fix failure of test_issue13183 in debug mode, and make sure files ↵Georg Brandl2012-05-011-2/+5
| | | | | | | | are cleaned up.