with as a reserved word

Fredrik Lundh fredrik at pythonware.com
Mon Jun 11 21:47:41 CEST 2007


BBands wrote:

> I don't have an opinion, pro or con, on this PEP, but I'll bet that it
> breaks a lot of code.

that's why you get warnings in 2.5, so you have time to update your 
code; see:

     http://www.python.org/dev/peps/pep-0005/

estimating what "a lot" is isn't trivial, but it's worth noting that a 
search for "lang:python \swith\W" over at google's code search only 
brings up about 200 cases, and most of those are found in comments and 
string literals.  and in Zope.

</F>




More information about the Python-list mailing list