cpython/Include
Albert-Jan Nijburg fc354f0785 bpo-25324: copy tok_name before changing it (#1608)
* add test to check if were modifying token

* copy list so import tokenize doesnt have side effects on token

* shorten line

* add tokenize tokens to token.h to get them to show up in token

* move ERRORTOKEN back to its previous location, and fix nitpick

* copy comments from token.h automatically

* fix whitespace and make more pythonic

* change to fix comments from @haypo

* update token.rst and Misc/NEWS

* change wording

* some more wording changes
2017-05-31 16:00:21 +02:00
..
Python-ast.h bpo-29463: Add docstring field to some AST nodes. (#46) 2017-02-22 16:31:59 +01:00
Python.h bpo-22257: Small changes for PEP 432. (#1728) 2017-05-22 21:36:03 -07:00
abstract.h bpo-29852: Argument Clinic Py_ssize_t converter now supports None (#716) 2017-03-30 09:15:31 +03:00
accu.h
asdl.h Add ast.Constant 2016-01-26 00:40:57 +01:00
ast.h
bitset.h
bltinmodule.h
boolobject.h
bytearrayobject.h
bytes_methods.h Issue #26765: Moved common code and docstrings for bytes and bytearray methods 2016-05-04 22:23:26 +03:00
bytesobject.h Issue #29058: All stable API extensions added after Python 3.2 are now 2016-12-27 14:57:39 +02:00
cellobject.h
ceval.h bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051) 2017-04-16 10:46:38 +03:00
classobject.h
code.h Issue #18896: Python function can now have more than 255 parameters. 2016-12-16 19:19:02 +02:00
codecs.h Issue #29058: All stable API extensions added after Python 3.2 are now 2016-12-27 14:57:39 +02:00
compile.h bpo-22257: Small changes for PEP 432. (#1728) 2017-05-22 21:36:03 -07:00
complexobject.h
datetime.h Closes issue #24773: Implement PEP 495 (Local Time Disambiguation). 2016-07-22 18:47:04 -04:00
descrobject.h Issue #29263: LOAD_METHOD support for C methods 2017-02-03 07:43:03 +09:00
dictobject.h bpo-15695: Add PyAPI_FUNC() to _PyDict_SizeOf() declaration. (#639) 2017-03-12 14:15:54 +02:00
dtoa.h
dynamic_annotations.h
enumobject.h
errcode.h
eval.h bpo-29524: Add Objects/call.c file (#12) 2017-02-12 19:27:05 +01:00
fileobject.h bpo-28667: Fix a compile warning on FreeBSD when compare with FD_SETSIZE. (#501) 2017-03-12 14:43:12 +02:00
fileutils.h bpo-29619: Convert st_ino using unsigned integer (#557) 2017-03-09 17:34:28 +01:00
floatobject.h Issue #11734: Add support for IEEE 754 half-precision floats to the struct module. Original patch by Eli Stevens. 2016-09-03 17:21:29 +01:00
frameobject.h Issue #29049: Call _PyObject_GC_TRACK() lazily when calling Python function. 2016-12-24 20:19:08 +09:00
funcobject.h Add _PyObject_FastCallKeywords() 2016-09-09 12:36:44 -07:00
genobject.h Issue #23996: Added _PyGen_SetStopIterationValue for safe raising 2016-11-06 18:47:03 +02:00
graminit.h Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. 2016-09-08 20:50:03 -07:00
grammar.h properly free memory in pgen 2016-09-18 18:00:25 -07:00
import.h Issue #29058: All stable API extensions added after Python 3.2 are now 2016-12-27 14:57:39 +02:00
intrcheck.h bpo-16500: Allow registering at-fork handlers (#1715) 2017-05-27 17:50:54 +02:00
iterobject.h
listobject.h bpo-29867: Add asserts in PyTuple_GET_SIZE, PyList_GET_SIZE and PySet_GET_SIZE. (#751) 2017-04-22 01:48:11 +02:00
longintrepr.h replace Python aliases for standard integer types with the standard integer types (#17884) 2016-09-06 13:24:00 -07:00
longobject.h bpo-29878: Add global instances of int for 0 and 1. (#852) 2017-03-30 09:09:41 +03:00
marshal.h
memoryobject.h Issue #29058: All stable API extensions added after Python 3.2 are now 2016-12-27 14:57:39 +02:00
metagrammar.h
methodobject.h Issue #29263: LOAD_METHOD support for C methods 2017-02-03 07:43:03 +09:00
modsupport.h Issue #29460: _PyArg_NoKeywords(), _PyArg_NoStackKeywords() and 2017-02-06 10:41:46 +02:00
moduleobject.h Issue #29058: All stable API extensions added after Python 3.2 are now 2016-12-27 15:04:59 +02:00
namespaceobject.h Issue #26900: Excluded underscored names and other private API from limited API. 2016-09-11 11:03:14 +03:00
node.h
object.h bpo-30341: Improve _PyTrash_thread_destroy_chain() a little bit (#1545) 2017-05-13 13:36:14 +08:00
objimpl.h Issue #29058: All stable API extensions added after Python 3.2 are now 2016-12-27 14:57:39 +02:00
odictobject.h Issue #29058: All stable API extensions added after Python 3.2 are now 2016-12-27 15:04:59 +02:00
opcode.h Issue #26110: Add LOAD_METHOD/CALL_METHOD opcodes. 2016-12-13 19:03:51 -05:00
osdefs.h
osmodule.h Issue #29058: All stable API extensions added after Python 3.2 are now 2016-12-27 14:57:39 +02:00
parsetok.h
patchlevel.h Fix incorrect patchlevel information for 3.5.3+. 2017-01-19 18:36:23 -08:00
pgen.h
pgenheaders.h prefix freegrammar (closes #28413) 2016-10-10 23:21:02 -07:00
py_curses.h Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 2017-01-23 10:23:58 +02:00
pyarena.h
pyatomic.h replace Py_(u)intptr_t with the c99 standard types 2016-09-06 13:47:26 -07:00
pycapsule.h
pyctype.h
pydebug.h Issue #1602: Windows console doesn't input or print Unicode (PEP 528) 2016-08-30 21:22:36 -07:00
pydtrace.d DTrace support: function calls, GC activity, line execution 2016-09-09 17:37:37 -07:00
pydtrace.h mark dtrace stubs as static inline; remove stubs 2016-10-20 22:37:00 -07:00
pyerrors.h Delete sigcheck.c since it appears unused (#1723) 2017-05-25 13:00:18 +02:00
pyexpat.h
pyfpe.h remove trailing whitespace 2016-09-19 22:16:36 -07:00
pygetopt.h Issue #26900: Excluded underscored names and other private API from limited API. 2016-09-11 11:03:14 +03:00
pyhash.h replace Python aliases for standard integer types with the standard integer types (#17884) 2016-09-06 13:24:00 -07:00
pylifecycle.h bpo-22257: Private C-API for main interpreter initialization (PEP 432). (#1729) 2017-05-23 23:00:52 -07:00
pymacconfig.h Minor spelling fixes 2016-08-20 08:03:06 +00:00
pymacro.h bpo-29936: fix typo __GNU*C*_MINOR__ (#878) 2017-03-28 21:58:01 -07:00
pymath.h Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
pymem.h Issue #29058: All stable API extensions added after Python 3.2 are now 2016-12-27 14:57:39 +02:00
pyport.h remove configure test for inline keyword (#1231) 2017-04-20 23:52:19 -07:00
pystate.h bpo-16500: Allow registering at-fork handlers (#1715) 2017-05-27 17:50:54 +02:00
pystrcmp.h
pystrhex.h Issue #26900: Excluded underscored names and other private API from limited API. 2016-09-11 11:03:14 +03:00
pystrtod.h Issue #26331: Implement the parsing part of PEP 515. 2016-09-09 14:57:09 -07:00
pythonrun.h bpo-22257: Small changes for PEP 432. (#1728) 2017-05-22 21:36:03 -07:00
pythread.h bpo-6532: Make the thread id an unsigned integer. (#781) 2017-03-23 14:48:39 +01:00
pytime.h Issue #28148: Stop using localtime() and gmtime() in the time module. 2016-09-28 17:31:35 -04:00
rangeobject.h
setobject.h bpo-29867: Add asserts in PyTuple_GET_SIZE, PyList_GET_SIZE and PySet_GET_SIZE. (#751) 2017-04-22 01:48:11 +02:00
sliceobject.h Issue #27867: Silenced may-be-used-uninitialized warnings after 2017-02-04 11:08:04 +02:00
structmember.h Issue #28761: The fields name and doc of structures PyMemberDef, PyGetSetDef, 2016-11-22 07:58:08 +02:00
structseq.h Issue #28761: The fields name and doc of structures PyMemberDef, PyGetSetDef, 2016-11-22 07:58:08 +02:00
symtable.h Issue #28003: Implement PEP 525 -- Asynchronous Generators. 2016-09-08 22:01:51 -07:00
sysmodule.h Issue #26900: Excluded underscored names and other private API from limited API. 2016-09-11 11:03:14 +03:00
token.h bpo-25324: copy tok_name before changing it (#1608) 2017-05-31 16:00:21 +02:00
traceback.h Issue #26900: Excluded underscored names and other private API from limited API. 2016-09-11 11:03:14 +03:00
tupleobject.h bpo-29867: Add asserts in PyTuple_GET_SIZE, PyList_GET_SIZE and PySet_GET_SIZE. (#751) 2017-04-22 01:48:11 +02:00
typeslots.h
ucnhash.h
unicodeobject.h bpo-29941: Assert fixes (#886) 2017-03-31 09:14:41 -07:00
warnings.h Issue #29058: All stable API extensions added after Python 3.2 are now 2016-12-27 14:57:39 +02:00
weakrefobject.h