cpython/Parser
Andrew M. Kuchling b64d61369a #2560: remove an unnecessary 'for' loop from my_fgets() in Parser/myreadline.c.
Noted by Joseph Armbruster; patch by Jessica McKellar.

The original code was 'for (;;) {...}', where ... ended
with a 'return -2' statement and did not contain a 'break' or 'continue'
statement.  Therefore, the body of the loop is always executed once.

Once upon a time there was a 'continue' in the loop, but it was removed in
rev36346, committed by mwh on Wed Jul 7 17:44:12 2004.
2010-02-22 22:48:41 +00:00
..
Python.asdl Issue #2333: Backport set and dict comprehensions syntax. 2010-01-11 22:36:12 +00:00
acceler.c [Patch #974633] Check PyObject_MALLOC return for error 2004-06-29 14:03:04 +00:00
asdl.py remove has_key 2009-06-07 22:55:36 +00:00
asdl_c.py account for PyObject_IsInstance's new ability to fail 2009-12-13 00:54:15 +00:00
bitset.c Fix the code in Parser/ to also compile with C++. This was mostly casts for 2006-04-11 05:39:14 +00:00
firstsets.c Fix the code in Parser/ to also compile with C++. This was mostly casts for 2006-04-11 05:39:14 +00:00
grammar.c Handle malloc failure. 2006-08-13 18:13:36 +00:00
grammar1.c
intrcheck.c #1683 prevent forking from interfering in threading storage 2008-06-13 00:09:47 +00:00
listnode.c
metagrammar.c
myreadline.c #2560: remove an unnecessary 'for' loop from my_fgets() in Parser/myreadline.c. 2010-02-22 22:48:41 +00:00
node.c Merge in release25-maint r60793: 2008-06-11 07:41:16 +00:00
parser.c fix __future__ imports when multiple features are given 2008-10-26 20:21:13 +00:00
parser.h Issue 1881. Increased the stack limit from 500 to 1500. Also added 2008-02-23 12:01:13 +00:00
parsetok.c fix several compile() issues by translating newlines in the tokenizer 2009-11-12 23:39:44 +00:00
pgen.c Coverity issue CID #167 2008-01-18 07:45:30 +00:00
pgenmain.c more low-hanging fruit to make code compile under a C++ compiler. Not 2006-04-11 12:01:56 +00:00
printgrammar.c Issue #4279: Fix build of parsermodule under Cygwin. 2009-01-11 09:26:54 +00:00
spark.py Patch #2167 from calvin: Remove unused imports 2008-02-23 17:40:11 +00:00
tokenizer.c rewrite translate_newlines for clarity 2009-12-06 17:37:48 +00:00
tokenizer.h fix several compile() issues by translating newlines in the tokenizer 2009-11-12 23:39:44 +00:00
tokenizer_pgen.c