summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* Use correct types for ASCII_CHAR_MASK integer constants.Mark Dickinson2012-07-073-6/+6
|
* Issue #15229: An OSError subclass whose __init__ doesn't call backAntoine Pitrou2012-06-301-0/+6
| | | | | OSError.__init__ could produce incomplete instances, leading to crashes when calling str() on them.
* Issue #15055: update dictnotes.txt. Patch by Mark Shannon.Antoine Pitrou2012-06-242-44/+18
|
* Try to fix crash on x86 OpenIndiana buildbot.Antoine Pitrou2012-06-231-1/+2
|
* Replace assert() with a more informative fatal error.Antoine Pitrou2012-06-231-1/+6
|
* Use struct member (ht_type) instead of casting pointers.Antoine Pitrou2012-06-231-12/+12
|
* Issue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber.Martin v. Löwis2012-06-231-4/+76
|
* Issue #14923: Optimize continuation-byte check in UTF-8 decoding. Patch by ↵Mark Dickinson2012-06-231-6/+10
| | | | Serhiy Storchaka.
* Issue #15142: Fix reference leak when deallocating instances of types ↵Antoine Pitrou2012-06-231-0/+6
|\ | | | | | | created using PyType_FromSpec().
| * Issue #15142: Fix reference leak when deallocating instances of types ↵Antoine Pitrou2012-06-231-0/+6
| | | | | | | | created using PyType_FromSpec().
* | Issue #14785: Add sys._debugmallocstats() to help debug low-level memory ↵David Malcolm2012-06-2210-33/+142
| | | | | | | | allocation issues
* | Make private function static (from `make smelly`)Antoine Pitrou2012-06-211-1/+1
| |
* | Issue #13783: PEP 380 cleanup part 2, using the new identifier APIs in the ↵Nick Coghlan2012-06-171-2/+4
| | | | | | | | generator implementation
* | Issue #13783: the PEP 380 implementation no longer expands the public C APINick Coghlan2012-06-172-9/+4
| |
* | Issue #14874: Restore charmap decoding speed to pre-PEP 393 levels.Antoine Pitrou2012-06-161-15/+48
| | | | | | | | Patch by Serhiy Storchaka.
* | _copy_characters(): move debug code at the top to avoid noisy #ifdefVictor Stinner2012-06-161-26/+23
| | | | | | | | | | And don't use assert() anymore if check_maxchar is set: return -1 on error instead.
* | Fix PyUnicode_GetSize(): Don't replace _PyUnicode_Ready() exceptionVictor Stinner2012-06-161-2/+3
| |
* | Fix a compiler warning in _copy_characters() and remove debug codeVictor Stinner2012-06-161-10/+1
| |
* | Oops, fix my previous change on _copy_characters()Victor Stinner2012-06-161-2/+2
| |
* | Fix unicode_adjust_maxchar(): catch PyUnicode_New() failureVictor Stinner2012-06-161-1/+2
| |
* | Fix "%f" format of str%args if the result is not an ASCII or latin1 stringVictor Stinner2012-06-161-17/+19
| |
* | Remove debug codeVictor Stinner2012-06-161-8/+0
| |
* | Optimize _PyUnicode_FastCopyCharacters() when maxchar(from) > maxchar(to)Victor Stinner2012-06-161-55/+75
| |
* | unicodeobject.c: Remove debug codeVictor Stinner2012-06-151-14/+0
| |
* | Issue #15026: utf-16 encoding is now significantly faster (up to 10x).Antoine Pitrou2012-06-152-47/+97
| | | | | | | | Patch by Serhiy Storchaka.
* | Rearrange code to beat an optimizer bug affecting Release x64 on windowsKristján Valur Jónsson2012-06-061-12/+10
| | | | | | | | with VS2010sp1
* | Issue #14993: Use standard "unsigned char" instead of a unsigned char bitfieldVictor Stinner2012-06-042-11/+11
| |
* | Eric Snow's implementation of PEP 421.Barry Warsaw2012-06-032-0/+228
| | | | | | | | Issue 14673: Add sys.implementation
* | Issue #14909: A number of places were using PyMem_Realloc() apis andKristjan Valur Jonsson2012-05-312-4/+8
| | | | | | | | | | PyObject_GC_Resize() with incorrect error handling. In case of errors, the original object would be leaked. This checkin fixes those cases.
* | Issue #14744: Fix compilation on Windows (part 2)Victor Stinner2012-05-291-1/+1
| |
* | Issue #14744: Fix compilation on WindowsVictor Stinner2012-05-291-2/+2
| |
* | Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args ↵Victor Stinner2012-05-296-221/+540
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and str.format(args) * Formatting string, int, float and complex use the _PyUnicodeWriter API. It avoids a temporary buffer in most cases. * Add _PyUnicodeWriter_WriteStr() to restore the PyAccu optimization: just keep a reference to the string if the output is only composed of one string * Disable overallocation when formatting the last argument of str%args and str.format(args) * Overallocation allocates at least 100 characters: add min_length attribute to the _PyUnicodeWriter structure * Add new private functions: _PyUnicode_FastCopyCharacters(), _PyUnicode_FastFill() and _PyUnicode_FromASCII() The speed up is around 20% in average.
* | Issue #14930: Make memoryview objects weakrefable.Richard Oudkerk2012-05-281-1/+4
| |
* | Close #14857: fix regression in references to PEP 3135 implicit __class__ ↵Nick Coghlan2012-05-271-1/+1
| | | | | | | | closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue
* | Issue #14889: PyBytes_FromObject(bytes) now just increfs and returns.Larry Hastings2012-05-251-0/+6
| | | | | | | | | | Previously, if you passed in a bytes object, it would create a whole new object.
* | issue 14660: Implement PEP 420, namespace packages.Eric V. Smith2012-05-251-2/+31
| |
* | Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** ↵Antoine Pitrou2012-05-161-1/+1
|\ \ | |/ | | | | | | | | 32) under 64-bit Windows. (untested, because of Windows build issues under 3.x)
| * Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** ↵Antoine Pitrou2012-05-161-1/+1
| | | | | | | | 32) under 64-bit Windows.
* | Fix build failure.Antoine Pitrou2012-05-161-1/+2
| |
* | Issue #14624: UTF-16 decoding is now 3x to 4x faster on various inputs.Antoine Pitrou2012-05-152-199/+227
| | | | | | | | Patch by Serhiy Storchaka.
* | Silence VS 2010 signed/unsigned warnings.Martin v. Löwis2012-05-151-2/+5
| |
* | PEP 415: Implement suppression of __context__ display with an exception ↵Benjamin Peterson2012-05-151-19/+20
| | | | | | | | | | | | attribute This replaces the original PEP 409 implementation. See #14133.
* | Use size_t, not ssize_t (issue #14801).Antoine Pitrou2012-05-141-1/+1
|\ \ | |/
| * Remove tab charactersAntoine Pitrou2012-05-141-8/+8
| |
| * Use size_t, not ssize_t (issue #14801).Antoine Pitrou2012-05-141-1/+1
| |
* | Issue #14417: Mutating a dict during lookup now restarts the lookup instead ↵Antoine Pitrou2012-05-131-8/+9
| | | | | | | | of raising a RuntimeError (undoes issue #14205).
* | Fix #13210. Port the Windows build from VS2008 to VS2010.Brian Curtin2012-05-131-0/+28
| |
* | Make the reference counting of dictkeys objects participate in refleak huntingAntoine Pitrou2012-05-121-6/+10
| | | | | | | | (issue #13903).
* | Fix refleaks introduced by 83da67651687.Antoine Pitrou2012-05-121-2/+8
| |
* | Fix logic error introduced by 83da67651687.Antoine Pitrou2012-05-121-2/+2
| |