cpython/Include
Nick Coghlan 5dbe0f59b7
bpo-37757: Disallow PEP 572 cases that expose implementation details (GH-15131)
- drop TargetScopeError in favour of raising SyntaxError directly
  as per the updated PEP 572
- comprehension iteration variables are explicitly local, but
  named expression targets in comprehensions are nonlocal or
  global. Raise SyntaxError as specified in PEP 572
- named expression targets in the outermost iterable of a
  comprehension have an ambiguous target scope. Avoid resolving
  that question now by raising SyntaxError. PEP 572
  originally required this only for cases where the bound name
  conflicts with the iteration variable in the comprehension,
  but CPython can't easily restrict the exception to that case
  (as it doesn't know the target variable names when visiting
  the outermost iterator expression)
2019-08-25 23:45:40 +10:00
..
cpython bpo-36763: Implement PyWideStringList_Insert() of PEP 587 (GH-15423) 2019-08-23 16:57:54 +01:00
internal bpo-36763: PyConfig_Read() handles PySys_AddXOption() (GH-15431) 2019-08-23 18:03:08 +01:00
abstract.h Fix typos in comments, docs and test names (#15018) 2019-07-30 18:16:13 -04:00
asdl.h
ast.h Fix typos in comments, docs and test names (#15018) 2019-07-30 18:16:13 -04:00
bitset.h
bltinmodule.h
boolobject.h
bytearrayobject.h
bytes_methods.h
bytesobject.h
cellobject.h
ceval.h bpo-29548: deprecate PyEval_Call* functions (GH-14804) 2019-07-24 21:02:49 +09:00
classobject.h
code.h
codecs.h
compile.h
complexobject.h
context.h
datetime.h
descrobject.h bpo-36974: separate vectorcall functions for each calling convention (GH-13781) 2019-07-05 14:48:24 +02:00
dictobject.h
dtoa.h
dynamic_annotations.h
enumobject.h
errcode.h
eval.h
fileobject.h
fileutils.h bpo-37834: Normalise handling of reparse points on Windows (GH-15231) 2019-08-21 15:27:33 -07:00
floatobject.h
frameobject.h
funcobject.h
genobject.h
graminit.h
grammar.h
import.h
interpreteridobject.h
intrcheck.h
iterobject.h
listobject.h
longintrepr.h
longobject.h
marshal.h
memoryobject.h
methodobject.h bpo-37340: remove free_list for bound method objects (GH-14232) 2019-07-26 15:05:50 +09:00
modsupport.h
moduleobject.h
namespaceobject.h
node.h
object.h Typo fix in file Include/object.h (GH-14556) 2019-07-05 14:37:15 -07:00
objimpl.h
odictobject.h
opcode.h bpo-34880: Add the LOAD_ASSERTION_ERROR opcode. (GH-15073) 2019-08-25 12:44:09 +03:00
osdefs.h
osmodule.h
parsetok.h
patchlevel.h
picklebufobject.h
py_curses.h
pyarena.h
pycapsule.h
pyctype.h
pydebug.h
pydtrace.d
pydtrace.h
pyerrors.h bpo-37757: Disallow PEP 572 cases that expose implementation details (GH-15131) 2019-08-25 23:45:40 +10:00
pyexpat.h
pyfpe.h
pyhash.h
pylifecycle.h
pymacconfig.h
pymacro.h
pymath.h Fix typos in comments, docs and test names (#15018) 2019-07-30 18:16:13 -04:00
pymem.h
pyport.h
pystate.h
pystrcmp.h
pystrhex.h
pystrtod.h
Python-ast.h bpo-37593: Swap the positions of posonlyargs and args in the constructor of ast.parameters nodes (GH-14778) 2019-07-14 16:32:18 -07:00
Python.h
pythonrun.h
pythread.h
pytime.h Fix _PyTime_MIN/MAX values (GH-15384) 2019-08-23 16:39:09 +01:00
rangeobject.h
setobject.h
sliceobject.h
structmember.h
structseq.h
symtable.h bpo-37757: Disallow PEP 572 cases that expose implementation details (GH-15131) 2019-08-25 23:45:40 +10:00
sysmodule.h
token.h
traceback.h
tracemalloc.h
tupleobject.h
typeslots.h
ucnhash.h
unicodeobject.h
warnings.h
weakrefobject.h