pythonpep8pep

Does anything supercede PEP 8?


Trying to go from a script kiddie to a semi-respectable software engineer and need to learn how to write clean, digestible code. The book I'm reading pointed me towards PEP 8 - I know this is the foundational styling guide for Python.

What I can't seem to figure out is if all the guidelines are still valid today in 2022 and nothing has changed since its last update in 2013 OR if there are supplemental PEPs I should be reading.

Visited https://peps.python.org/pep-0000/ and started browsing through the different releases but got confused and unsure which PEPs besides 8 have to do with style guidelines.

I found this previous question from 9 years ago and wanted to see if any of the answers have changed.


Solution

  • At the top, below the authors, you can see it says

    Status: Active

    As the tooltip explains, that means PEP 8 is

    Currently valid informational guidance, or an in-use process

    If the PEP is ever replaced it will say "Status: Superseded".

    At the bottom of the page it says:

    Last modified: 2022-05-11 17:45:05 GMT

    You can check the link to see what changes have been made to PEP 8 when.