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 sbt
Recipients docs@python, ezio.melotti, giampaolo.rodola, gvanrossum, pitrou, sbt, serhiy.storchaka
Date 2012-12-31.14:50:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356965430.1.0.329003300148.issue16802@psf.upfronthosting.co.za>
In-reply-to
Content
> There is an alternative (documented) interface:
> 
>     socket.fromfd(handle, socket.AF_INET, socket.SOCK_STREAM).close()

socket.fromfd() duplicates the handle, so that does not close the original handle.
History
Date User Action Args
2012-12-31 14:50:30sbtsetrecipients: + sbt, gvanrossum, pitrou, giampaolo.rodola, ezio.melotti, docs@python, serhiy.storchaka
2012-12-31 14:50:30sbtsetmessageid: <1356965430.1.0.329003300148.issue16802@psf.upfronthosting.co.za>
2012-12-31 14:50:30sbtlinkissue16802 messages
2012-12-31 14:50:30sbtcreate