Fix Python 2.4-2.6 comp_for text generation...

Makefile: tolerate pypy 5.3.x
Rest: fix semantic action rule for comp_for and test this
This commit is contained in:
rocky
2016-09-03 00:30:48 -04:00
parent f1bb40f485
commit 52a35e6c62
5 changed files with 13 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
# From python2.6/_abcoll.py
# Bug was wrong code for "comp_for" giving
# "for in x" instead of: "for x in y"
chain = (e for s in (self, other) for x in y)