This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients amaury.forgeotdarc, benjamin.peterson, christian.heimes, georg.brandl, jyasskin, rhettinger
Date 2008-02-24.09:19:12
SpamBayes Score 0.031607732
Marked as misclassified No
Message-id <1203844754.09.0.570234809118.issue1910@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, we don't usually document relative speeds (or even O(n) 
performance).  Those things are implementation dependent and can vary 
across releases.

In the case of the with-statement, it would seem self-evident 
that "with" does everything try/finally does and adds function call 
overhead, the __enter__/__exit dance, and possibly introducing a 
locally scoped variable with the "as" clause.
History
Date User Action Args
2008-02-24 09:19:14rhettingersetspambayes_score: 0.0316077 -> 0.031607732
recipients: + rhettinger, georg.brandl, amaury.forgeotdarc, christian.heimes, jyasskin, benjamin.peterson
2008-02-24 09:19:14rhettingersetspambayes_score: 0.0316077 -> 0.0316077
messageid: <1203844754.09.0.570234809118.issue1910@psf.upfronthosting.co.za>
2008-02-24 09:19:13rhettingerlinkissue1910 messages
2008-02-24 09:19:12rhettingercreate