summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* Fix PyUnicode_FromFormatV("%c") for non-BMP charVictor Stinner2011-02-211-2/+23
| | | | | Issue #10830: Fix PyUnicode_FromFormatV("%c") for non-BMP characters on narrow build.
* Remove bootstrap code of PyUnicode_AsEncodedString()Victor Stinner2011-02-211-15/+0
| | | | | | | | Issue #11187: Remove bootstrap code (use ASCII) of PyUnicode_AsEncodedString(), it was replaced by a better fallback (use the locale encoding) in PyUnicode_EncodeFSDefault(). Prepare also empty sections in NEWS.
* - Check for NULL result in PyType_FromSpec.Martin v. Löwis2011-02-211-0/+2
|
* #11249: in PyType_FromSpec, copy tp_doc slot since it usually will point to ↵Georg Brandl2011-02-191-0/+11
| | | | a static string literal which should not be deallocated together with the type.
* Issue #11134: Add missing fields to typeslots.h.Martin v. Löwis2011-02-111-0/+3
| | | | Reviewed by Georg Brandl.
* Issue #11067: Add PyType_GetFlags, to support PyUnicode_CheckMartin v. Löwis2011-02-051-0/+6
| | | | in the limited ABI
* Issue #11302: missing type check on _string.formatter_field_name_split and ↵Eric Smith2011-01-291-0/+10
| | | | | | _string.formatter_parser caused crash. Originial patch by haypo, reviewed by me, okayed by Georg.
* Issue #10451: memoryview objects could allow to mutate a readable buffer.Antoine Pitrou2011-01-181-3/+0
| | | | Initial patch by Ross Lagerwall.
* remove unneeded assertionBenjamin Peterson2011-01-171-1/+0
|
* correct assertionBenjamin Peterson2011-01-171-1/+1
|
* turn some checks into assertions, since they are implied by the callerBenjamin Peterson2011-01-171-4/+2
| | | | Reviewed by Georg.
* rangeobject.c (compute_slice_indices): Make function static.Matthias Klose2011-01-161-1/+1
|
* plug reference leakBenjamin Peterson2011-01-131-2/+4
|
* use PyErr_SetString instead of PyErr_FormatBenjamin Peterson2011-01-121-2/+2
|
* don't segfault on deleting __abstractmethods__ #10892Benjamin Peterson2011-01-121-2/+11
|
* Issue 10889: Support slicing and indexing of large ranges (no docs changes, ↵Nick Coghlan2011-01-121-67/+306
| | | | since, as far as I know, we never said anywhere that this *didn't* work)
* Issue #8020: Avoid a crash where the small objects allocator would readAntoine Pitrou2011-01-071-6/+22
| | | | | non-Python managed memory while it is being modified by another thread. Patch by Matt Bandy.
* Drop bf_getbuffer/bf_releasebuffer from stable ABI,Martin v. Löwis2011-01-061-3/+3
| | | | see #10181.
* Support comment lines and missing indices in typeslots.h.Martin v. Löwis2011-01-061-1/+6
|
* Remove arbitrary string length limitsVictor Stinner2011-01-051-2/+2
| | | | | PyUnicode_FromFormat() and PyErr_Format() allocates a buffer of the needed size, it is no more a fixed-buffer of 500 bytes.
* Issue #9015, #9611: stdprinter.write() clamps the length to 2^31-1 on WindowsVictor Stinner2011-01-041-2/+8
|
* Issue #9566: use Py_ssize_t instead of intVictor Stinner2011-01-043-6/+7
|
* Removed unneeded #includeAlexander Belopolsky2010-12-221-2/+0
|
* #5587: add a repr to dict_proxy objects. Patch by David Stanek and Daniel ↵Ezio Melotti2010-12-181-1/+7
| | | | Urban.
* #4236: avoid possible Fatal Error when import is called from __del__R. David Murray2010-12-141-2/+3
| | | | Patch by Simon Cross, crasher test code by Martin von Löwis.
* remove (un)transform methodsBenjamin Peterson2010-12-123-181/+1
|
* Reverted accidental commit (from r87159)Alexander Belopolsky2010-12-101-17/+3
|
* Updated UCD version and unicode.org links to Unicode 6.0.0Alexander Belopolsky2010-12-101-3/+17
|
* use the more direct APIBenjamin Peterson2010-12-071-3/+3
|
* return views from dict proxy items/values/keys #10630Benjamin Peterson2010-12-071-3/+3
|
* Fix typo.Georg Brandl2010-12-041-1/+1
|
* Removed static function complex_format, moved it into complex_repr. Modified ↵Eric Smith2010-12-041-10/+8
| | | | tests to check both str and repr, which are the same for complex.
* Use copysign to produce appropriately signed zeros instead of trying to worm ↵Mark Dickinson2010-12-041-12/+5
| | | | around possible compiler optimizations.
* Issue #10596: Fix float.__mod__ to have the same behaviour asMark Dickinson2010-12-041-4/+14
| | | | float.__divmod__ with respect to signed zeros.
* Remove some unecessary '#ifdef Py_NAN's from floatobject.cMark Dickinson2010-12-041-6/+0
|
* Fix indentation in Objects/longobject.cMark Dickinson2010-12-041-3/+3
|
* Regenerate.Martin v. Löwis2010-12-041-0/+1
|
* Add Revision keyword.Martin v. Löwis2010-12-041-0/+1
|
* Make script 2-vs-3-agnostic.Martin v. Löwis2010-12-041-1/+1
|
* Issue #10557: Fixed error messages from float() and other numericAlexander Belopolsky2010-12-044-48/+106
| | | | | | types. Added a new API function, PyUnicode_TransformDecimalToASCII(), which transforms non-ASCII decimal digits in a Unicode string to their ASCII equivalents.
* Merge branches/pep-0384.Martin v. Löwis2010-12-0315-20/+186
|
* #6780: fix complex() constructor TypeError messageVictor Stinner2010-12-031-1/+1
|
* Issue 2690: Add support for slicing and negative indices to range objects ↵Nick Coghlan2010-12-031-100/+184
| | | | | | (includes precalculation and storage of the range length). Refer to the tracker issue for the language moratorium implications of this change
* Remove redundant check for PyBytes in unicode_encode.Georg Brandl2010-12-031-17/+1
|
* code styleBenjamin Peterson2010-12-031-5/+10
|
* Issue9915: speeding up sorting with a keyDaniel Stutzbach2010-12-021-225/+238
|
* #7475: add (un)transform method to bytes/bytearray and str, add back codecs ↵Georg Brandl2010-12-023-1/+182
| | | | that can be used with them from Python 2.
* Issue #8685: Speed up set difference `a - b` when source set `a` isAntoine Pitrou2010-11-301-7/+22
| | | | much larger than operand `b`. Patch by Andrew Bennetts.
* Remove redundant includes of headers that are already included by Python.h.Georg Brandl2010-11-305-6/+0
|
* Include structseq.h in Python.h, and remove now-redundant includes in ↵Georg Brandl2010-11-303-3/+0
| | | | individual sources.