Josh Rosenberg added the comment:

General comment on the patch: I believe per PEP7, we're still sticking to ANSI 
C (aka C89), and specifically, "all declarations must be at the top of a block 
(not necessarily at the top of function".

The patch assumes lax standards compliance (or C99+ compliance), declaring 
variables in the for loop initializer section and midway through blocks. This 
should be changed to declare all variables at the top of blocks, and not in for 
loop initializer sections.

----------
nosy: +josh.r

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28201>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to