Bug 245773

Summary: lang/python3: Missing errno.EDEADLOCK
Product: Ports & Packages Reporter: stefan.witzel
Component: Individual Port(s)Assignee: freebsd-python (Nobody) <python>
Status: New ---    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (python)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

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.