https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245773
--- Comment #3 from Gleb Popov <arr...@freebsd.org> --- (In reply to Willem Jan Withagen from comment #2) > But it would be a lot more conveinient if it did exist and worked as expected. And what's expected in this case? I, for example, expect an undefined constant, because FreeBSD doesn't have EDEADLOCK code. > Then again Python claims that it errno.EDEADLOCK is there, Actually, at the top of https://docs.python.org/3/library/errno.html there is a following sentence: > Of the following list, symbols that are not used on the current platform are > not defined by the module. The specific list of defined symbols is available > as errno.errorcode.keys(). I think there is no bug here. At least, no FreeBSD-specific one. If the reporter believes that EDEADLOCK should be automatically mapped to something, the right thing is to open a PR on the Python bug tracker. -- You are receiving this mail because: You are the assignee for the bug.