PyCF_DONT_IMPLY_DEDENT

K

Kay Schluehr

I found this flag in codeop.py

PyCF_DONT_IMPLY_DEDENT = 0x200 # Matches pythonrun.h

It is apperantly a parser flag used in the PARSER_FLAGS define in
pythonrun.c.

Questions: what does it actually mean and why is this implementation
detail exposed to Python code. I tried to change the value and it
caused severe problems. When it is a constant anyway why does it have
to be passed to the compile function in codeop.py as a variable?

Thx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,042
Latest member
icassiem

Latest Threads

Top