Staging
v0.8.1
https://github.com/python/cpython
Revision 7f4ae1b2cc60cb69938e7c88793b9e9a2dd36d93 authored by Petr Viktorin on 02 June 2019, 23:31:12 UTC, committed by GitHub on 02 June 2019, 23:31:12 UTC
The main slot assignment loop is now if-else if ladder, making the
control flow clearer.

Based on suggestion by Victor Stinner in:
https://github.com/python/cpython/pull/10304/#issuecomment-491123026
1 parent 0d70227
History
Tip revision: 7f4ae1b2cc60cb69938e7c88793b9e9a2dd36d93 authored by Petr Viktorin on 02 June 2019, 23:31:12 UTC
bpo-37012: Clean up special cases in PyType_FromSpecWithBases slot assignments (GH-13496)
Tip revision: 7f4ae1b
File Mode Size
pgen
Python.asdl -rw-r--r-- 5.3 KB
acceler.c -rw-r--r-- 3.3 KB
asdl.py -rw-r--r-- 12.6 KB
asdl_c.py -rw-r--r-- 43.8 KB
grammar1.c -rw-r--r-- 1.0 KB
listnode.c -rw-r--r-- 1.2 KB
myreadline.c -rw-r--r-- 10.6 KB
node.c -rw-r--r-- 5.1 KB
parser.c -rw-r--r-- 12.4 KB
parser.h -rw-r--r-- 1.4 KB
parsetok.c -rw-r--r-- 14.2 KB
token.c -rw-r--r-- 4.5 KB
tokenizer.c -rw-r--r-- 54.6 KB
tokenizer.h -rw-r--r-- 3.7 KB

back to top