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 belopolsky
Recipients SilentGhost, belopolsky, docs@python, eli.bendersky, eric.araujo, ezio.melotti, georg.brandl, rhettinger, terry.reedy
Date 2010-11-20.18:32:26
SpamBayes Score 0.025953837
Marked as misclassified No
Message-id <AANLkTimccSRB=BLCpARAF3F12kStB=Q5YCTFmYJxvk-3@mail.gmail.com>
In-reply-to <1290277735.94.0.0725758204787.issue10461@psf.upfronthosting.co.za>
Content
FWIW, I find the "with" variant much easier to read than

>>> words = re.findall('\w+', open('hamlet.txt').read().lower())

Too many operations in one line.  It would be even better with

>>> words = re.findall('\w+', hamlet_text.lower())
History
Date User Action Args
2010-11-20 18:43:14belopolskyunlinkissue10461 messages
2010-11-20 18:32:27belopolskysetrecipients: + belopolsky, georg.brandl, rhettinger, terry.reedy, ezio.melotti, eric.araujo, eli.bendersky, SilentGhost, docs@python
2010-11-20 18:32:26belopolskylinkissue10461 messages
2010-11-20 18:32:26belopolskycreate