Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > PyCF_DONT_IMPLY_DEDENT

Reply
Thread Tools

PyCF_DONT_IMPLY_DEDENT

 
 
Kay Schluehr
Guest
Posts: n/a
 
      07-12-2007
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments