Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-33738: Fix macros which contradict PEP 384 (GH-7477) | Christian Tismer | 2018-06-09 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During development of the limited API support for PySide, we saw an error in a macro that accessed a type field. This patch fixes the 7 errors in the Python headers. Macros which were not written as capitals were implemented as function. To do the necessary analysis again, a script was included that parses all headers and looks for "->tp_" in serctions which can be reached with active limited API. It is easily possible to call this script as a test. Error listing: ../../Include/objimpl.h:243 #define PyObject_IS_GC(o) (PyType_IS_GC(Py_TYPE(o)) && \ (Py_TYPE(o)->tp_is_gc == NULL || Py_TYPE(o)->tp_is_gc(o))) Action: commented only ../../Include/objimpl.h:362 #define PyType_SUPPORTS_WEAKREFS(t) ((t)->tp_weaklistoffset > 0) Action: commented only ../../Include/objimpl.h:364 #define PyObject_GET_WEAKREFS_LISTPTR(o) \ ((PyObject **) (((char *) (o)) + Py_TYPE(o)->tp_weaklistoffset)) Action: commented only ../../Include/pyerrors.h:143 #define PyExceptionClass_Name(x) \ ((char *)(((PyTypeObject*)(x))->tp_name)) Action: implemented function ../../Include/abstract.h:593 #define PyIter_Check(obj) \ ((obj)->ob_type->tp_iternext != NULL && \ (obj)->ob_type->tp_iternext != &_PyObject_NextNotImplemented) Action: implemented function ../../Include/abstract.h:713 #define PyIndex_Check(obj) \ ((obj)->ob_type->tp_as_number != NULL && \ (obj)->ob_type->tp_as_number->nb_index != NULL) Action: implemented function ../../Include/abstract.h:924 #define PySequence_ITEM(o, i)\ ( Py_TYPE(o)->tp_as_sequence->sq_item(o, i) ) Action: commented only | ||||
* | Add missed details of the C API introduced in 3.7. (GH-7047) | Serhiy Storchaka | 2018-05-22 | 1 | -0/+2 |
| | | | | | | * Set the limited API version for PyImport_GetModule and PyOS_*Fork functions. * Add PyImport_GetModule and Py_UTF8Mode in PC/python3.def. * Add several functions in Doc/data/refcounts.dat. | ||||
* | Start of 3.8.0a0 | Ned Deily | 2018-01-31 | 1 | -793/+793 |
| | |||||
* | bpo-30697: Fix PyErr_NormalizeException() when no memory (GH-2327) | xdegaye | 2017-10-26 | 1 | -1/+0 |
| | |||||
* | bpo-25658: Implement PEP 539 for Thread Specific Storage (TSS) API (GH-1362) | Masayuki Yamamoto | 2017-10-06 | 1 | -0/+7 |
| | | | | | | | | | See PEP 539 for details. Highlights of changes: - Add Thread Specific Storage (TSS) API - Document the Thread Local Storage (TLS) API as deprecated - Update code that used TLS API to use TSS API | ||||
* | bpo-29102: Add a unique ID to PyInterpreterState. (#1639) | Eric Snow | 2017-05-23 | 1 | -0/+1 |
| | |||||
* | Issue #27867: Function PySlice_GetIndicesEx() is deprecated and replaced with | Serhiy Storchaka | 2017-01-25 | 1 | -0/+2 |
|\ | | | | | | | | | | | a macro if Py_LIMITED_API is not set or set to the value between 0x03050400 and 0x03060000 (not including) or 0x03060100 or higher. Added functions PySlice_Unpack() and PySlice_AdjustIndices(). | ||||
| * | Issue #27867: Function PySlice_GetIndicesEx() is replaced with a macro if | Serhiy Storchaka | 2017-01-25 | 1 | -0/+2 |
| |\ | | | | | | | | | | | | | Py_LIMITED_API is not set or set to the value between 0x03050400 and 0x03060000 (not including) or 0x03060100 or higher. | ||||
| | * | Issue #27867: Function PySlice_GetIndicesEx() is replaced with a macro if | Serhiy Storchaka | 2017-01-25 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | Py_LIMITED_API is not set or set to the value between 0x03050400 and 0x03060000 (not including) or 0x03060100 or higher. | ||||
* | | | Issue #23903: Added missed Windows-specific names to PC/python3.def. | Serhiy Storchaka | 2016-12-27 | 1 | -0/+13 |
|\ \ \ | |/ / | |||||
| * | | Issue #23903: Added missed Windows-specific names to PC/python3.def. | Serhiy Storchaka | 2016-12-27 | 1 | -0/+13 |
| |\ \ | | |/ | |||||
| | * | Issue #23903: Added missed Windows-specific names to PC/python3.def. | Serhiy Storchaka | 2016-12-27 | 1 | -0/+13 |
| | | | |||||
* | | | Issue #23903: Added missed names to PC/python3.def. | Serhiy Storchaka | 2016-12-27 | 1 | -0/+64 |
|\ \ \ | |/ / | |||||
| * | | Issue #23903: Added missed names to PC/python3.def. | Serhiy Storchaka | 2016-12-27 | 1 | -0/+64 |
| |\ \ | | |/ | |||||
| | * | Issue #23903: Added missed names to PC/python3.def. | Serhiy Storchaka | 2016-12-27 | 1 | -0/+59 |
| | | | |||||
* | | | Issue #23903: Fixed errors and remove non-existing names in python3.def. | Serhiy Storchaka | 2016-12-27 | 1 | -5/+3 |
|\ \ \ | |/ / | |||||
| * | | Issue #23903: Fixed errors and remove non-existing names in python3.def. | Serhiy Storchaka | 2016-12-27 | 1 | -5/+3 |
| |\ \ | | |/ | |||||
| | * | Issue #23903: Fixed errors and remove non-existing names in python3.def. | Serhiy Storchaka | 2016-12-27 | 1 | -5/+3 |
| | | | |||||
* | | | Sort and remove duplicates from PC/python3.def (issue #23903). | Serhiy Storchaka | 2016-12-23 | 1 | -25/+24 |
|\ \ \ | |/ / | |||||
| * | | Sort and remove duplicates from PC/python3.def (issue #23903). | Serhiy Storchaka | 2016-12-23 | 1 | -25/+24 |
| |\ \ | | |/ | |||||
| | * | Sort and remove duplicates from PC/python3.def (issue #23903). | Serhiy Storchaka | 2016-12-23 | 1 | -25/+24 |
| | | | |||||
* | | | Bump to 3.7.0a0 | Ned Deily | 2016-09-12 | 1 | -710/+710 |
|/ / | |||||
* | | Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failure | Martin Panter | 2015-11-30 | 1 | -0/+1 |
| | | |||||
* | | Issue #16991: Use the correct version for master. | Eric Snow | 2015-05-30 | 1 | -8/+8 |
| | | |||||
* | | Merge from 3.5. | Eric Snow | 2015-05-30 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | Issue #16991: Add PyODict* to Windows builds. | Eric Snow | 2015-05-30 | 1 | -0/+8 |
| | | |||||
| * | Reverting my previous commit. | Yury Selivanov | 2015-05-30 | 1 | -701/+701 |
|/ | | | | Something went horribly wrong when I was doing `hg rebase`. | ||||
* | Update Windows build for 3.6 | Zachary Ware | 2015-05-28 | 1 | -701/+701 |
| | |||||
* | Issue #24268: Adds PyModuleDef_Init and PyModuleDef_Type to python3.def ↵ | Steve Dower | 2015-05-23 | 1 | -0/+2 |
| | | | | (stable ABI) | ||||
* | Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), ↵ | Steve Dower | 2014-11-22 | 1 | -1/+2 |
| | | | | which will be used for the official 3.5 release. | ||||
* | Issue #18711: Add a new `PyErr_FormatV` function, similar to `PyErr_Format` ↵ | Antoine Pitrou | 2014-09-30 | 1 | -0/+1 |
| | | | | but accepting a `va_list` argument. | ||||
* | Bump Windows build to 3.5 | Zachary Ware | 2014-03-17 | 1 | -699/+699 |
| | |||||
* | Add PyType_GetSlot to python3 def file. Patch courtesy Martin v. Löwis. | Larry Hastings | 2014-02-10 | 1 | -0/+1 |
| | |||||
* | Merge with 3.3: Issue #17432: Drop UCS2 from names of Unicode functions in ↵ | Martin v. Löwis | 2014-01-04 | 1 | -62/+62 |
|\ | | | | | | | python3.def. | ||||
| * | Issue #17432: Drop UCS2 from names of Unicode functions in python3.def. | Martin v. Löwis | 2014-01-04 | 1 | -62/+62 |
| | | |||||
* | | Issue #15422: get rid of PyCFunction_New macro | Andrew Svetlov | 2012-12-25 | 1 | -0/+1 |
| | | |||||
* | | Bump version to 3.4.0 alpha 0. | Georg Brandl | 2012-09-29 | 1 | -697/+697 |
|/ | |||||
* | Issue #11626: Add _SizeT functions to stable ABI. | Martin v. Löwis | 2012-06-23 | 1 | -0/+6 |
| | |||||
* | Issue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber. | Martin v. Löwis | 2012-06-23 | 1 | -0/+2 |
| | |||||
* | Issue #15042: Add PyState_AddModule and PyState_RemoveModule. | Martin v. Löwis | 2012-06-22 | 1 | -0/+2 |
| | | | | | | Add version guard for Py_LIMITED_API additions. Issue #15081: Document PyState_FindModule. Patch by Robin Schreiber. | ||||
* | More eol-style's | Antoine Pitrou | 2011-02-25 | 1 | -689/+689 |
| | |||||
* | More automated version replacement. | Georg Brandl | 2011-02-20 | 1 | -687/+687 |
| | |||||
* | Issue #11067: Add PyType_GetFlags, to support PyUnicode_Check | Martin v. Löwis | 2011-02-05 | 1 | -0/+1 |
| | | | | in the limited ABI | ||||
* | Issue #11118: Fix bogus export of None in python3.dll. | Martin v. Löwis | 2011-02-04 | 1 | -1/+1 |
| | |||||
* | Remove buffer API from stable ABI for now, see #10181. | Martin v. Löwis | 2011-01-06 | 1 | -10/+0 |
| | |||||
* | Expose CompileString, not CompileStringFlags under the | Martin v. Löwis | 2010-12-04 | 1 | -1/+1 |
| | | | | limited API. | ||||
* | Merge branches/pep-0384. | Martin v. Löwis | 2010-12-03 | 1 | -0/+698 |