while1 bug in 2.6 and 2.7

This commit is contained in:
rocky
2016-07-07 13:07:16 -04:00
parent 21314c1dad
commit 06023c247d
6 changed files with 12 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,9 @@
# 2.6.9 text_file.py
# Bugs in 2.6 and 2.7 detecting structure
def readline (self):
while 1:
if self:
if __file__:
continue
return