Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | don't ready in case_operation, since most callers do it themselves | Benjamin Peterson | 2012-01-16 | 1 | -2/+5 |
| | |||||
* | fix old titlecase function for extended case chars | Benjamin Peterson | 2012-01-16 | 1 | -0/+2 |
| | |||||
* | comment about how flags could be expanded | Benjamin Peterson | 2012-01-16 | 1 | -0/+1 |
| | |||||
* | delta encoding of upper/lower/title makes a glorious return (#12736) | Benjamin Peterson | 2012-01-16 | 2 | -3452/+1349 |
| | |||||
* | Consolidate the occurrances of the prime used as the multiplier when hashing. | Gregory P. Smith | 2012-01-14 | 3 | -3/+3 |
|\ | |||||
| * | Consolidate the occurrances of the prime used as the multiplier when hashing | Gregory P. Smith | 2012-01-14 | 3 | -3/+3 |
| | | | | | | | | | | | | | | to a single #define instead of having several copies in several files. This excludes the Modules/ tree (datetime and expat both have a copy for their own purposes with no need for it to be the same). | ||||
* | | fix possible refleaks if PyUnicode_READY fails | Benjamin Peterson | 2012-01-14 | 1 | -3/+15 |
| | | |||||
* | | always explicitly check for -1 from PyUnicode_READY | Benjamin Peterson | 2012-01-14 | 1 | -35/+35 |
| | | |||||
* | | add str.casefold() (closes #13752) | Benjamin Peterson | 2012-01-14 | 3 | -122/+435 |
| | | |||||
* | | Add a separate NEWS entry for a change to PyObject_CallMethod in the PEP 380 ↵ | Nick Coghlan | 2012-01-14 | 1 | -2/+0 |
| | | | | | | | | patch, and make the private CallMethod variants consistent with the public one | ||||
* | | Fix a crash when the return value of a subgenerator is a temporary | Amaury Forgeot d'Arc | 2012-01-13 | 1 | -1/+2 |
| | | | | | | | | object (with a refcount of 1) | ||||
* | | Implement PEP 380 - 'yield from' (closes #11682) | Nick Coghlan | 2012-01-13 | 4 | -22/+280 |
| | | |||||
* | | move do_title to a better place | Benjamin Peterson | 2012-01-13 | 1 | -28/+28 |
| | | |||||
* | | make fix_decimal_and_space_to_ascii check if it modifies the string | Benjamin Peterson | 2012-01-12 | 1 | -1/+3 |
| | | |||||
* | | kill capwords implementation which has been disabled since the begining | Benjamin Peterson | 2012-01-12 | 1 | -42/+0 |
| | | |||||
* | | remove some usage of Py_UNICODE_TOUPPER/LOWER | Benjamin Peterson | 2012-01-12 | 6 | -12/+0 |
| | | |||||
* | | use full unicode mappings for upper/lower/title case (#12736) | Benjamin Peterson | 2012-01-11 | 3 | -1684/+4445 |
| | | | | | | | | Also broaden the category of characters that count as lowercase/uppercase. | ||||
* | | Issue #13738: Simplify implementation of bytes.lower() and bytes.upper(). | Antoine Pitrou | 2012-01-08 | 1 | -10/+2 |
| | | |||||
* | | Add a new PyUnicode_Fill() function | Victor Stinner | 2012-01-03 | 1 | -0/+35 |
| | | | | | | | | | | It is faster than the unicode_fill() function which was implemented in formatter_unicode.c. | ||||
* | | also decref the right thing | Benjamin Peterson | 2012-01-02 | 1 | -1/+1 |
| | | |||||
* | | ready the correct string | Benjamin Peterson | 2012-01-02 | 1 | -1/+1 |
| | | |||||
* | | fix some possible refleaks from PyUnicode_READY error conditions | Benjamin Peterson | 2012-01-02 | 1 | -21/+53 |
| | | |||||
* | | == -1 is convention | Benjamin Peterson | 2012-01-01 | 1 | -1/+1 |
| | | |||||
* | | make switch more robust | Benjamin Peterson | 2012-01-01 | 1 | -1/+2 |
| | | |||||
* | | fix weird indentation | Benjamin Peterson | 2011-12-28 | 1 | -1/+1 |
| | | |||||
* | | Issue #13577: Built-in methods and functions now have a __qualname__. | Antoine Pitrou | 2011-12-23 | 2 | -5/+41 |
| | | | | | | | | Patch by sbt. | ||||
* | | 4 space indentation | Benjamin Peterson | 2011-12-20 | 1 | -13/+13 |
| | | |||||
* | | fix spacing around switch statements | Benjamin Peterson | 2011-12-20 | 1 | -23/+22 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-12-20 | 1 | -1/+5 |
|\ \ | |/ | |||||
| * | fix possible if unlikely leak | Benjamin Peterson | 2011-12-20 | 1 | -1/+5 |
| | | |||||
* | | Merge with 3.2. | Georg Brandl | 2011-12-18 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Small clarification in docstring of dict.update(): the positional argument ↵ | Georg Brandl | 2011-12-18 | 1 | -3/+3 |
| | | | | | | | | is not required. | ||||
* | | Issue #13624: Write a specialized UTF-8 encoder to allow more optimization | Victor Stinner | 2011-12-18 | 2 | -149/+209 |
| | | | | | | | | The main bottleneck was the PyUnicode_READ() macro. | ||||
* | | Optimize str * n for len(str)==1 and UCS-2 or UCS-4 | Victor Stinner | 2011-12-18 | 1 | -4/+11 |
| | | |||||
* | | Issue #13621: Optimize str.replace(char1, char2) | Victor Stinner | 2011-12-18 | 1 | -9/+21 |
| | | | | | | | | | | Use findchar() which is more optimized than a dummy loop using PyUnicode_READ(). PyUnicode_READ() is a complex and slow macro. | ||||
* | | Issue #13623: Fix a performance regression introduced by issue #12170 in | Victor Stinner | 2011-12-18 | 1 | -10/+17 |
| | | | | | | | | | | bytes.find() and handle correctly OverflowError (raise the same ValueError than the error for -1). | ||||
* | | Issue #11231: Fix bytes and bytearray docstrings | Victor Stinner | 2011-12-17 | 2 | -10/+9 |
|\ \ | |/ | | | | | Patch written by Brice Berna. | ||||
| * | Issue #11231: Fix bytes and bytearray docstrings | Victor Stinner | 2011-12-17 | 2 | -10/+9 |
| | | | | | | | | Patch written by Brice Berna. | ||||
* | | Issue #10951: Fix compiler warnings in timemodule.c and unicodeobject.c | Victor Stinner | 2011-12-17 | 1 | -1/+1 |
|\ \ | |/ | | | | | Thanks Jérémy Anger for the fix. | ||||
* | | fix possible NULL dereference | Benjamin Peterson | 2011-12-17 | 1 | -1/+3 |
| | | |||||
* | | The locale decoder raises a UnicodeDecodeError instead of an OSError | Victor Stinner | 2011-12-17 | 1 | -17/+86 |
| | | | | | | | | Search the invalid character using mbrtowc(). | ||||
* | | Issue #13560: Locale codec functions use the classic "errors" parameter, | Victor Stinner | 2011-12-17 | 1 | -7/+38 |
| | | | | | | | | | | | | instead of surrogateescape So it would be possible to support more error handlers later. | ||||
* | | What's New in Python 3.3: complete the deprecation list | Victor Stinner | 2011-12-17 | 1 | -0/+2 |
| | | | | | | | | Add also FIXMEs in unicodeobject.c | ||||
* | | Issue #13560: os.strerror() now uses the current locale encoding instead of ↵ | Victor Stinner | 2011-12-17 | 1 | -8/+20 |
| | | | | | | | | UTF-8 | ||||
* | | Issue #13560: Add PyUnicode_EncodeLocale() | Victor Stinner | 2011-12-17 | 1 | -32/+135 |
| | | | | | | | | | | | | * Use PyUnicode_EncodeLocale() in time.strftime() if wcsftime() is not available * Document my last changes in Misc/NEWS | ||||
* | | Add PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale() | Victor Stinner | 2011-12-16 | 1 | -17/+78 |
| | | | | | | | | | | | | | | | | | | | | | | * PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale() decode a string from the current locale encoding * _Py_char2wchar() writes an "error code" in the size argument to indicate if the function failed because of memory allocation failure or because of a decoding error. The function doesn't write the error message directly to stderr. * Fix time.strftime() (if wcsftime() is missing): decode strftime() result from the current locale encoding, not from the filesystem encoding. | ||||
* | | Issue #6695: Full garbage collection runs now clear the freelist of set objects. | Antoine Pitrou | 2011-12-16 | 1 | -2/+10 |
| | | | | | | | | Initial patch by Matthias Troffaes. | ||||
* | | improve abstract property support (closes #11610) | Benjamin Peterson | 2011-12-15 | 3 | -3/+105 |
| | | | | | | | | Thanks to Darren Dale for patch. | ||||
* | | Fix OSError.__init__ and OSError.__new__ so that each of them can be | Antoine Pitrou | 2011-12-15 | 1 | -57/+159 |
| | | | | | | | | overriden and take additional arguments (followup to issue #12555). | ||||
* | | Fix the fix for issue #12149: it was incorrect, although it had the side | Antoine Pitrou | 2011-12-15 | 1 | -8/+10 |
|\ \ | |/ | | | | | | | effect of appearing to resolve the issue. Thanks to Mark Shannon for noticing. |