Sebastian Rittau
Sebastian Rittau
Cf. #11422 for the feature tracker.
I haven't reread the whole thread, so I might be missing something from the discussion. But from what I understand, we can't really use literals for enum- or flag-like constants,...
> Is there anything left to do or discuss here? We seem to have been specifying literal constants for a while now. Indeed, the moratorium is over.
This is now used in several places.
Since the discussion has mostly died down, I've unpinned this.
One real-life case where I encountered this a few times now is a normalizing property like this: ```python from typing import Set, Iterable class Foo: def __init__(self) -> None: self._foo...
It's kind of possible to try to determine the MIME type server side, using a library that does that, but it's more reliable to use the uploaded file type when...
Also discussed on discuss.python.org: https://discuss.python.org/t/making-functions-subscriptable-at-runtime/26463/31
@rchen152 Could you give us a status for pytype or possibly a ticket to track? I also marked pyre as optional for now. We don't have pyre tests and there...