Py_DebugFlag is used for debugging the Python parser. Py_VerboseFlag is used for debugging and tracing imports. (and in some places it wants Py_VerboseFlag > 1 (more than one "-v") for output) Are there any conventions on which to use for other debugging output? (Or did Guido have any particular conventions in mind when he added them? ) Right now, I'm using Py_VerboseFlag to also trigger logging of message sends in pyobjc. Stealing this flag for another use isn't a problem here because [1] the logging goes to a /tmp file, so I don't have to turn off import tracing -- the two logging streams don't get mixed together, and [2] it only functions when you import pyobjc, so it's not going to get in someone else's use. But I may need to add other debug and log output to my module and I'ld like to do it in the least suprising manner if possible. -- Steve Majewski
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4