[Python-checkins] CVS: python/nondist/peps pep-0042.txt,1.26,1.27
Fred L. Drake
python-dev@python.org
Tue, 3 Oct 2000 08:45:01 -0700
Update of /cvsroot/python/python/nondist/peps
In directory slayer.i.sourceforge.net:/tmp/cvs-serv18309
Modified Files:
pep-0042.txt
Log Message:
Added item that "continue" inside "try" should be fixed; the current
behavior has been described as an implementation limitation.
Index: pep-0042.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0042.txt,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** pep-0042.txt 2000/10/03 14:18:13 1.26
--- pep-0042.txt 2000/10/03 15:44:58 1.27
***************
*** 45,48 ****
--- 45,60 ----
build with MSVC.
+ - "continue" inside "try" should work as expect instead of raising
+ SyntaxError. The current behavior is considered an implementation
+ limit.
+
+ while 1:
+ try:
+ continue
+ except:
+ pass
+
+ http://sourceforge.net/bugs/?func=detailbug&bug_id=110830&group_id=5470
+
Standard Library