[Python-ideas] Lessons from typing hinting Whoosh (PEP484)

Matt Chaput matt at whoosh.ca
Mon Nov 16 21:41:45 EST 2015


I forgot to say, there's been a couple of places where I haven't been able to add hinting that hopefully can be improved:

1. Standard library types that should be public but aren't (regular expression object)
2. Specifying an argument/return that's a class (that should be a subclass of some class).

There might be a way to do 2 that I don't know about :)

Cheers,

Matt



More information about the Python-ideas mailing list