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 a.badger
Recipients a.badger, akuchling, bwelling, holdenweb, jafo, manekcz, nswinton
Date 2008-11-24.05:20:15
SpamBayes Score 0.008537686
Marked as misclassified No
Message-id <1227504017.72.0.572888926453.issue1208304@psf.upfronthosting.co.za>
In-reply-to
Content
I tried to repeat the test in http://bugs.python.org/msg60749 and found
that the descriptors will close if you read from the file before closing.

so this leads to open descriptors::

  import urllib2
  f = urllib2.urlopen('http://www.google.com')
  f.close()

while this does not::

  import urllib2
  f = urllib2.urlopen('http://www.google.com')
  f.read(1)
  f.close()
History
Date User Action Args
2008-11-24 05:20:18a.badgersetrecipients: + a.badger, akuchling, holdenweb, jafo, bwelling, manekcz, nswinton
2008-11-24 05:20:17a.badgersetmessageid: <1227504017.72.0.572888926453.issue1208304@psf.upfronthosting.co.za>
2008-11-24 05:20:15a.badgerlinkissue1208304 messages
2008-11-24 05:20:15a.badgercreate