summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* Fix a typo in the docstring of nb_index.Zachary 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
* bail in unicode error's __str__ methods if the objects are not properly ↵Benjamin Peterson2014-04-021-0/+12
| | | | initialized (closes #21134)
* Issue #21073: explain why Py_ReprEnter() allows for a missing thread state.Antoine Pitrou2014-03-311-0/+2
|
* merge 3.3Benjamin Peterson2014-03-301-19/+19
|\
| * merge 3.2Benjamin Peterson2014-03-301-19/+19
| |\
| | * fix expandtabs overflow detection to be consistent and not rely on signed ↵Benjamin Peterson2014-03-301-19/+19
| | | | | | | | | | | | overflow
| | * #17296: backport fix for issue 1692335, naive exception pickling.R David Murray2013-02-271-1/+10
| | |
* | | correct the fix for #20637; allow slot descriptor inheritance to take place ↵Benjamin Peterson2014-03-171-9/+8
| | | | | | | | | | | | before creating cached keys
* | | merge 3.3Benjamin Peterson2014-03-151-1/+1
|\ \ \ | |/ /
| * | avoid referencing past the bounds of an arrayBenjamin Peterson2014-03-151-1/+1
| | |
* | | merge 3.3Benjamin Peterson2014-03-152-2/+3
|\ \ \ | |/ /
| * | avoid referencing out-of-bounds memoryBenjamin Peterson2014-03-151-1/+1
| | |
| * | fix c89 declaration orderBenjamin Peterson2014-03-151-1/+2
| | |
* | | merge 3.3Benjamin Peterson2014-03-151-1/+2
|\ \ \ | |/ /
| * | don't do pointer arithmetic with signed numbersBenjamin Peterson2014-03-151-1/+2
| | |
* | | Make the various iterators' "setstate" sliently and consistently clip theKristján Valur Jónsson2014-03-056-15/+52
|\ \ \ | |/ / | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state.
| * | Make the various iterators' "setstate" sliently and consistently clip theKristján Valur Jónsson2014-03-056-15/+52
| | | | | | | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state.
* | | Merge with 3.3Kristján Valur Jónsson2014-03-041-1/+1
|\ \ \ | |/ /
| * | Fix pickling of rangeiter. rangeiter_setstate would not allow setting itKristján Valur Jónsson2014-03-041-1/+1
| | | | | | | | | | | | to the exhausted state.
| * | Issue #19619: Blacklist non-text codecs in method APISerhiy Storchaka2014-02-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | str.encode, bytes.decode and bytearray.decode now use an internal API to throw LookupError for known non-text encodings, rather than attempting the encoding or decoding operation and then throwing a TypeError for an unexpected output type. The latter mechanism remains in place for third party non-text encodings. Backported changeset d68df99d7a57.
* | | Issue #20786: Fix signatures for dict.__delitem__ and property.__delete__Yury Selivanov2014-03-021-2/+2
| | |
* | | Issue #20637: Key-sharing now also works for instance dictionaries of ↵Antoine Pitrou2014-02-231-0/+3
| | | | | | | | | | | | subclasses. Patch by Peter Ingebretson.
* | | look up __getnewargs__ and __getnewargs_ex__ on the object type (#16251)Benjamin Peterson2014-02-161-12/+6
| | |
* | | merge 3.3 (#20507)Benjamin Peterson2014-02-151-1/+1
|\ \ \ | |/ /
| * | give non-iterable TypeError a message (closes #20507)Benjamin Peterson2014-02-151-1/+1
| | |
* | | Issue #19255: Clear error after failed PyDict_SetItem() on shutdown.Serhiy Storchaka2014-02-121-2/+4
|\ \ \ | |/ / | | | | | | This silences a Coverity complain.
| * | Issue #19255: Clear error after failed PyDict_SetItem() on shutdown.Serhiy Storchaka2014-02-121-2/+4
| | | | | | | | | | | | This silences a Coverity complain.
* | | Issue #19255: The builtins module is restored to initial value beforeSerhiy Storchaka2014-02-101-5/+8
| | | | | | | | | | | | cleaning other modules. The sys and builtins modules are cleaned last.
* | | Issue #20517: Removed unnecessary new (short-lived) functions from PyErr.Larry Hastings2014-02-101-2/+2
| | |
* | | Issue #20530: The signatures for slot builtins have been updatedLarry Hastings2014-02-101-42/+42
| | | | | | | | | | | | to reflect the fact that they only accept positional-only arguments.
* | | Issue #20517: Functions in the os module that accept two filenamesLarry Hastings2014-02-101-33/+86
| | | | | | | | | | | | | | | | | | now register both filenames in the exception on failure. This required adding new C API functions allowing OSError exceptions to reference two filenames instead of one.
* | | Issue #20437: Fixed 22 potential bugs when deleting objects references.Serhiy Storchaka2014-02-092-14/+7
|\ \ \ | |/ /
| * | Issue #20437: Fixed 21 potential bugs when deleting objects references.Serhiy Storchaka2014-02-093-14/+7
| | |
* | | Issue #20530: Argument Clinic's signature format has been revised again.Larry Hastings2014-02-095-92/+131
| | | | | | | | | | | | | | | | | | | | | The new syntax is highly human readable while still preventing false positives. The syntax also extends Python syntax to denote "self" and positional-only parameters, allowing inspect.Signature objects to be totally accurate for all supported builtins in Python 3.4.
* | | Close #20500: Don't trigger PyObject_Str assertion at shutdownNick Coghlan2014-02-091-1/+1
| | |
* | | Issue #20538: UTF-7 incremental decoder produced inconsistant string whenSerhiy Storchaka2014-02-081-1/+9
|\ \ \ | |/ / | | | | | | input was truncated in BASE64 section.
| * | Issue #20538: UTF-7 incremental decoder produced inconsistant string whenSerhiy Storchaka2014-02-081-1/+9
| | | | | | | | | | | | input was truncated in BASE64 section.
* | | Issue #17162: Fix compilation, replace non-breaking space with an ASCII spaceVictor Stinner2014-02-041-1/+1
| | |
* | | Issue #17162: Add PyType_GetSlot.Martin v. Löwis2014-02-041-0/+13
| | |
* | | Issue #20326: Argument Clinic now uses a simple, unique signature toLarry Hastings2014-01-285-109/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date).
* | | Close #20105: set __traceback__ when chaining exceptions in CNick Coghlan2014-01-261-2/+5
| | |
* | | Issue #20390: Small fixes and improvements for Argument Clinic.Larry Hastings2014-01-262-6/+5
| | |
* | | Issue #20189: Four additional builtin types (PyTypeObject,Larry Hastings2014-01-245-177/+269
| | | | | | | | | | | | | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes.
* | | Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts.
| * | Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-0/+0
| | | | | | | | | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
| * | Issue #17576: Removed deprecation warnings added in changeset 618cca51a27e.Serhiy Storchaka2013-12-142-18/+0
| | |
* | | Fix minor bug in dict.__contains__ docstring.Meador Inge2014-01-141-3/+3
| | | | | | | | | | | | | | | When dict got clinicized in 8fde1a2c94dc for Issue #16612 an erroneous trailing quote was left in the clinic docstring summary line.