Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix PyUnicode_FromFormatV("%c") for non-BMP char | Victor Stinner | 2011-02-21 | 1 | -2/+23 |
| | | | | | Issue #10830: Fix PyUnicode_FromFormatV("%c") for non-BMP characters on narrow build. | ||||
* | Remove bootstrap code of PyUnicode_AsEncodedString() | Victor Stinner | 2011-02-21 | 1 | -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öwis | 2011-02-21 | 1 | -0/+2 |
| | |||||
* | #11249: in PyType_FromSpec, copy tp_doc slot since it usually will point to ↵ | Georg Brandl | 2011-02-19 | 1 | -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öwis | 2011-02-11 | 1 | -0/+3 |
| | | | | Reviewed by Georg Brandl. | ||||
* | Issue #11067: Add PyType_GetFlags, to support PyUnicode_Check | Martin v. Löwis | 2011-02-05 | 1 | -0/+6 |
| | | | | in the limited ABI | ||||
* | Issue #11302: missing type check on _string.formatter_field_name_split and ↵ | Eric Smith | 2011-01-29 | 1 | -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 Pitrou | 2011-01-18 | 1 | -3/+0 |
| | | | | Initial patch by Ross Lagerwall. | ||||
* | remove unneeded assertion | Benjamin Peterson | 2011-01-17 | 1 | -1/+0 |
| | |||||
* | correct assertion | Benjamin Peterson | 2011-01-17 | 1 | -1/+1 |
| | |||||
* | turn some checks into assertions, since they are implied by the caller | Benjamin Peterson | 2011-01-17 | 1 | -4/+2 |
| | | | | Reviewed by Georg. | ||||
* | rangeobject.c (compute_slice_indices): Make function static. | Matthias Klose | 2011-01-16 | 1 | -1/+1 |
| | |||||
* | plug reference leak | Benjamin Peterson | 2011-01-13 | 1 | -2/+4 |
| | |||||
* | use PyErr_SetString instead of PyErr_Format | Benjamin Peterson | 2011-01-12 | 1 | -2/+2 |
| | |||||
* | don't segfault on deleting __abstractmethods__ #10892 | Benjamin Peterson | 2011-01-12 | 1 | -2/+11 |
| | |||||
* | Issue 10889: Support slicing and indexing of large ranges (no docs changes, ↵ | Nick Coghlan | 2011-01-12 | 1 | -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 read | Antoine Pitrou | 2011-01-07 | 1 | -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öwis | 2011-01-06 | 1 | -3/+3 |
| | | | | see #10181. | ||||
* | Support comment lines and missing indices in typeslots.h. | Martin v. Löwis | 2011-01-06 | 1 | -1/+6 |
| | |||||
* | Remove arbitrary string length limits | Victor Stinner | 2011-01-05 | 1 | -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 Windows | Victor Stinner | 2011-01-04 | 1 | -2/+8 |
| | |||||
* | Issue #9566: use Py_ssize_t instead of int | Victor Stinner | 2011-01-04 | 3 | -6/+7 |
| | |||||
* | Removed unneeded #include | Alexander Belopolsky | 2010-12-22 | 1 | -2/+0 |
| | |||||
* | #5587: add a repr to dict_proxy objects. Patch by David Stanek and Daniel ↵ | Ezio Melotti | 2010-12-18 | 1 | -1/+7 |
| | | | | Urban. | ||||
* | #4236: avoid possible Fatal Error when import is called from __del__ | R. David Murray | 2010-12-14 | 1 | -2/+3 |
| | | | | Patch by Simon Cross, crasher test code by Martin von Löwis. | ||||
* | remove (un)transform methods | Benjamin Peterson | 2010-12-12 | 3 | -181/+1 |
| | |||||
* | Reverted accidental commit (from r87159) | Alexander Belopolsky | 2010-12-10 | 1 | -17/+3 |
| | |||||
* | Updated UCD version and unicode.org links to Unicode 6.0.0 | Alexander Belopolsky | 2010-12-10 | 1 | -3/+17 |
| | |||||
* | use the more direct API | Benjamin Peterson | 2010-12-07 | 1 | -3/+3 |
| | |||||
* | return views from dict proxy items/values/keys #10630 | Benjamin Peterson | 2010-12-07 | 1 | -3/+3 |
| | |||||
* | Fix typo. | Georg Brandl | 2010-12-04 | 1 | -1/+1 |
| | |||||
* | Removed static function complex_format, moved it into complex_repr. Modified ↵ | Eric Smith | 2010-12-04 | 1 | -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 Dickinson | 2010-12-04 | 1 | -12/+5 |
| | | | | around possible compiler optimizations. | ||||
* | Issue #10596: Fix float.__mod__ to have the same behaviour as | Mark Dickinson | 2010-12-04 | 1 | -4/+14 |
| | | | | float.__divmod__ with respect to signed zeros. | ||||
* | Remove some unecessary '#ifdef Py_NAN's from floatobject.c | Mark Dickinson | 2010-12-04 | 1 | -6/+0 |
| | |||||
* | Fix indentation in Objects/longobject.c | Mark Dickinson | 2010-12-04 | 1 | -3/+3 |
| | |||||
* | Regenerate. | Martin v. Löwis | 2010-12-04 | 1 | -0/+1 |
| | |||||
* | Add Revision keyword. | Martin v. Löwis | 2010-12-04 | 1 | -0/+1 |
| | |||||
* | Make script 2-vs-3-agnostic. | Martin v. Löwis | 2010-12-04 | 1 | -1/+1 |
| | |||||
* | Issue #10557: Fixed error messages from float() and other numeric | Alexander Belopolsky | 2010-12-04 | 4 | -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öwis | 2010-12-03 | 15 | -20/+186 |
| | |||||
* | #6780: fix complex() constructor TypeError message | Victor Stinner | 2010-12-03 | 1 | -1/+1 |
| | |||||
* | Issue 2690: Add support for slicing and negative indices to range objects ↵ | Nick Coghlan | 2010-12-03 | 1 | -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 Brandl | 2010-12-03 | 1 | -17/+1 |
| | |||||
* | code style | Benjamin Peterson | 2010-12-03 | 1 | -5/+10 |
| | |||||
* | Issue9915: speeding up sorting with a key | Daniel Stutzbach | 2010-12-02 | 1 | -225/+238 |
| | |||||
* | #7475: add (un)transform method to bytes/bytearray and str, add back codecs ↵ | Georg Brandl | 2010-12-02 | 3 | -1/+182 |
| | | | | that can be used with them from Python 2. | ||||
* | Issue #8685: Speed up set difference `a - b` when source set `a` is | Antoine Pitrou | 2010-11-30 | 1 | -7/+22 |
| | | | | much larger than operand `b`. Patch by Andrew Bennetts. | ||||
* | Remove redundant includes of headers that are already included by Python.h. | Georg Brandl | 2010-11-30 | 5 | -6/+0 |
| | |||||
* | Include structseq.h in Python.h, and remove now-redundant includes in ↵ | Georg Brandl | 2010-11-30 | 3 | -3/+0 |
| | | | | individual sources. |