Bug 245773 - lang/python3: Missing errno.EDEADLOCK
Summary: lang/python3: Missing errno.EDEADLOCK
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-python (Nobody)
Depends on:
Reported: 2020-04-20 19:45 UTC by stefan.witzel
Modified: 2020-04-20 19:45 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (python)


Note You need to log in before you can comment on or make changes to this bug.
Description stefan.witzel 2020-04-20 19:45:23 UTC
In the Python module errno the constant errno.EDEADLOCK is missing. According to the Python documentation EDEADLOCK is part of the module.

The problem occurs when a process on a remote host runnning an OS as Linux returns EDEADLOCK.  (I know EDEADLOCK is not Posix compatible and the Linux documentations says and it's synonym for EDEADLK, but Python allows to use it.)

I think a mapping from EDEADLOCK to EDEADLK would be sufficent to solve the problem.