This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients docs@python, louiscipher, mgrazebrook, purplezephyr, rhettinger, terry.reedy
Date 2013-09-11.19:47:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378928867.4.0.695390996409.issue11163@psf.upfronthosting.co.za>
In-reply-to
Content
In the current 3.3.2 docs, 'STOP' has been replaced by '', so there is a change, and no infinite loop. However, this is still does not strike me as an example of 'useful' as 
  for line in iter(fp.readline, "STOP"): # is a bad version of
  for line in fp:
It does illustrate the behavior though.
History
Date User Action Args
2013-09-11 19:47:47terry.reedysetrecipients: + terry.reedy, rhettinger, docs@python, mgrazebrook, louiscipher, purplezephyr
2013-09-11 19:47:47terry.reedysetmessageid: <1378928867.4.0.695390996409.issue11163@psf.upfronthosting.co.za>
2013-09-11 19:47:47terry.reedylinkissue11163 messages
2013-09-11 19:47:47terry.reedycreate