Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Backported PyCapsule from 3.1, and converted most uses of | Larry Hastings | 2010-03-25 | 3 | -10/+329 |
| | | | | CObject to PyCapsule. | ||||
* | Issue #1583863: An unicode subclass can now override the __str__ method | Victor Stinner | 2010-03-22 | 1 | -1/+1 |
| | |||||
* | Add support for weak references to code objects. This will be used by an ↵ | Collin Winter | 2010-03-18 | 1 | -2/+5 |
| | | | | | | optimization in the incoming Python 3 JIT. Patch by Reid Kleckner! | ||||
* | Issue #8024: Update the Unicode database to 5.2 | Florent Xicluna | 2010-03-18 | 1 | -1020/+1241 |
| | |||||
* | Issue #7818: set().test_c_api() doesn't expect a set('abc'), modify the set. | Victor Stinner | 2010-03-13 | 1 | -1/+15 |
| | |||||
* | #8030: more docstring fix for builtin types. | Ezio Melotti | 2010-02-28 | 3 | -7/+7 |
| | |||||
* | The set types can also be called without arguments. | Georg Brandl | 2010-02-28 | 1 | -2/+4 |
| | |||||
* | #8030: make builtin type docstrings more consistent: use "iterable" instead ↵ | Georg Brandl | 2010-02-28 | 3 | -5/+5 |
| | | | | of "seq(uence)", use "new" to show that set() always returns a new object. | ||||
* | #7649: "u'%c' % char" now behaves like "u'%s' % char" and raises a ↵ | Ezio Melotti | 2010-02-25 | 1 | -9/+18 |
| | | | | UnicodeDecodeError if 'char' is a byte string that can't be decoded using the default encoding. | ||||
* | Issue #7309: Unchecked pointer access when converting UnicodeEncodeError, ↵ | Eric Smith | 2010-02-24 | 1 | -36/+78 |
| | | | | UnicodeDecodeError, and UnicodeTranslateError to strings. | ||||
* | Issue #7649: Fix u'%c' % char for character in range 0x80..0xFF | Victor Stinner | 2010-02-23 | 1 | -1/+9 |
| | | | | => raise an UnicodeDecodeError. Patch written by Ezio Melotti. | ||||
* | Issue #6902: Fix problem with built-in types format incorrectly with 0 padding. | Eric Smith | 2010-02-23 | 1 | -4/+7 |
| | |||||
* | #7706: DONT_HAVE_ERRNO_H is no longer defined by configure (after rev.46819). | Andrew M. Kuchling | 2010-02-22 | 1 | -1/+1 |
| | |||||
* | Issue #7988: Fix default alignment to be right aligned for ↵ | Eric Smith | 2010-02-22 | 1 | -10/+40 |
| | | | | complex.__format__. Now it matches other numeric types. | ||||
* | #7482: clarify error message in case of division by zero of float and ↵ | Ezio Melotti | 2010-02-22 | 2 | -4/+4 |
| | | | | complex numbers. | ||||
* | Issue #5211: Fix complex type to avoid implicit calls to | Mark Dickinson | 2010-02-21 | 1 | -26/+45 |
| | | | | complex.__coerce__. Thanks Meador Inge for the patch. | ||||
* | Silence more compiler warnings; fix an instance of potential undefined ↵ | Mark Dickinson | 2010-02-14 | 1 | -4/+5 |
| | | | | behaviour from signed overflow. | ||||
* | Silence some 'comparison between signed and unsigned' compiler warnings. | Mark Dickinson | 2010-02-14 | 1 | -7/+8 |
| | |||||
* | Issue #5677: Explicitly forbid write operations on read-only file objects, | Antoine Pitrou | 2010-02-05 | 1 | -0/+32 |
| | | | | | | and read operations on write-only file objects. On Windows, the system C library would return a bogus result; on Solaris, it was possible to crash the interpreter. Patch by Stefan Krah. | ||||
* | Issue #7385: Fix a crash in `MemoryView_FromObject` when | Antoine Pitrou | 2010-02-02 | 1 | -7/+5 |
| | | | | `PyObject_GetBuffer` fails. Patch by Florent Xicluna. | ||||
* | Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, a | Mark Dickinson | 2010-01-30 | 1 | -0/+104 |
| | | | | | long long variant of PyLong_AsLongAndOverflow. Patch by Case Van Horsen. | ||||
* | Issue #7788: Fix a crash produced by deleting a list slice with huge | Mark Dickinson | 2010-01-29 | 2 | -2/+4 |
| | | | | step value. Patch by Marcin Bachry. | ||||
* | #7775: fixed docstring for rpartition | Ezio Melotti | 2010-01-25 | 3 | -3/+3 |
| | |||||
* | Issue #7561: Operations on empty bytearrays (such as `int(bytearray())`) | Antoine Pitrou | 2010-01-17 | 1 | -17/+6 |
| | | | | | | could crash in many places because of the PyByteArray_AS_STRING() macro returning NULL. The macro now returns a statically allocated empty string instead. | ||||
* | Add note about usage of STRINGLIB_EMPTY. | Georg Brandl | 2010-01-17 | 1 | -4/+5 |
| | |||||
* | Fixed typo | Ezio Melotti | 2010-01-14 | 1 | -1/+1 |
| | |||||
* | Sanitize bloom filter macros | Antoine Pitrou | 2010-01-13 | 2 | -14/+36 |
| | |||||
* | Test commit to try to diagnose failures of the IA-64 buildbot | Antoine Pitrou | 2010-01-13 | 1 | -2/+2 |
| | |||||
* | Fix Windows build (re r77461) | Antoine Pitrou | 2010-01-13 | 1 | -1/+1 |
| | |||||
* | Issue #7622: Improve the split(), rsplit(), splitlines() and replace() | Antoine Pitrou | 2010-01-13 | 13 | -1442/+704 |
| | | | | | methods of bytes, bytearray and unicode objects by using a common implementation based on stringlib's fast search. Patch by Florent Xicluna. | ||||
* | Fixed repr of dictionary views. | Alexandre Vassalotti | 2010-01-12 | 1 | -1/+2 |
| | |||||
* | Issue #1967: Backport dictionary views. | Alexandre Vassalotti | 2010-01-11 | 1 | -0/+505 |
| | |||||
* | factor out __complex__ lookup code to fix another case | Benjamin Peterson | 2010-01-04 | 1 | -50/+44 |
| | |||||
* | do correct lookup of the __complex__ method | Benjamin Peterson | 2010-01-04 | 1 | -8/+14 |
| | |||||
* | Issue #7462: Implement the stringlib fast search algorithm for the `rfind`, | Antoine Pitrou | 2010-01-02 | 8 | -148/+114 |
| | | | | `rindex`, `rsplit` and `rpartition` methods. Patch by Florent Xicluna. | ||||
* | Refactor some longobject internals: PyLong_AsDouble and _PyLong_AsScaledDouble | Mark Dickinson | 2010-01-02 | 1 | -221/+146 |
| | | | | | | | | (the latter renamed to _PyLong_Frexp) now use the same core code. The exponent produced by _PyLong_Frexp now has type Py_ssize_t instead of the previously used int, and no longer needs scaling by PyLong_SHIFT. This frees the math module from having to know anything about the PyLong implementation. This closes issue #5576. | ||||
* | Issue #7534: Fix handling of nans, infinities, and negative zero in ** | Mark Dickinson | 2009-12-30 | 1 | -23/+74 |
| | | | | operator, on IEEE 754 platforms. Thanks Marcos Donolo for original patch. | ||||
* | Issue #1811: Improve accuracy and consistency of true division for integers. | Mark Dickinson | 2009-12-27 | 2 | -37/+277 |
| | |||||
* | #6108: unicode(exception) and str(exception) should return the same message | Ezio Melotti | 2009-12-24 | 1 | -0/+15 |
| | |||||
* | Issue #7528: Backport PyLong_AsLongAndOverflow from py3k to trunk. | Mark Dickinson | 2009-12-21 | 1 | -31/+101 |
| | | | | Thanks Case Van Horsen for the patch. | ||||
* | remove type_compare, since type_richcompare does the same trick | Benjamin Peterson | 2009-12-16 | 1 | -10/+1 |
| | |||||
* | Issue #1680159: unicode coercion during an 'in' operation was masking | R. David Murray | 2009-12-14 | 1 | -2/+0 |
| | | | | | | | any errors that might occur during coercion of the left operand and turning them into a TypeError with a message text that was confusing in the given context. This patch lets any errors through, as was already done during coercion of the right hand side. | ||||
* | fix the ignoring of __cmp__ method on metaclasses #7491 | Benjamin Peterson | 2009-12-13 | 1 | -1/+5 |
| | |||||
* | Issue #7466: segmentation fault when the garbage collector is called | Antoine Pitrou | 2009-12-12 | 1 | -1/+2 |
| | | | | | | in the middle of populating a tuple. Patch by Florent Xicluna. (note: no NEWS entry for trunk since the bug was introduced in 2.7/3.1) | ||||
* | substitute PyDict_Check() for PyObject_IsInstance | Benjamin Peterson | 2009-12-10 | 1 | -1/+1 |
| | |||||
* | Avoid undefined behaviour due to overflow in i_divmod (Objects/intobject.c). | Mark Dickinson | 2009-12-04 | 1 | -1/+10 |
| | |||||
* | disable pymalloc tricks with the --with-valgrind option #2422 | Benjamin Peterson | 2009-12-03 | 1 | -0/+39 |
| | | | | Patch from James Henstridge. | ||||
* | Issue #7406: Fix some occurrences of potential signed overflow in int | Mark Dickinson | 2009-12-02 | 1 | -3/+6 |
| | | | | arithmetic. | ||||
* | Issue #3382: Make '%F' and float.__format__('F') convert results to upper ↵ | Eric Smith | 2009-11-29 | 3 | -18/+0 |
| | | | | case. Much of the patch came from Mark Dickinson. | ||||
* | Include ieeefp.h (when available) in pyport.h instead of individually in | Mark Dickinson | 2009-11-28 | 2 | -8/+0 |
| | | | | | | Objects/floatobject.c and Objects/complexobject.c. This should silence compiler warnings about implicit declaration of the 'finite' function on Solaris. |