Hi, 2015-11-04 23:20 GMT+01:00 Terry Reedy <tjre...@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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com