Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #28214: Now __set_name__ is looked up on the class instead of the | Serhiy Storchaka | 2016-09-21 | 1 | -5/+7 |
|\ | | | | | | | instance. | ||||
| * | Issue #28214: Now __set_name__ is looked up on the class instead of the | Serhiy Storchaka | 2016-09-21 | 1 | -5/+7 |
| | | | | | | | | instance. | ||||
* | | Merge 3.6 | Victor Stinner | 2016-09-21 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Merge 3.5 | Victor Stinner | 2016-09-21 | 1 | -1/+1 |
| |\ | |||||
| | * | Fix PyUnicode_FromFormatV() error handling | Victor Stinner | 2016-09-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Issue #28233: Fix a memory leak if the format string contains a non-ASCII character, destroy the unicode writer. | ||||
| | * | Issue #28189: dictitems_contains no longer swallows compare errors. | Raymond Hettinger | 2016-09-19 | 1 | -1/+1 |
| | | | | | | | | | | | | (Patch by Xiang Zhang) | ||||
* | | | va_end() all va_copy()ed va_lists. | Christian Heimes | 2016-09-21 | 2 | -0/+5 |
|\ \ \ | |/ / | |||||
| * | | va_end() all va_copy()ed va_lists. | Christian Heimes | 2016-09-21 | 2 | -0/+5 |
| | | | |||||
* | | | merge 3.6 | Benjamin Peterson | 2016-09-21 | 2 | -4/+3 |
|\ \ \ | |/ / | |||||
| * | | replace usage of Py_VA_COPY with the (C99) standard va_copy | Benjamin Peterson | 2016-09-21 | 2 | -4/+3 |
| | | | |||||
* | | | merge | Raymond Hettinger | 2016-09-19 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | merge | Raymond Hettinger | 2016-09-19 | 1 | -1/+1 |
| | | | |||||
* | | | merge 3.6 | Benjamin Peterson | 2016-09-19 | 1 | -9/+9 |
|\ \ \ | |/ / | |||||
| * | | correct silly spelling problem | Benjamin Peterson | 2016-09-19 | 1 | -9/+9 |
| | | | |||||
* | | | merge 3.6 | Benjamin Peterson | 2016-09-19 | 1 | -42/+31 |
|\ \ \ | |/ / | |||||
| * | | replace obmalloc's homegrown uptr and uchar types with standard ones | Benjamin Peterson | 2016-09-19 | 1 | -42/+31 |
| | | | |||||
* | | | merge 3.6 | Benjamin Peterson | 2016-09-19 | 1 | -76/+22 |
|\ \ \ | |/ / | |||||
| * | | improvements to code that checks whether Python (obmalloc) allocated an address | Benjamin Peterson | 2016-09-19 | 1 | -76/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rename Py_ADDRESS_IN_RANGE to address_in_range and make it a static function instead of macro. Any compiler worth its salt will inline this function. - Remove the duplicated function version of Py_ADDRESS_IN_RANGE used when memory analysis was active. Instead, we can simply mark address_in_range as allergic to dynamic memory checking. We can now remove the __attribute__((no_address_safety_analysis)) from _PyObject_Free and _PyObject_Realloc. All the badness is contained in address_in_range now. - Fix the code that tried to only read pool->arenaindex once. Putting something in a variable is no guarantee that it won't be read multiple times. We must use volatile for that. | ||||
* | | | Issue #27111: Minor simplication to long_add and long_sub fast path code. ↵ | Mark Dickinson | 2016-09-17 | 1 | -6/+2 |
| | | | | | | | | | | | | Thanks Oren Milman. | ||||
* | | | Issue #27441: Remove some redundant assignments to ob_size in longobject.c. ↵ | Mark Dickinson | 2016-09-17 | 1 | -2/+0 |
| | | | | | | | | | | | | Thanks Oren Milman. | ||||
* | | | Issue #27222: various cleanups in long_rshift. Thanks Oren Milman. | Mark Dickinson | 2016-09-17 | 1 | -11/+7 |
|/ / | |||||
* | | Issue #28139: Merge indentation fixes from 3.5 into 3.6 | Martin Panter | 2016-09-17 | 1 | -8/+12 |
|\ \ | |/ | |||||
| * | Issue #28139: Fix messed up indentation | Martin Panter | 2016-09-17 | 1 | -8/+12 |
| | | | | | | | | | | Also update the classmethod and staticmethod doc strings and comments to match the RST documentation. | ||||
* | | Issue #25270: Merge from 3.5 | Berker Peksag | 2016-09-16 | 1 | -5/+14 |
|\ \ | |/ | |||||
| * | Issue #25270: Prevent codecs.escape_encode() from raising SystemError when ↵ | Berker Peksag | 2016-09-16 | 1 | -5/+14 |
| | | | | | | | | an empty bytestring is passed | ||||
* | | Unicode 9.0.0 | Benjamin Peterson | 2016-09-15 | 1 | -716/+857 |
| | | | | | | | | | | Not completely mechanical since support for East Asian Width changes—emoji codepoints became Wide—had to be added to unicodedata. | ||||
* | | Add _PyDict_CheckConsistency() | Victor Stinner | 2016-09-14 | 2 | -6/+90 |
| | | | | | | | | | | | | | | | | Issue #28127: Add a function to check that a dictionary remains consistent after any change. By default, tables are not checked, only basic attributes. Define DEBUG_PYDICT (ex: gcc -D DEBUG_PYDICT) to also check dictionary "content". | ||||
* | | Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly ↵ | Christian Heimes | 2016-09-13 | 5 | -51/+51 |
| | | | | | | | | optimize memcpy(). | ||||
* | | Fix _PyDict_Pop() on pending key | Victor Stinner | 2016-09-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Issue #28120: Fix dict.pop() for splitted dictionary when trying to remove a "pending key" (Not yet inserted in split-table). Patch by Xiang Zhang. | ||||
* | | Issue #28040: Cleanup find_empty_slot() | Victor Stinner | 2016-09-13 | 1 | -6/+2 |
| | | | | | | | | find_empty_slot() only supports combined dict | ||||
* | | Fix warning in _PyCFunction_FastCallKeywords() | Victor Stinner | 2016-09-12 | 1 | -2/+1 |
| | | | | | | | | Issue #28105. | ||||
* | | Issue #28077: find_empty_slot() only supports combined dict | Victor Stinner | 2016-09-12 | 1 | -3/+7 |
| | | |||||
* | | Document kwnames in _PyObject_FastCallKeywords() and _PyStack_AsDict() | Victor Stinner | 2016-09-12 | 2 | -0/+8 |
| | | | | | | | | Issue #27213. | ||||
* | | Revert change f860b7a775c5 | Victor Stinner | 2016-09-12 | 2 | -20/+8 |
| | | | | | | | | | | Revert change "Issue #27213: Reintroduce checks in _PyStack_AsDict()", pushed by mistake. | ||||
* | | ssue #27213: Reintroduce checks in _PyStack_AsDict() | Victor Stinner | 2016-09-12 | 2 | -8/+20 |
| | | |||||
* | | Issue #28071: Add early-out for differencing from an empty set. | Raymond Hettinger | 2016-09-12 | 1 | -0/+8 |
| | | |||||
* | | Issue #28045: Merge from 3.5 | Berker Peksag | 2016-09-12 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #28045: Fix comment in range_contains_long() | Berker Peksag | 2016-09-12 | 1 | -1/+1 |
| | | | | | | | | Patch by wim glenn. | ||||
* | | Issue #27213: Fixed different issues with reworked CALL_FUNCTION* opcodes. | Serhiy Storchaka | 2016-09-11 | 2 | -20/+8 |
| | | | | | | | | | | | | | | | | | | | | | | * BUILD_TUPLE_UNPACK and BUILD_MAP_UNPACK_WITH_CALL no longer generated with single tuple or dict. * Restored more informative error messages for incorrect var-positional and var-keyword arguments. * Removed code duplications in _PyEval_EvalCodeWithName(). * Removed redundant runtime checks and parameters in _PyStack_AsDict(). * Added a workaround and enabled previously disabled test in test_traceback. * Removed dead code from the dis module. | ||||
* | | Issue #27129: Replaced wordcode related magic constants with macros. | Serhiy Storchaka | 2016-09-11 | 2 | -4/+4 |
| | | |||||
* | | Issue #23722: Initialize __class__ from type.__new__() | Nick Coghlan | 2016-09-11 | 1 | -2/+11 |
| | | | | | | | | | | | | | | | | | | The __class__ cell used by zero-argument super() is now initialized from type.__new__ rather than __build_class__, so class methods relying on that will now work correctly when called from metaclass methods during class creation. Patch by Martin Teichmann. | ||||
* | | Issue #25221: merge from 3.5. | Mark Dickinson | 2016-09-10 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Issue #25221: Fix corrupted result from PyLong_FromLong(0) when Python is ↵ | Mark Dickinson | 2016-09-10 | 1 | -1/+2 |
| | | | | | | | | compiled with NSMALLPOSINTS = 0. | ||||
| * | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Martin Panter | 2016-09-07 | 5 | -5/+5 |
| | | |||||
* | | Fixed compiler warnings in compact dict implementation on 32-bit platforms. | Serhiy Storchaka | 2016-09-10 | 1 | -11/+11 |
| | | |||||
* | | dictobject.c: explain why stringlib is used | Victor Stinner | 2016-09-10 | 1 | -1/+1 |
| | | |||||
* | | Issue #27810: Rerun Argument Clinic on all modules | Victor Stinner | 2016-09-10 | 2 | -32/+32 |
| | | |||||
* | | Add METH_FASTCALL calling convention | Victor Stinner | 2016-09-10 | 2 | -0/+80 |
| | | | | | | | | | | | | | | | | | | | | | | Issue #27810: Add a new calling convention for C functions: PyObject* func(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames); Where args is a C array of positional arguments followed by values of keyword arguments. nargs is the number of positional arguments, kwnames are keys of keyword arguments. kwnames can be NULL. | ||||
* | | Fix SystemError in compact dict | Victor Stinner | 2016-09-10 | 1 | -19/+33 |
| | | | | | | | | | | | | | | | | | | Issue #28040: Fix _PyDict_DelItem_KnownHash() and _PyDict_Pop(): convert splitted table to combined table to be able to delete the item. Write an unit test for the issue. Patch by INADA Naoki. | ||||
* | | Issue #26331: Implement the parsing part of PEP 515. | Brett Cannon | 2016-09-09 | 3 | -86/+205 |
| | | | | | | | | Thanks to Georg Brandl for the patch. |