r/Python • • Jun 06 '21

News PEP 661 -- Sentinel Values

https://www.python.org/dev/peps/pep-0661/
220 Upvotes

109 comments sorted by

View all comments

Show parent comment

-2

u/frostbaka Jun 06 '21

Not using "simply" is having a complete test suit for 3.6 up, otherwise you have to check all PRs so they dont accidentally slip in some new language features. While this might be in place for really huge and important stuff like django, sqlalchemy, etc. This is not the case for less popular libraries. Also consider starting a new library with a 3.6+ support.

4

u/lifeeraser Jun 06 '21

Running tests for multiple Python versions is not that difficult. Tox is a popular test runner that already does this. Many CI environments including GitHub Workflows also support multiple Python versions.