summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #3163: The struct module gets new format characters 'n' and 'N'Antoine Pitrou2011-10-064-30/+150
| | | | supporting C integer types `ssize_t` and `size_t`, respectively.
* Fix compilation under WindowsAntoine Pitrou2011-10-061-1/+2
|
* Fix assertion in unicode_adjust_maxchar()Victor Stinner2011-10-061-1/+1
|
* Merge 3.2Éric Araujo2011-10-060-0/+0
|\
| * Branch mergeÉric Araujo2011-10-062-17/+17
| |\
* | \ Branch mergeÉric Araujo2011-10-0612-75/+119
|\ \ \
| * | | Fix return code of “pysetup run COMMAND” (closes #12222)Éric Araujo2011-10-062-16/+19
| | | |
| * | | Minor: improve one test name, address pyflakes warningsÉric Araujo2011-10-061-6/+4
| | | |
| * | | Add test that was promised in a comment but not actually writtenÉric Araujo2011-10-061-2/+7
| | | |
| * | | Fix incorrect test.Éric Araujo2011-10-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The packaging.install.remove function (a.k.a. the uninstall feature) takes a path argument to allow client code to use custom directories instead of sys.path. The test used to give self.root_dir as path, which corresponds to a prefix option, but prefix is not on sys.path, it’s only the base directory used to compute the stdlib and site-packages directory paths. The test now gives a valid site-packages path to the function.
| * | | Change one name in packaging’s test_uninstall to avoid confusion.Éric Araujo2011-10-061-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | install_lib may be the name of a module, a command or an option, so I find it clearer to use site_packages to refer to a string object containing the path of the site-packages directory created in a temporary directory during tests.
| * | | Add regrtest check for caches in packaging.database (see #12167)Éric Araujo2011-10-061-0/+24
| | | |
| * | | Merge 3.2Éric Araujo2011-10-042-17/+17
| |\ \ \ | | | |/ | | |/|
| | * | Fix typo and case in a recently added testÉric Araujo2011-10-041-1/+1
| | | |
| | * | Fix markup used in the documentation of sys.prefix and sys.exec_prefix.Éric Araujo2011-10-041-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Using the file role with {placeholders} is IMO clearer than fake Python code. - The fact that sys.version[:3] gives '3.2' is a CPython detail and should not be advertised (see #9442), even if some stdlib modules currently rely on that detail.
| | * | Move doc of sys.dont_write_bytecode to make all attributes sorted againÉric Araujo2011-10-041-9/+9
| | | |
| * | | Update skip message printed by test.support.get_attribute.Éric Araujo2011-10-041-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | This helper was changed to work with any object instead of only modules (or technically something with a __name__ attribute, see code in 3.2) but the message stayed as is.
| * | | Cosmetic fixes for whitespace and a regex in packaging.Éric Araujo2011-10-042-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | The goal of the regex is to catch a (alpha), b (beta), c or rc (release candidate), so the existing pattern puzzled me. Tests were OK before and after the change.
| * | | Add tests for comparing candidate and final versions in packaging (#11841).Éric Araujo2011-10-041-0/+12
| | | | | | | | | | | | | | | | | | | | This used to be buggy; Filip Gruszczyński contributed tests and a code patch but the latter is not needed.
| * | | Remove inline comment, no longer supported by configparser.Éric Araujo2011-10-041-1/+1
| | | | | | | | | | | | | | | | (Deleted rather than moved because multilib implementations vary.)
| * | | Fix typoÉric Araujo2011-10-041-1/+1
| | | |
| * | | Fix minor wording issue.Éric Araujo2011-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sys.maxunicode is not called and thus does not return anything; it *is* something. (I checked the doc quickly to see if it tells that expression return things but found nothing.) I also removed markup that would just generate a useless link to the enclosing section.
| * | | More info about PEP 393 in whatsnew and NEWSÉric Araujo2011-10-042-5/+8
| | | |
| * | | Minor updates to the whatsnew maintenance rulesÉric Araujo2011-10-041-5/+4
| | | |
* | | | Fix my last change on PyUnicode_Join(): don't process separator if len==1Victor Stinner2011-10-061-28/+32
| | | |
* | | | str.replace() avoids memory when it's possibleVictor Stinner2011-10-061-18/+84
| | | |
* | | | _copy_characters() fails more quickly in debug mode on inconsistent stateVictor Stinner2011-10-061-6/+18
| | | |
* | | | Fix find_module_path(): make the string readyVictor Stinner2011-10-061-0/+3
| | | |
* | | | Fix a compiler warning: don't define unicode_is_singleton() in release modeVictor Stinner2011-10-061-0/+2
| | | |
* | | | Fix _warnings.c: make the filename string readyVictor Stinner2011-10-061-3/+10
| | | |
* | | | rephrase PyUnicode_1BYTE_KIND documentationVictor Stinner2011-10-051-6/+7
| | | |
* | | | Don't check for the maximum character when copying from unicodeobject.cVictor Stinner2011-10-053-193/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create copy_characters() function which doesn't check for the maximum character in release mode * _PyUnicode_CheckConsistency() is no more static to be able to use it in _PyUnicode_FormatAdvanced() (in formatter_unicode.c) * _PyUnicode_CheckConsistency() checks the string hash
* | | | Fix post-condition in unicode_repr(): check the result, not the inputVictor Stinner2011-10-051-1/+1
| | | |
* | | | replace() uses unicode_fromascii() if the input and replace string is ASCIIVictor Stinner2011-10-051-1/+4
| | | |
* | | | unicode_fromascii() checks that the input is ASCII in debug modeVictor Stinner2011-10-051-3/+11
| | | |
* | | | traceback: fix dump_ascii() for string with kind=PyUnicode_WCHAR_KINDVictor Stinner2011-10-051-3/+13
| | | |
* | | | Merge from 3.2Amaury Forgeot d'Arc2011-10-051-2/+2
|\ \ \ \ | | |_|/ | |/| |
| * | | Enable the only tests for sys.gettraceAmaury Forgeot d'Arc2011-10-051-2/+2
| | | |
* | | | Fix a few ResourceWarnings in idleAmaury Forgeot d'Arc2011-10-032-1/+6
| | | |
* | | | Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCIIVictor Stinner2011-10-054-49/+153
| | | | | | | | | | | | | | | | | | | | | | | | ucs1, ucs2 and ucs4 libraries have to scan created substring to find the maximum character, whereas it is not need to ASCII strings. Because ASCII strings are common, it is useful to optimize ASCII.
* | | | Fix PyUnicode_Partition(): str_in->str_objVictor Stinner2011-10-051-5/+5
| | | |
* | | | Fix my_basename(): make the string readyVictor Stinner2011-10-051-2/+7
| | | |
* | | | Issue #13070: Fix a crash when a TextIOWrapper caught in a reference cycleCharles-François Natali2011-10-053-0/+24
|\ \ \ \ | |/ / / | | | | | | | | | | | | would be finalized after the reference to its underlying BufferedRWPair's writer got cleared by the GC.
| * | | Issue #13070: Fix a crash when a TextIOWrapper caught in a reference cycleCharles-François Natali2011-10-053-0/+24
| | | | | | | | | | | | | | | | | | | | would be finalized after the reference to its underlying BufferedRWPair's writer got cleared by the GC.
* | | | Ensure that newly created strings use the most efficient store in debug modeVictor Stinner2011-10-041-14/+75
| | | |
* | | | Document requierements of Unicode kindsVictor Stinner2011-10-041-4/+20
| | | |
* | | | Replace PyUnicodeObject* with PyObject* where it was inappropriateVictor Stinner2011-10-041-40/+40
| | | |
* | | | unicodeobject.c doesn't make output strings ready in debug modeVictor Stinner2011-10-041-0/+4
| | | | | | | | | | | | | | | | | | | | Try to only create non ready strings in debug mode to ensure that all functions (not only in unicodeobject.c, everywhere) make input strings ready.
* | | | merge from 3.2. Issue13104 - Fix urllib.request.thishost() utility function.Senthil Kumaran2011-10-052-1/+5
|\ \ \ \ | |/ / /
| * | | Issue13104 - Fix urllib.request.thishost() utility function.Senthil Kumaran2011-10-052-1/+5
| | | |