summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Closes #14093: Added Mercurial version information to Windows builds.Vinay Sajip2012-05-041-1/+66
|
* Jython-friendly tweak.Brett Cannon2012-05-041-1/+1
|
* Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py.Brett Cannon2012-05-0419-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 Cannon2012-05-042-37/+37
|
* initialization not neededBenjamin Peterson2012-05-041-1/+1
|
* Fix test connecting to sha256.tbs-internet.com.Antoine Pitrou2012-05-042-114/+119
|\ | | | | | | The certificate has changed and the test now needs SNI to pass.
| * Fix test connecting to sha256.tbs-internet.com.Antoine Pitrou2012-05-042-114/+119
| | | | | | | | The certificate has changed and the test now needs SNI to pass.
* | Fix for fatal errors in os.*utime*()Richard Oudkerk2012-05-041-1/+1
| | | | | | | | The address of an object was being decreffed instead of the object.
* | Issue #14127: Fix two bugs with the Windows implementation.Larry Hastings2012-05-041-19/+42
| |
* | Give test_multiprocessing better chance of avoiding timeout failures on WindowsRichard Oudkerk2012-05-041-7/+16
| |
* | what is a invalid tuple?Benjamin Peterson2012-05-041-2/+2
| |
* | 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
|\ \ \ | | |/ | |/|