[Python-ideas] "old" values in postconditions

James Lu jamtlu at gmail.com
Tue Sep 25 13:47:50 EDT 2018


> I'm surprised you haven't found
>    inspect.getsource(func)

I did. That’s exactly what I was describing in the paragraph. It wouldn’t work in interactive mode and it includes everything on the same line of the lambda definition.


More information about the Python-ideas mailing list