[Python-ideas] Arbitrary constants in ASTs

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Jul 24 09:47:31 CEST 2013


Jonathan Brandvein wrote:
> Are there any limitations in CPython concerning what values can be 
> placed in co_consts and accessed by LOAD_CONST?

Probably any marshallable object will work.

-- 
Greg


More information about the Python-ideas mailing list