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 mdk
Recipients Srujan Chaitanya, barry, docs@python, flyjwayur, maciej.szulik, mdk
Date 2016-03-12.21:36:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457818567.85.0.969960764192.issue26176@psf.upfronthosting.co.za>
In-reply-to
Content
Is this your bug:

  Traceback (most recent call last):
    File "/tmp/email_example.py", line 9, in <module>
      with open(textfile) as fp:
  NameError: name 'textfile' is not defined

?

If not, can you please provide us the full traceback ?
History
Date User Action Args
2016-03-12 21:36:07mdksetrecipients: + mdk, barry, docs@python, maciej.szulik, Srujan Chaitanya, flyjwayur
2016-03-12 21:36:07mdksetmessageid: <1457818567.85.0.969960764192.issue26176@psf.upfronthosting.co.za>
2016-03-12 21:36:07mdklinkissue26176 messages
2016-03-12 21:36:07mdkcreate