LWN: Comments on "A Python static typing update" https://lwn.net/Articles/757218/ This is a special feed containing comments posted to the individual LWN article titled "A Python static typing update". en-us Sat, 01 Nov 2025 09:47:09 +0000 Sat, 01 Nov 2025 09:47:09 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net A Python static typing update https://lwn.net/Articles/757635/ https://lwn.net/Articles/757635/ juliank <div class="FormattedComment"> It's awesome. We use it in python-apt, I made it pass mypy --check (with --implicit-optional for now) and found a lot of errors in python-apt's code on the way. Great work.<br> </div> Fri, 15 Jun 2018 21:50:21 +0000 A Python static typing update https://lwn.net/Articles/757506/ https://lwn.net/Articles/757506/ LtWorf <div class="FormattedComment"> This library that I wrote makes use of annotations as well: <a href="https://github.com/ltworf/typedload">https://github.com/ltworf/typedload</a><br> <p> I basically use it to load json into NamedTuple, but it's quite flexible I think.<br> <p> One problem is that the API of the typing module has been changing even over minor versions, so basically that library ended up having quite a lot of code that does if hasattr() or similar.<br> <p> If they don't settle on an API, making use of annotations is extremely difficult.<br> </div> Thu, 14 Jun 2018 13:01:32 +0000 A Python static typing update https://lwn.net/Articles/757425/ https://lwn.net/Articles/757425/ jrn <div class="FormattedComment"> <a href="https://lwn.net/Articles/690150/">https://lwn.net/Articles/690150/</a> mentioned a few other tools that consume type hints, like pytype and pycharm. Any updates on those?<br> </div> Wed, 13 Jun 2018 14:25:07 +0000