News for hackers. Stuff that matters.
Re:Software Engineering principles to make teams better by shabbyrobe on Wednesday June 30, 2021 @06:25PM (#27694189)
Since PEP 591 [1], if using mypy with Python 3.8+ or the typing_extensions module, you can also take advantage of typing.Final, which lets you statically verify something isn't changed. The catch is that it isn't enforced at runtime.

  [1]: https://www.python.org/dev/peps/pep-0591/

There are no comments on this comment yet.