Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Closes #14093: Added Mercurial version information to Windows builds. | Vinay Sajip | 2012-05-04 | 1 | -1/+66 |
| | |||||
* | Jython-friendly tweak. | Brett Cannon | 2012-05-04 | 1 | -1/+1 |
| | |||||
* | Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py. | Brett Cannon | 2012-05-04 | 19 | -3123/+2923 |
| | | | | | | This introduces a new function, imp.extension_suffixes(), which is currently undocumented. That is forthcoming once issue #14657 is resolved and how to expose file suffixes is decided. | ||||
* | Properly mark names in importlib._bootstrap as private. | Brett Cannon | 2012-05-04 | 2 | -37/+37 |
| | |||||
* | initialization not needed | Benjamin Peterson | 2012-05-04 | 1 | -1/+1 |
| | |||||
* | Fix test connecting to sha256.tbs-internet.com. | Antoine Pitrou | 2012-05-04 | 2 | -114/+119 |
|\ | | | | | | | The certificate has changed and the test now needs SNI to pass. | ||||
| * | Fix test connecting to sha256.tbs-internet.com. | Antoine Pitrou | 2012-05-04 | 2 | -114/+119 |
| | | | | | | | | The certificate has changed and the test now needs SNI to pass. | ||||
* | | Fix for fatal errors in os.*utime*() | Richard Oudkerk | 2012-05-04 | 1 | -1/+1 |
| | | | | | | | | The address of an object was being decreffed instead of the object. | ||||
* | | Issue #14127: Fix two bugs with the Windows implementation. | Larry Hastings | 2012-05-04 | 1 | -19/+42 |
| | | |||||
* | | Give test_multiprocessing better chance of avoiding timeout failures on Windows | Richard Oudkerk | 2012-05-04 | 1 | -7/+16 |
| | | |||||
* | | what is a invalid tuple? | Benjamin Peterson | 2012-05-04 | 1 | -2/+2 |
| | | |||||
* | | 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 |
|\ \ \ | | |/ | |/| |