Message1652

Author amak
Recipients
Date 2007-06-26.18:58:49
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I see the problem, thanks for reporting it.

It is in the new socket module, caused by a missing entry in the java->cpython exception map.

It is easy to fix, at least in terms of exception mapping. I have fixed the code to produce the correct pythonic exception in this circumstance.

However, I can't find the symbolic constant that represents the errno for the exception.

The error number given above in the cpython log shows an errno of 11001. I get the same error number when I run the code on windows cpython 2.5.

But there is no SYMBOLIC_CONSTANT in the errno module that corresponds to errno 11001?

Do you know what the correct errno symbolic constant is for that cpython (11001, "getaddrinfo failed") exception?
History
Date User Action Args
2008-02-20 17:17:51adminlinkissue1742770 messages
2008-02-20 17:17:51admincreate