[Python-ideas] Code version evolver

Steven D'Aprano steve at pearwood.info
Sun Mar 17 18:34:01 EDT 2019

On Mon, Mar 18, 2019 at 01:13:29AM +1100, Chris Angelico wrote:
> Yes, it will. Can you determine whether some code does this? Can you
> recognize what kind of object is on the left of a percent sign?
> Remember, it quite possibly won't be a literal.

I don't understand whether your question is asking if Francis 
*personally* can do this, or if it is possible in principle.

If the later, then inferring the type of expressions is precisely the 
sort of thing that mypy (and others) do.


More information about the Python-ideas mailing list