PyCF_DONT_IMPLY_DEDENT

Discussion in 'Python' started by Kay Schluehr, Jul 12, 2007.

  1. Kay Schluehr

    Kay Schluehr Guest

    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
     
    Kay Schluehr, Jul 12, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page