The SF patch manager has a workable implementation of your idea:
www.python.org/sf/738094 for i in range(N) optimization
The jury is still out on whether it is an elegant, brilliant patch or a horrendous hack.
And why couldn't it be both? :-)
--Guido van Rossum (home page: http://www.python.org/%7Eguido/)