summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* don't ready in case_operation, since most callers do it themselvesBenjamin Peterson2012-01-161-2/+5
|
* fix old titlecase function for extended case charsBenjamin Peterson2012-01-161-0/+2
|
* comment about how flags could be expandedBenjamin Peterson2012-01-161-0/+1
|
* delta encoding of upper/lower/title makes a glorious return (#12736)Benjamin Peterson2012-01-162-3452/+1349
|
* Consolidate the occurrances of the prime used as the multiplier when hashing.Gregory P. Smith2012-01-143-3/+3
|\
| * Consolidate the occurrances of the prime used as the multiplier when hashingGregory P. Smith2012-01-143-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 failsBenjamin Peterson2012-01-141-3/+15
| |
* | always explicitly check for -1 from PyUnicode_READYBenjamin Peterson2012-01-141-35/+35
| |
* | add str.casefold() (closes #13752)Benjamin Peterson2012-01-143-122/+435
| |
* | Add a separate NEWS entry for a change to PyObject_CallMethod in the PEP 380 ↵Nick Coghlan2012-01-141-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 temporaryAmaury Forgeot d'Arc2012-01-131-1/+2
| | | | | | | | object (with a refcount of 1)
* | Implement PEP 380 - 'yield from' (closes #11682)Nick Coghlan2012-01-134-22/+280
| |
* | move do_title to a better placeBenjamin Peterson2012-01-131-28/+28
| |
* | make fix_decimal_and_space_to_ascii check if it modifies the stringBenjamin Peterson2012-01-121-1/+3
| |
* | kill capwords implementation which has been disabled since the beginingBenjamin Peterson2012-01-121-42/+0
| |
* | remove some usage of Py_UNICODE_TOUPPER/LOWERBenjamin Peterson2012-01-126-12/+0
| |
* | use full unicode mappings for upper/lower/title case (#12736)Benjamin Peterson2012-01-113-1684/+4445
| | | | | | | | Also broaden the category of characters that count as lowercase/uppercase.
* | Issue #13738: Simplify implementation of bytes.lower() and bytes.upper().Antoine Pitrou2012-01-081-10/+2
| |
* | Add a new PyUnicode_Fill() functionVictor Stinner2012-01-031-0/+35
| | | | | | | | | | It is faster than the unicode_fill() function which was implemented in formatter_unicode.c.
* | also decref the right thingBenjamin Peterson2012-01-021-1/+1
| |
* | ready the correct stringBenjamin Peterson2012-01-021-1/+1
| |
* | fix some possible refleaks from PyUnicode_READY error conditionsBenjamin Peterson2012-01-021-21/+53
| |
* | == -1 is conventionBenjamin Peterson2012-01-011-1/+1
| |
* | make switch more robustBenjamin Peterson2012-01-011-1/+2
| |
* | fix weird indentationBenjamin Peterson2011-12-281-1/+1
| |
* | Issue #13577: Built-in methods and functions now have a __qualname__.Antoine Pitrou2011-12-232-5/+41
| | | | | | | | Patch by sbt.
* | 4 space indentationBenjamin Peterson2011-12-201-13/+13
| |
* | fix spacing around switch statementsBenjamin Peterson2011-12-201-23/+22
| |
* | merge 3.2Benjamin Peterson2011-12-201-1/+5
|\ \ | |/
| * fix possible if unlikely leakBenjamin Peterson2011-12-201-1/+5
| |
* | Merge with 3.2.Georg Brandl2011-12-181-3/+3
|\ \ | |/
| * Small clarification in docstring of dict.update(): the positional argument ↵Georg Brandl2011-12-181-3/+3
| | | | | | | | is not required.
* | Issue #13624: Write a specialized UTF-8 encoder to allow more optimizationVictor Stinner2011-12-182-149/+209
| | | | | | | | The main bottleneck was the PyUnicode_READ() macro.
* | Optimize str * n for len(str)==1 and UCS-2 or UCS-4Victor Stinner2011-12-181-4/+11
| |
* | Issue #13621: Optimize str.replace(char1, char2)Victor Stinner2011-12-181-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 inVictor Stinner2011-12-181-10/+17
| | | | | | | | | | bytes.find() and handle correctly OverflowError (raise the same ValueError than the error for -1).
* | Issue #11231: Fix bytes and bytearray docstringsVictor Stinner2011-12-172-10/+9
|\ \ | |/ | | | | Patch written by Brice Berna.
| * Issue #11231: Fix bytes and bytearray docstringsVictor Stinner2011-12-172-10/+9
| | | | | | | | Patch written by Brice Berna.
* | Issue #10951: Fix compiler warnings in timemodule.c and unicodeobject.cVictor Stinner2011-12-171-1/+1
|\ \ | |/ | | | | Thanks Jérémy Anger for the fix.
* | fix possible NULL dereferenceBenjamin Peterson2011-12-171-1/+3
| |
* | The locale decoder raises a UnicodeDecodeError instead of an OSErrorVictor Stinner2011-12-171-17/+86
| | | | | | | | Search the invalid character using mbrtowc().
* | Issue #13560: Locale codec functions use the classic "errors" parameter,Victor Stinner2011-12-171-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 listVictor Stinner2011-12-171-0/+2
| | | | | | | | Add also FIXMEs in unicodeobject.c
* | Issue #13560: os.strerror() now uses the current locale encoding instead of ↵Victor Stinner2011-12-171-8/+20
| | | | | | | | UTF-8
* | Issue #13560: Add PyUnicode_EncodeLocale()Victor Stinner2011-12-171-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 Stinner2011-12-161-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 Pitrou2011-12-161-2/+10
| | | | | | | | Initial patch by Matthias Troffaes.
* | improve abstract property support (closes #11610)Benjamin Peterson2011-12-153-3/+105
| | | | | | | | Thanks to Darren Dale for patch.
* | Fix OSError.__init__ and OSError.__new__ so that each of them can beAntoine Pitrou2011-12-151-57/+159
| | | | | | | | overriden and take additional arguments (followup to issue #12555).
* | Fix the fix for issue #12149: it was incorrect, although it had the sideAntoine Pitrou2011-12-151-8/+10
|\ \ | |/ | | | | | | effect of appearing to resolve the issue. Thanks to Mark Shannon for noticing.