[Python-Dev] Second milestone of FAT Python

Victor Stinner victor.stinner at gmail.com
Thu Nov 5 09:33:40 EST 2015


Hi,

2015-11-04 23:20 GMT+01:00 Terry Reedy <tjreedy at udel.edu>:
> On 11/4/2015 3:50 AM, Victor Stinner wrote:
>> (...) I reached the second milestone:
>> it's now possible to run the full Python test suite with these
>> optimizations enabled. It confirms that the optimizations don't break
>> the Python semantic.
>
> Is the test suite complete enough to say this? (see below)
> (...)
> In particular, does the test suite have tests like this, to verify that
> over-riding builtins works?

I modified the AST optimizer to not emit guards (remove all guards),
tests still pass. So: no, the optimized code doesn't override builtin
functions.

But I have dedicated unit tests for that in test_fat ;-)

Victor


More information about the Python-Dev mailing list