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 loewis
Recipients alex, chris.jerdonek, ezio.melotti, loewis, ncoghlan, rhettinger
Date 2012-08-29.07:51:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think the zipfile example is really a bad example. IMO, it would
best be written as

  return bool(EndRecData(fp))
except IOError:
  return False

i.e. there shouldn't be a pass statement at all in this code, and the if can be dropped whether you use try-except or with.
Date User Action Args
2012-08-29 07:51:30loewissetrecipients: + loewis, rhettinger, ncoghlan, ezio.melotti, alex, chris.jerdonek
2012-08-29 07:51:30loewissetmessageid: <>
2012-08-29 07:51:30loewislinkissue15806 messages
2012-08-29 07:51:29loewiscreate