Antoine Pitrou added the comment: +1 on the principle.
> reference count printing is duplicated (lifecycle prints it at > shutdown, pythonrun at the interactive prompt) You could make it an API in object.c. > * pythonrun references PyInspect_Flag directly without an extern > declaration > > * This particular oddity wasn't introduced by this patch, but it > turns out PyOptimize_Flag lives in compile.c, rather than with the > other global flags in pythonrun.c. It's also declared as a public > data API in pydebug.h Should be easy to fix as well :-) ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22869> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com