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 JelleZijlstra
Recipients JelleZijlstra, brett.cannon, ethan.furman, python-dev, serhiy.storchaka
Date 2016-06-04.22:59:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465081174.51.0.735839424614.issue27182@psf.upfronthosting.co.za>
In-reply-to
Content
If we do that, then os.* functions that accept fds would also work on objects whose __fspath__ method returns an integer. I don't think that is desirable (I was just writing a test to ensure that fspath returning an integer throws an error).
History
Date User Action Args
2016-06-04 22:59:34JelleZijlstrasetrecipients: + JelleZijlstra, brett.cannon, ethan.furman, python-dev, serhiy.storchaka
2016-06-04 22:59:34JelleZijlstrasetmessageid: <1465081174.51.0.735839424614.issue27182@psf.upfronthosting.co.za>
2016-06-04 22:59:34JelleZijlstralinkissue27182 messages
2016-06-04 22:59:34JelleZijlstracreate