• Guido van Rossum's avatar
    bpo-36280: Add Constant.kind field (GH-12295) · 10f8ce66
    Guido van Rossum yazdı
    
    
    The value is a string for string and byte literals, None otherwise.
    It is 'u' for u"..." literals, 'b' for b"..." literals, '' for "..." literals.
    The 'r' (raw) prefix is ignored.
    Does not apply to f-strings.
    
    This appears sufficient to make mypy capable of using the stdlib ast module instead of typed_ast (assuming a mypy patch I'm working on).
    
    WIP: I need to make the tests pass. @ilevkivskyi @serhiy-storchaka 
    
    
    
    https://bugs.python.org/issue36280
    10f8ce66
Adı
Son kayıt (commit)
Son güncelleme
..
pgen Loading commit data...
Python.asdl Loading commit data...
acceler.c Loading commit data...
asdl.py Loading commit data...
asdl_c.py Loading commit data...
grammar1.c Loading commit data...
listnode.c Loading commit data...
myreadline.c Loading commit data...
node.c Loading commit data...
parser.c Loading commit data...
parser.h Loading commit data...
parsetok.c Loading commit data...
token.c Loading commit data...
tokenizer.c Loading commit data...
tokenizer.h Loading commit data...