On Fri, Sep 18, 2020 at 12:32:32PM -0400, Wes Turner wrote:
> Is there a list of supported preprocessor directives or compiler directives
> supported by CPython and other tools?

I expect that most tools will have their own list. Python doesn't really 
have directives other than `from __future__ import ...`.

You can view the available future imports by treating it as a regular 
module and inspecting that:

    import __future__
    dir(__future__)


There's also the command line options you can give when invoking the 
interpreter.

-- 
Steve
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/5JV2WM65AEICTWE56UMU5DJR75ZVJFNV/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to