Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #3163: The struct module gets new format characters 'n' and 'N' | Antoine Pitrou | 2011-10-06 | 4 | -30/+150 |
| | | | | supporting C integer types `ssize_t` and `size_t`, respectively. | ||||
* | Fix compilation under Windows | Antoine Pitrou | 2011-10-06 | 1 | -1/+2 |
| | |||||
* | Fix assertion in unicode_adjust_maxchar() | Victor Stinner | 2011-10-06 | 1 | -1/+1 |
| | |||||
* | Merge 3.2 | Éric Araujo | 2011-10-06 | 0 | -0/+0 |
|\ | |||||
| * | Branch merge | Éric Araujo | 2011-10-06 | 2 | -17/+17 |
| |\ | |||||
* | \ | Branch merge | Éric Araujo | 2011-10-06 | 12 | -75/+119 |
|\ \ \ | |||||
| * | | | Fix return code of “pysetup run COMMAND” (closes #12222) | Éric Araujo | 2011-10-06 | 2 | -16/+19 |
| | | | | |||||
| * | | | Minor: improve one test name, address pyflakes warnings | Éric Araujo | 2011-10-06 | 1 | -6/+4 |
| | | | | |||||
| * | | | Add test that was promised in a comment but not actually written | Éric Araujo | 2011-10-06 | 1 | -2/+7 |
| | | | | |||||
| * | | | Fix incorrect test. | Éric Araujo | 2011-10-06 | 1 | -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 Araujo | 2011-10-06 | 1 | -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 Araujo | 2011-10-06 | 1 | -0/+24 |
| | | | | |||||
| * | | | Merge 3.2 | Éric Araujo | 2011-10-04 | 2 | -17/+17 |
| |\ \ \ | | | |/ | | |/| | |||||
| | * | | Fix typo and case in a recently added test | Éric Araujo | 2011-10-04 | 1 | -1/+1 |
| | | | | |||||
| | * | | Fix markup used in the documentation of sys.prefix and sys.exec_prefix. | Éric Araujo | 2011-10-04 | 1 | -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 Araujo | 2011-10-04 | 1 | -9/+9 |
| | | | | |||||
| * | | | Update skip message printed by test.support.get_attribute. | Éric Araujo | 2011-10-04 | 1 | -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 Araujo | 2011-10-04 | 2 | -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 Araujo | 2011-10-04 | 1 | -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 Araujo | 2011-10-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | (Deleted rather than moved because multilib implementations vary.) | ||||
| * | | | Fix typo | Éric Araujo | 2011-10-04 | 1 | -1/+1 |
| | | | | |||||
| * | | | Fix minor wording issue. | Éric Araujo | 2011-10-04 | 1 | -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 Araujo | 2011-10-04 | 2 | -5/+8 |
| | | | | |||||
| * | | | Minor updates to the whatsnew maintenance rules | Éric Araujo | 2011-10-04 | 1 | -5/+4 |
| | | | | |||||
* | | | | Fix my last change on PyUnicode_Join(): don't process separator if len==1 | Victor Stinner | 2011-10-06 | 1 | -28/+32 |
| | | | | |||||
* | | | | str.replace() avoids memory when it's possible | Victor Stinner | 2011-10-06 | 1 | -18/+84 |
| | | | | |||||
* | | | | _copy_characters() fails more quickly in debug mode on inconsistent state | Victor Stinner | 2011-10-06 | 1 | -6/+18 |
| | | | | |||||
* | | | | Fix find_module_path(): make the string ready | Victor Stinner | 2011-10-06 | 1 | -0/+3 |
| | | | | |||||
* | | | | Fix a compiler warning: don't define unicode_is_singleton() in release mode | Victor Stinner | 2011-10-06 | 1 | -0/+2 |
| | | | | |||||
* | | | | Fix _warnings.c: make the filename string ready | Victor Stinner | 2011-10-06 | 1 | -3/+10 |
| | | | | |||||
* | | | | rephrase PyUnicode_1BYTE_KIND documentation | Victor Stinner | 2011-10-05 | 1 | -6/+7 |
| | | | | |||||
* | | | | Don't check for the maximum character when copying from unicodeobject.c | Victor Stinner | 2011-10-05 | 3 | -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 input | Victor Stinner | 2011-10-05 | 1 | -1/+1 |
| | | | | |||||
* | | | | replace() uses unicode_fromascii() if the input and replace string is ASCII | Victor Stinner | 2011-10-05 | 1 | -1/+4 |
| | | | | |||||
* | | | | unicode_fromascii() checks that the input is ASCII in debug mode | Victor Stinner | 2011-10-05 | 1 | -3/+11 |
| | | | | |||||
* | | | | traceback: fix dump_ascii() for string with kind=PyUnicode_WCHAR_KIND | Victor Stinner | 2011-10-05 | 1 | -3/+13 |
| | | | | |||||
* | | | | Merge from 3.2 | Amaury Forgeot d'Arc | 2011-10-05 | 1 | -2/+2 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Enable the only tests for sys.gettrace | Amaury Forgeot d'Arc | 2011-10-05 | 1 | -2/+2 |
| | | | | |||||
* | | | | Fix a few ResourceWarnings in idle | Amaury Forgeot d'Arc | 2011-10-03 | 2 | -1/+6 |
| | | | | |||||
* | | | | Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCII | Victor Stinner | 2011-10-05 | 4 | -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_obj | Victor Stinner | 2011-10-05 | 1 | -5/+5 |
| | | | | |||||
* | | | | Fix my_basename(): make the string ready | Victor Stinner | 2011-10-05 | 1 | -2/+7 |
| | | | | |||||
* | | | | Issue #13070: Fix a crash when a TextIOWrapper caught in a reference cycle | Charles-François Natali | 2011-10-05 | 3 | -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 cycle | Charles-François Natali | 2011-10-05 | 3 | -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 mode | Victor Stinner | 2011-10-04 | 1 | -14/+75 |
| | | | | |||||
* | | | | Document requierements of Unicode kinds | Victor Stinner | 2011-10-04 | 1 | -4/+20 |
| | | | | |||||
* | | | | Replace PyUnicodeObject* with PyObject* where it was inappropriate | Victor Stinner | 2011-10-04 | 1 | -40/+40 |
| | | | | |||||
* | | | | unicodeobject.c doesn't make output strings ready in debug mode | Victor Stinner | 2011-10-04 | 1 | -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 Kumaran | 2011-10-05 | 2 | -1/+5 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue13104 - Fix urllib.request.thishost() utility function. | Senthil Kumaran | 2011-10-05 | 2 | -1/+5 |
| | | | |