Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #20637: Key-sharing now also works for instance dictionaries of ↵ | Antoine Pitrou | 2014-02-23 | 1 | -0/+3 |
| | | | | subclasses. Patch by Peter Ingebretson. | ||||
* | look up __getnewargs__ and __getnewargs_ex__ on the object type (#16251) | Benjamin Peterson | 2014-02-16 | 1 | -12/+6 |
| | |||||
* | merge 3.3 (#20507) | Benjamin Peterson | 2014-02-15 | 1 | -1/+1 |
|\ | |||||
| * | give non-iterable TypeError a message (closes #20507) | Benjamin Peterson | 2014-02-15 | 1 | -1/+1 |
| | | |||||
* | | Issue #19255: Clear error after failed PyDict_SetItem() on shutdown. | Serhiy Storchaka | 2014-02-12 | 1 | -2/+4 |
|\ \ | |/ | | | | | This silences a Coverity complain. | ||||
| * | Issue #19255: Clear error after failed PyDict_SetItem() on shutdown. | Serhiy Storchaka | 2014-02-12 | 1 | -2/+4 |
| | | | | | | | | This silences a Coverity complain. | ||||
* | | Issue #19255: The builtins module is restored to initial value before | Serhiy Storchaka | 2014-02-10 | 1 | -5/+8 |
| | | | | | | | | cleaning other modules. The sys and builtins modules are cleaned last. | ||||
* | | Issue #20517: Removed unnecessary new (short-lived) functions from PyErr. | Larry Hastings | 2014-02-10 | 1 | -2/+2 |
| | | |||||
* | | Issue #20530: The signatures for slot builtins have been updated | Larry Hastings | 2014-02-10 | 1 | -42/+42 |
| | | | | | | | | to reflect the fact that they only accept positional-only arguments. | ||||
* | | Issue #20517: Functions in the os module that accept two filenames | Larry Hastings | 2014-02-10 | 1 | -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 Storchaka | 2014-02-09 | 2 | -14/+7 |
|\ \ | |/ | |||||
| * | Issue #20437: Fixed 21 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 3 | -14/+7 |
| | | |||||
* | | Issue #20530: Argument Clinic's signature format has been revised again. | Larry Hastings | 2014-02-09 | 5 | -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 shutdown | Nick Coghlan | 2014-02-09 | 1 | -1/+1 |
| | | |||||
* | | Issue #20538: UTF-7 incremental decoder produced inconsistant string when | Serhiy Storchaka | 2014-02-08 | 1 | -1/+9 |
|\ \ | |/ | | | | | input was truncated in BASE64 section. | ||||
| * | Issue #20538: UTF-7 incremental decoder produced inconsistant string when | Serhiy Storchaka | 2014-02-08 | 1 | -1/+9 |
| | | | | | | | | input was truncated in BASE64 section. | ||||
* | | Issue #17162: Fix compilation, replace non-breaking space with an ASCII space | Victor Stinner | 2014-02-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #17162: Add PyType_GetSlot. | Martin v. Löwis | 2014-02-04 | 1 | -0/+13 |
| | | |||||
* | | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 5 | -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 C | Nick Coghlan | 2014-01-26 | 1 | -2/+5 |
| | | |||||
* | | Issue #20390: Small fixes and improvements for Argument Clinic. | Larry Hastings | 2014-01-26 | 2 | -6/+5 |
| | | |||||
* | | Issue #20189: Four additional builtin types (PyTypeObject, | Larry Hastings | 2014-01-24 | 5 | -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 which | Serhiy Storchaka | 2014-01-16 | 1 | -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 which | Serhiy Storchaka | 2014-01-16 | 1 | -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 Storchaka | 2013-12-14 | 2 | -18/+0 |
| | | |||||
* | | Fix minor bug in dict.__contains__ docstring. | Meador Inge | 2014-01-14 | 1 | -3/+3 |
| | | | | | | | | | | When dict got clinicized in 8fde1a2c94dc for Issue #16612 an erroneous trailing quote was left in the clinic docstring summary line. | ||||
* | | Fix typo in comment. | Eric V. Smith | 2014-01-14 | 1 | -1/+1 |
| | | |||||
* | | Issue19995: fixed typo; switched from test.support.check_warnings to assertWarns | Ethan Furman | 2014-01-12 | 1 | -2/+2 |
| | | |||||
* | | Issue19995: issue deprecation warning for non-integer values to %c, %o, %x, %X | Ethan Furman | 2014-01-12 | 1 | -2/+27 |
| | | |||||
* | | Issue #19273: The marker comments Argument Clinic uses have been changed | Larry Hastings | 2014-01-07 | 2 | -12/+12 |
| | | | | | | | | to improve readability. | ||||
* | | Add comments to frozenset_hash(). | Raymond Hettinger | 2014-01-05 | 1 | -1/+14 |
| | | | | | | | | Also, provide a minor hint to the compiler on how to group the xors. | ||||
* | | Issue19995: %o, %x, %X now only accept ints | Ethan Furman | 2014-01-05 | 1 | -8/+27 |
| | | |||||
* | | Reverted changeset b72c5573c5e7 (issue #15027). | Serhiy Storchaka | 2014-01-04 | 2 | -128/+61 |
| | | |||||
* | | Issue #15027: Rewrite the UTF-32 encoder. It is now 1.6x to 3.5x faster. | Serhiy Storchaka | 2014-01-04 | 2 | -61/+128 |
| | | |||||
* | | Remove deadcode (HASH macro is no more defined) | Victor Stinner | 2014-01-03 | 1 | -1/+0 |
| | | |||||
* | | Remove now unused variables | Victor Stinner | 2014-01-03 | 1 | -5/+0 |
| | | |||||
* | | unicode_char() uses get_latin1_char() to get latin1 singleton characters | Victor Stinner | 2014-01-03 | 1 | -0/+3 |
| | | |||||
* | | add unicode_char() in unicodeobject.c to factorize code | Victor Stinner | 2014-01-03 | 1 | -55/+31 |
| | | |||||
* | | Issue #16136: Remove VMS support and VMS-related code | Christian Heimes | 2013-12-21 | 1 | -6/+0 |
| | | |||||
* | | Better assertion in PyObject_Call() to detect functions returning a result with | Victor Stinner | 2013-12-19 | 1 | -1/+2 |
| | | | | | | | | an exception set (invalid state). | ||||
* | | Minor code clean-up. Keep the C-API all in one section. | Raymond Hettinger | 2013-12-15 | 1 | -3/+3 |
| | | |||||
* | | (Merge 3.3) Issue #19969: PyBytes_FromFormatV() now raises an OverflowError if | Victor Stinner | 2013-12-13 | 1 | -3/+16 |
|\ \ | |/ | | | | | "%c" argument is not in range [0; 255]. | ||||
| * | Issue #19969: PyBytes_FromFormatV() now raises an OverflowError if "%c" | Victor Stinner | 2013-12-13 | 1 | -3/+16 |
| | | | | | | | | argument is not in range [0; 255]. | ||||
| * | Issue #14432: Generator now clears the borrowed reference to the thread state | Victor Stinner | 2013-12-13 | 1 | -0/+3 |
| | | | | | | | | | | | | | | Fix a crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup. | ||||
* | | Issue #14432: Remove the thread state field from the frame structure. Fix a | Victor Stinner | 2013-12-13 | 1 | -1/+0 |
| | | | | | | | | | | | | | | crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup. | ||||
* | | Issue #17576: Deprecation warning emitted now when __int__() or __index__() | Serhiy Storchaka | 2013-12-11 | 2 | -160/+147 |
|\ \ | |/ | | | | | | | return not int instance. Introduced _PyLong_FromNbInt() and refactored PyLong_As*() functions. | ||||
| * | Issue #17576: Deprecation warning emitted now when __int__() or __index__() | Serhiy Storchaka | 2013-12-11 | 2 | -160/+147 |
| | | | | | | | | | | return not int instance. Introduced _PyLong_FromNbInt() and refactored PyLong_As*() functions. | ||||
* | | Silence expression result unused warnings with clang. | Christian Heimes | 2013-12-04 | 7 | -9/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | The PyObject_INIT() macros returns obj: ../cpython/Objects/methodobject.c:32:23: warning: expression result unused [-Wunused-value] PyObject_INIT(op, &PyCFunction_Type); ^~ ../cpython/Include/objimpl.h:139:69: note: expanded from macro 'PyObject_INIT' ( Py_TYPE(op) = (typeobj), _Py_NewReference((PyObject *)(op)), (op) ) ^ 1 warning generated. | ||||
* | | Issue #6477: Merge with 3.3. | Alexandre Vassalotti | 2013-12-01 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | Issue #6477: Keep PyNotImplemented_Type and PyNone_Type private. | Alexandre Vassalotti | 2013-12-01 | 1 | -6/+6 |
| | |