Movatterモバイル変換


[0]ホーム

URL:


homepage

Message270426

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Authornascheme
RecipientsSilentGhost, martin.panter, nascheme
Date2016-07-14.17:19:36
SpamBayes Score-1.0
Marked as misclassifiedYes
Message-id<1468516776.5.0.561829363878.issue27377@psf.upfronthosting.co.za>
In-reply-to
Content
I just tested on Windows.  fdtype() fails with:OSError: [WinError 10022] An invalid argument was suppliedThe getsockname() call fails with WSAGetLastError() == 10022.  getsockname() is used to find the address family.  Perhaps there is some other way to get it on Windows.The easiest fix would be to #ifdef MS_WINDOWS out the whole socket_fdtype() function.  Passing file descriptors around is not a thing on Windows anyhow.There is still the issue of unexpected errors getting returned inside fdtype() (e.g. as suggested by Martin).  One idea is to commit the code as is and fix errors as they appear.
History
DateUserActionArgs
2016-07-14 17:19:36naschemesetrecipients: +nascheme,SilentGhost,martin.panter
2016-07-14 17:19:36naschemesetmessageid: <1468516776.5.0.561829363878.issue27377@psf.upfronthosting.co.za>
2016-07-14 17:19:36naschemelinkissue27377 messages
2016-07-14 17:19:36naschemecreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp