summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* Issue #22116: C functions and methods (of the 'builtin_function_or_method' ↵Antoine Pitrou2014-08-061-1/+5
| | | | type) can now be weakref'ed. Patch by Wei Wu.
* Issue #22077: Improve index error messages for bytearrays, bytes, lists, andTerry Jan Reedy2014-08-024-6/+10
| | | | | tuples by adding 'or slices'. Added ', not <typename' for bytearrays. Original patch by Claudiu Popa.
* Issue #18395: Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, renameVictor Stinner2014-08-011-4/+4
| | | | | ``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these functions.
* Rerun AC, silence pointer conversion warnings.Martin v. Löwis2014-07-272-73/+102
|
* Issue #20179: Apply Argument Clinic to bytes and bytearray.Martin v. Löwis2014-07-273-557/+1867
| | | | Patch by Tal Einat.
* Issue #22082: Fix a compiler warning (function is not a prototype)Victor Stinner2014-07-271-2/+2
|
* Issue #22082: Clear interned strings in slotdefs.Martin v. Löwis2014-07-261-3/+17
|
* slotdefs is no longer sorted.Martin v. Löwis2014-07-261-1/+1
|
* unicodeobject.c: fix a compiler warning on Windows 64 bitsVictor Stinner2014-07-251-1/+2
|
* Issue #18093: Factor out the programs that embed the runtimeNick Coghlan2014-07-251-0/+1
|
* merge 3.4 (#22036)Benjamin Peterson2014-07-241-1/+1
|\
| * s/stringobject/bytesobject/ (closes #22036)Benjamin Peterson2014-07-241-1/+1
| | | | | | | | Patch by Martin Matusiak.
* | Issue #21938: simplify gen_iternext()Antoine Pitrou2014-07-081-5/+1
| |
* | Issue #21803: remove macro indirections in complexobject.hAntoine Pitrou2014-07-071-17/+17
| |
* | upgrade to unicode 7.0.0Benjamin Peterson2014-07-061-1121/+1591
| |
* | Issue #21897: Fix a crash with the f_locals attribute with closure variables ↵Antoine Pitrou2014-07-051-1/+1
|\ \ | |/ | | | | when frame.clear() has been called.
| * Issue #21897: Fix a crash with the f_locals attribute with closure variables ↵Antoine Pitrou2014-07-051-1/+1
| | | | | | | | when frame.clear() has been called.
* | (Merge 3.4) Issue #21892, #21893: Partial revert of changeset 4f55e802baf0,Victor Stinner2014-07-041-18/+8
|\ \ | |/ | | | | PyErr_Format() uses "%zd" for Py_ssize_t, not PY_FORMAT_SIZE_T
| * Issue #21892, #21893: Partial revert of changeset 4f55e802baf0, PyErr_Format()Victor Stinner2014-07-041-18/+8
| | | | | | | | uses "%zd" for Py_ssize_t, not PY_FORMAT_SIZE_T
* | (Merge 3.4) Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zuVictor Stinner2014-07-011-11/+23
|\ \ | |/ | | | | to format C size_t, because %zi/%u is not supported on all platforms.
| * Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format CVictor Stinner2014-07-011-11/+23
| | | | | | | | size_t, because %zi/%u is not supported on all platforms.
* | merge 3.4Benjamin Peterson2014-06-271-9/+6
|\ \ | |/
| * use NULL not 0Benjamin Peterson2014-06-271-9/+6
| |
* | Issue #21205: Add a new ``__qualname__`` attribute to generator, the qualifiedVictor Stinner2014-06-161-15/+75
| | | | | | | | | | | | | | name, and use it in the representation of a generator (``repr(gen)``). The default name of the generator (``__name__`` attribute) is now get from the function instead of the code. Use ``gen.gi_code.co_name`` to get the name of the code.
* | Merge issue #21669 from 3.4Nick Coghlan2014-06-161-0/+135
|\ \ | |/
| * Issue #21669: Special case print & exec syntax errorsNick Coghlan2014-06-161-0/+135
| |
* | Issue #21233: Revert bytearray(int) optimization using calloc()Victor Stinner2014-06-021-14/+2
| |
* | Issue #21233: Rename the C structure "PyMemAllocator" to "PyMemAllocatorEx" toVictor Stinner2014-06-021-7/+7
| | | | | | | | | | make sure that the code using it will be adapted for the new "calloc" field (instead of crashing).
* | Initialize base types before child typesVictor Stinner2014-06-021-6/+6
| | | | | | | | | | object (PyBaseObject_Type) is the base type of type (PyType_Type), int (PyLong_Type) is the base type of bool (PyBool_Type).
* | Add development comments to setobject.cRaymond Hettinger2014-05-181-8/+15
| |
* | Issue #20186: memoryobject.c: add function signatures.Stefan Krah2014-05-171-5/+6
| |
* | Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY()Victor Stinner2014-05-142-42/+38
| | | | | | | | | | Keep _Py_STRINGIZE() in PC/pyconfig.h to not introduce a dependency between pyconfig.h and pymacros.h.
* | (Merge 3.4) Issue #21418: Fix a crash in the builtin function super() whenVictor Stinner2014-05-121-2/+9
|\ \ | |/ | | | | called without argument and without current frame (ex: embedded Python).
| * Issue #21418: Fix a crash in the builtin function super() when called withoutVictor Stinner2014-05-121-2/+9
| | | | | | | | argument and without current frame (ex: embedded Python).
* | Issue #21442: Fix MSVC compiler warning introduced by issue21377.Zachary Ware2014-05-061-1/+1
| |
* | Issue #21233: Fix _PyObject_Alloc() when compiled with WITH_VALGRIND definedVictor Stinner2014-05-061-3/+3
| |
* | Issue 21101: Internal API for dict getitem and setitem where the hash value ↵Raymond Hettinger2014-05-031-0/+56
| | | | | | | | is known.
* | Issue #21233: Oops, Fix _PyObject_Alloc(): initialize nbytes before going toVictor Stinner2014-05-021-3/+3
| | | | | | | | redirect.
* | Issue #21233: Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(),Victor Stinner2014-05-023-45/+167
| | | | | | | | | | | | PyObject_Calloc(), _PyObject_GC_Calloc(). bytes(int) and bytearray(int) are now using ``calloc()`` instead of ``malloc()`` for large objects which is faster and use less memory (until the bytearray buffer is filled with data).
* | Issue #21377: PyBytes_Concat() now tries to concatenate in-place when the ↵Antoine Pitrou2014-05-011-4/+39
| | | | | | | | | | | | first argument has a reference count of 1. Patch by Nikolaus Rath.
* | sprinkle some _PyId goodness around moduleobject.cBenjamin Peterson2014-04-241-9/+19
| |
* | do not override errors from descriptors on modulesBenjamin Peterson2014-04-241-10/+9
| |
* | Issue8297: module attribute lookup failures now include module name in error ↵Ethan Furman2014-04-241-2/+26
| | | | | | | | message.
* | Merge typo fix from 3.4Zachary Ware2014-04-181-1/+1
|\ \ | |/
| * Fix a typo in the docstring of nb_index.Zachary Ware2014-04-181-1/+1
| |
* | Merge typo fix from 3.4Zachary Ware2014-04-181-1/+1
|\ \ | |/
| * Fix a typo in the signature for object.__ge__Zachary Ware2014-04-181-1/+1
| |
| * Issue #21118: Fix _PyUnicodeTranslateError_Create(), add missing formatVictor Stinner2014-04-041-1/+1
| | | | | | | | character for the "end" parameter
* | Issue #21193: Make (e.g.,) pow(2, -3, 5) raise ValueError rather than ↵Mark Dickinson2014-04-111-1/+1
| | | | | | | | TypeError. Patch by Josh Rosenberg.
* | PEP 465: a dedicated infix operator for matrix multiplication (closes #21176)Benjamin Peterson2014-04-103-0/+26
| |