A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-September/028872.html below:

[Python-Dev] Assign to errno allowed?

[Python-Dev] Assign to errno allowed? [Python-Dev] Assign to errno allowed?Guido van Rossum guido@python.org
Tue, 24 Sep 2002 10:16:39 -0400
> I'm trying to fix selectmodule.c on Windows (it raises
> bogus exceptions, because select() on Windows does not
> set errno).

Are you *sure* about that?

> The first patch I had was this:
[...]
> but PyErr_SetExcFromWindowsErr is not present in the 2.2
> maintainance branch. An easier fix would be this one, but
> I wonder if it is allowed/good style to set 'errno':

Yes, assignment to errno is fine.

--Guido van Rossum (home page: http://www.python.org/~guido/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4