Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #27576: Fix call order in OrderedDict.__init__(). | Eric Snow | 2016-09-09 | 1 | -2/+15 |
| | |||||
* | Issue #28003: Implement PEP 525 -- Asynchronous Generators. | Yury Selivanov | 2016-09-09 | 1 | -46/+986 |
| | |||||
* | Issue #28033: Fix typo in dictobject.c | Berker Peksag | 2016-09-09 | 1 | -1/+1 |
| | | | | Patch by Wesley Emeneker. | ||||
* | Issue #24254: Drop cls.__definition_order__. | Eric Snow | 2016-09-08 | 2 | -80/+1 |
| | |||||
* | Additional safe-guard against dereferencing NULL in reduce_newobj | Christian Heimes | 2016-09-08 | 1 | -1/+7 |
| | | | | | | | _PyObject_GetNewArguments() can leave args == NULL but the __newobj_ex__ branch expects args to be not-NULL. CID 1353201 | ||||
* | Add NULL check for gen->gi_code in gen_send_ex() | Christian Heimes | 2016-09-08 | 1 | -1/+1 |
| | | | | | | | | | | | _PyGen_Finalize() checks that gen->gi_code is not NULL before it accesses the flags of the code object. This means that the flag could be NULL. It passes down the generatore to gen_close() and gen_send_ex(). gen_send_ex() did not check for gen->gi_code != NULL. CID 1297900 | ||||
* | do not worry about 64-bit dict sizes on 32-bit platforms | Benjamin Peterson | 2016-09-08 | 2 | -4/+10 |
| | |||||
* | Add a new private version to the builtin dict type | Victor Stinner | 2016-09-08 | 1 | -0/+19 |
| | | | | | | | Issue #26058: Add a new private version to the builtin dict type, incremented at each dictionary creation and at each dictionary change. Implementation of the PEP 509. | ||||
* | #27364: Deprecate invalid escape strings in str/byutes. | R David Murray | 2016-09-08 | 2 | -1/+5 |
| | | | | Patch by Emanuel Barry, reviewed by Serhiy Storchaka and Martin Panter. | ||||
* | access dk_indices through a union | Benjamin Peterson | 2016-09-08 | 2 | -17/+18 |
| | |||||
* | Add documentation to the dict implementation | Victor Stinner | 2016-09-08 | 2 | -3/+42 |
| | | | | Issue #27350. | ||||
* | Reindeint DK_xxx macros | Victor Stinner | 2016-09-08 | 1 | -6/+11 |
| | | | | Issue #27350. | ||||
* | dk_get_index/dk_set_index uses a type indices variable | Victor Stinner | 2016-09-08 | 1 | -8/+16 |
| | | | | Issue #27350. | ||||
* | use static inline instead of Py_LOCAL_INLINE | Benjamin Peterson | 2016-09-08 | 1 | -16/+16 |
| | |||||
* | Split lookdict_unicode_nodummy() assertion to debug | Victor Stinner | 2016-09-08 | 1 | -1/+2 |
| | | | | Issue #27350. | ||||
* | fix spelling | Benjamin Peterson | 2016-09-08 | 1 | -1/+1 |
| | |||||
* | Add assertions to dk_set_index() | Victor Stinner | 2016-09-08 | 1 | -4/+14 |
| | | | | Issue #27350. | ||||
* | Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) | Steve Dower | 2016-09-08 | 1 | -19/+27 |
| | |||||
* | link to canonical blogspot | Benjamin Peterson | 2016-09-08 | 1 | -1/+1 |
| | |||||
* | use native inline instead of Py_LOCAL_INLINE | Benjamin Peterson | 2016-09-08 | 1 | -3/+3 |
| | |||||
* | rearrange to make gcc happy | Benjamin Peterson | 2016-09-08 | 1 | -1/+3 |
| | |||||
* | Add Py_MEMBER_SIZE macro | Victor Stinner | 2016-09-08 | 1 | -8/+12 |
| | | | | | Issue #27350: use Py_MEMBER_SIZE() macro to get the size of PyDictKeyEntry.dk_indices, rather than hardcoding 8. | ||||
* | Implement compact dict | Victor Stinner | 2016-09-08 | 4 | -548/+736 |
| | | | | | | | | | | | | Issue #27350: `dict` implementation is changed like PyPy. It is more compact and preserves insertion order. _PyDict_Dummy() function has been removed. Disable test_gdb: python-gdb.py is not updated yet to the new structure of compact dictionaries (issue #28023). Patch written by INADA Naoki. | ||||
* | more PY_LONG_LONG to long long | Benjamin Peterson | 2016-09-08 | 1 | -2/+2 |
| | |||||
* | Issue #15767: Add ModuleNotFoundError. | Eric Snow | 2016-09-07 | 1 | -0/+9 |
| | |||||
* | replace some Py_LOCAL_INLINE with the inline keyword | Benjamin Peterson | 2016-09-07 | 1 | -9/+10 |
| | |||||
* | Make PyCodeObject.co_extra even more private to force users through the ↵ | Brett Cannon | 2016-09-07 | 1 | -23/+31 |
| | | | | proper API. | ||||
* | use c++ style comments | Benjamin Peterson | 2016-09-07 | 1 | -4/+4 |
| | |||||
* | Change error return value to be more consistent with the rest of Python | Brett Cannon | 2016-09-07 | 1 | -5/+5 |
| | |||||
* | use a the bool type for a boolean variable | Benjamin Peterson | 2016-09-07 | 1 | -2/+4 |
| | |||||
* | Add the co_extra field and accompanying APIs to code objects. | Brett Cannon | 2016-09-07 | 1 | -0/+91 |
| | | | | This completes PEP 523. | ||||
* | require C99 bool | Benjamin Peterson | 2016-09-07 | 1 | -20/+0 |
| | |||||
* | replace PY_SIZE_MAX with SIZE_MAX | Benjamin Peterson | 2016-09-07 | 3 | -4/+4 |
| | |||||
* | merge 3.5 (#27968) | Benjamin Peterson | 2016-09-07 | 1 | -12/+15 |
|\ | |||||
| * | supress coroutine warning when an exception is pending (#27968) | Benjamin Peterson | 2016-09-07 | 1 | -12/+15 |
| | | |||||
* | | merge 3.5 | Benjamin Peterson | 2016-09-07 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | promote some shifts to unsigned, so as not to invoke undefined behavior | Benjamin Peterson | 2016-09-07 | 1 | -3/+3 |
| | | |||||
* | | Issue #27182: Add support for path-like objects to PyUnicode_FSDecoder(). | Brett Cannon | 2016-09-07 | 1 | -14/+37 |
| | | |||||
* | | merge 3.5 | Benjamin Peterson | 2016-09-07 | 1 | -6/+9 |
|\ \ | |/ | |||||
| * | make sure to not call memcpy with a NULL second argument | Benjamin Peterson | 2016-09-07 | 1 | -6/+9 |
| | | |||||
* | | Optimize unicode_escape and raw_unicode_escape | Victor Stinner | 2016-09-07 | 1 | -374/+314 |
| | | | | | | | | Issue #16334. Patch written by Serhiy Storchaka. | ||||
* | | _PyUnicodeWriter: assert that max character <= MAX_UNICODE | Victor Stinner | 2016-09-06 | 1 | -0/+3 |
| | | |||||
* | | Issue #26027: Support path-like objects in PyUnicode-FSConverter(). | Brett Cannon | 2016-09-06 | 1 | -12/+13 |
| | | | | | | | | | | This is to add support for os.exec*() and os.spawn*() functions. Part of PEP 519. | ||||
* | | replace Py_(u)intptr_t with the c99 standard types | Benjamin Peterson | 2016-09-06 | 3 | -4/+4 |
| | | |||||
* | | replace Python aliases for standard integer types with the standard integer ↵ | Benjamin Peterson | 2016-09-06 | 1 | -4/+4 |
| | | | | | | | | types (#17884) | ||||
* | | Issue #27078: Added BUILD_STRING opcode. Optimized f-strings evaluation. | Serhiy Storchaka | 2016-09-06 | 2 | -19/+43 |
| | | |||||
* | | remove some silly defined() tests | Benjamin Peterson | 2016-09-06 | 1 | -2/+2 |
| | | |||||
* | | replace PY_LONG_LONG with long long | Benjamin Peterson | 2016-09-06 | 4 | -60/+60 |
| | | |||||
* | | Avoid calling functions with an empty string as format string | Victor Stinner | 2016-09-06 | 2 | -2/+2 |
| | | | | | | | | Directly pass NULL rather than an empty string. | ||||
* | | Avoid inefficient way to call functions without argument | Victor Stinner | 2016-09-06 | 1 | -4/+4 |
| | | | | | | | | | | | | Don't pass "()" format to PyObject_CallXXX() to call a function without argument: pass NULL as the format string instead. It avoids to have to parse a string to produce 0 argument. |