Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clean up converted path on error | Benjamin Peterson | 2012-05-04 | 1 | -11/+20 |
| | |||||
* | avoid unitialized memory | Benjamin Peterson | 2012-05-04 | 1 | -1/+1 |
| | |||||
* | check correct variable for error | Benjamin Peterson | 2012-05-04 | 1 | -1/+1 |
| | |||||
* | unicode_writer: don't force inline when it is not necessary | Victor Stinner | 2012-05-03 | 1 | -3/+3 |
| | | | | Keep inline for performance critical functions (functions used in loops) | ||||
* | merge 3.2 (#14717) | Benjamin Peterson | 2012-05-03 | 1 | -1/+1 |
|\ | |||||
| * | close() doesn't take any args (closes #14717) | Benjamin Peterson | 2012-05-03 | 1 | -1/+1 |
| | | |||||
* | | if the kind of the string to count is larger than the string to search, ↵ | Benjamin Peterson | 2012-05-03 | 1 | -10/+3 |
| | | | | | | | | shortcut to 0 | ||||
* | | unicode_writer: add finish() method and assertions to write_str() method | Victor Stinner | 2012-05-03 | 1 | -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 Hastings | 2012-05-03 | 1 | -1/+1 |
| | | |||||
* | | Fix dangling warning for test_multiprocessing | Richard Oudkerk | 2012-05-03 | 2 | -1/+7 |
| | | |||||
* | | Issue #14687: Remove redundant length attribute of unicode_write_t | Victor Stinner | 2012-05-03 | 1 | -12/+8 |
| | | | | | | | | The length can be read directly from the buffer | ||||
* | | Issue #14687: Cleanup unicode_writer_prepare() | Victor Stinner | 2012-05-03 | 1 | -23/+19 |
| | | | | | | | | "Inline" PyUnicode_Resize(): call directly resize_compact() | ||||
* | | Issue #14687: str%tuple now uses an optimistic "unicode writer" instead of an | Victor Stinner | 2012-05-03 | 1 | -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 Sajip | 2012-05-03 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Changed order of cleanup operations to be more sensible. | Vinay Sajip | 2012-05-03 | 1 | -1/+1 |
| | | |||||
* | | Issue #14624, #14687: Optimize unicode_widen() | Victor Stinner | 2012-05-03 | 1 | -7/+9 |
| | | | | | | | | Don't convert uninitialized characters. Patch written by Serhiy Storchaka. | ||||
* | | Issue #14127: Add ns= parameter to utime, futimes, and lutimes. | Larry Hastings | 2012-05-03 | 6 | -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 Stinner | 2012-05-03 | 1 | -2/+2 |
| | | | | | | | | Use also directly unicode_empty, instead of PyUnicode_New(0,0). | ||||
* | | Fix PyUnicode_Substring() for start >= length and start > end | Victor Stinner | 2012-05-03 | 1 | -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 strings | Victor Stinner | 2012-05-03 | 1 | -8/+50 |
| | | |||||
* | | Issue #14687: Optimize str%tuple for the "%(name)s" syntax | Victor Stinner | 2012-05-02 | 1 | -2/+3 |
| | | | | | | | | Avoid an useless and expensive call to PyUnicode_READ(). | ||||
* | | Merge. | Charles-François Natali | 2012-05-02 | 1 | -8/+13 |
|\ \ | |||||
| * | | Make test_multiprocessing cleanup properly | Richard Oudkerk | 2012-05-02 | 1 | -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 Natali | 2012-05-02 | 1 | -2/+2 |
|\ \ \ | |/ / |/| / | |/ | |||||
| * | os.popen().close() returns None on success, not 0... | Charles-François Natali | 2012-05-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #14698: Make test_posix more robust when the current UID doesn't have an | Charles-François Natali | 2012-05-02 | 1 | -3/+9 |
|\ \ | |/ | | | | | associated pwd entry. | ||||
| * | Issue #14698: Make test_posix more robust when the current UID doesn't have an | Charles-François Natali | 2012-05-02 | 1 | -2/+7 |
| | | | | | | | | associated pwd entry. | ||||
* | | Issue #13183: Revert 0b53b70a40a0 (reenable test on windows) | Martin v. Löwis | 2012-05-02 | 1 | -2/+1 |
| | | |||||
* | | fix closes issue13183 - windows test failure | Senthil Kumaran | 2012-05-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix windows test failure - issue13183 | Senthil Kumaran | 2012-05-02 | 1 | -1/+1 |
| | | |||||
* | | unicodeobject.c: Add MAX_MAXCHAR() macro to (micro-)optimize the computation | Victor Stinner | 2012-05-01 | 1 | -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 Stinner | 2012-05-01 | 1 | -2/+4 |
| | | |||||
* | | Issue #14687: Optimize str%args | Victor Stinner | 2012-05-01 | 1 | -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 changes | Martin v. Löwis | 2012-05-01 | 3 | -9/+4 |
|\ \ | |||||
| * | | Include micro version even if it is 0. | Martin v. Löwis | 2012-05-01 | 1 | -3/+1 |
| | | | |||||
| * | | Include micro version even if it is 0. | Martin v. Löwis | 2012-05-01 | 1 | -2/+1 |
| | | | |||||
| * | | Include micro version even if it is 0. | Martin v. Löwis | 2012-05-01 | 1 | -4/+2 |
| | | | |||||
* | | | don't use assertEqual for test for bool equality | Benjamin Peterson | 2012-05-01 | 1 | -9/+9 |
| | | | |||||
* | | | merge 3.2 (#14699) | Benjamin Peterson | 2012-05-01 | 3 | -3/+59 |
|\ \ \ | | |/ | |/| | |||||
| * | | fix calling the classmethod descriptor directly (closes #14699) | Benjamin Peterson | 2012-05-01 | 3 | -3/+59 |
| | | | |||||
* | | | strip is_ prefixes on clock_info fields | Benjamin Peterson | 2012-05-01 | 5 | -55/+55 |
| | | | |||||
* | | | Check extract_version when opening a zipfile. | Martin v. Löwis | 2012-05-01 | 2 | -0/+15 |
| | | | |||||
* | | | Update timeit documentation w.r.t default timer changes. | Georg Brandl | 2012-05-01 | 1 | -15/+15 |
| | | | |||||
* | | | Add an option to timeit to use time.process_time() and mark -t and -c as ↵ | Georg Brandl | 2012-05-01 | 1 | -5/+9 |
| |/ |/| | | | | | deprecated. | ||||
* | | Added tag v3.3.0a3 for changeset 0b53b70a40a0 | Georg Brandl | 2012-05-01 | 1 | -0/+1 |
| | | |||||
* | | Disable test_13183 temporarily on Windows for 3.3a3 release.v3.3.0a3 | Georg Brandl | 2012-05-01 | 1 | -1/+2 |
| | | |||||
* | | Bump to 3.3.0a3. | Georg Brandl | 2012-05-01 | 6 | -7/+7 |
| | | |||||
* | | Suspicious markup check. | Georg Brandl | 2012-05-01 | 2 | -1/+2 |
| | | |||||
* | | Regenerate pydoc topics. | Georg Brandl | 2012-05-01 | 1 | -3/+3 |
| | | |||||
* | | test_pdb: fix failure of test_issue13183 in debug mode, and make sure files ↵ | Georg Brandl | 2012-05-01 | 1 | -2/+5 |
| | | | | | | | | are cleaned up. |