From nobody Thu Sep 16 13:11:19 2021
X-Original-To: python@mlmmj.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
	by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EF99517BA60A
	for <python@mlmmj.nyi.freebsd.org>; Thu, 16 Sep 2021 13:11:19 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
	 client-signature RSA-PSS (4096 bits) client-digest SHA256)
	(Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 4H9HXR6QCVz4fM6
	for <python@FreeBSD.org>; Thu, 16 Sep 2021 13:11:19 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BD22B22130
	for <python@FreeBSD.org>; Thu, 16 Sep 2021 13:11:19 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org ([127.0.1.5])
	by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 18GDBJOk040945
	for <python@FreeBSD.org>; Thu, 16 Sep 2021 13:11:19 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 18GDBJ9W040944
	for python@FreeBSD.org; Thu, 16 Sep 2021 13:11:19 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
From: bugzilla-noreply@freebsd.org
To: python@FreeBSD.org
Subject: [Bug 245773] lang/python3: Missing errno.EDEADLOCK
Date: Thu, 16 Sep 2021 13:11:19 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Individual Port(s)
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Many People
X-Bugzilla-Who: wjw@digiware.nl
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: python@FreeBSD.org
X-Bugzilla-Flags: maintainer-feedback?
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-245773-21822-eQk1zAs1kT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245773-21822@https.bugs.freebsd.org/bugzilla/>
References: <bug-245773-21822@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-python
List-Help: <mailto:python+help@freebsd.org>
List-Post: <mailto:python@freebsd.org>
List-Subscribe: <mailto:python+subscribe@freebsd.org>
List-Unsubscribe: <mailto:python+unsubscribe@freebsd.org>
Sender: owner-freebsd-python@freebsd.org
X-BeenThere: freebsd-python@freebsd.org
MIME-Version: 1.0
X-ThisMailContainsUnwantedMimeParts: N

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245773

--- Comment #4 from Willem Jan Withagen <wjw@digiware.nl> ---
(In reply to Gleb Popov from comment #3)
>> But it would be a lot more conveinient if it did exist and worked as exp=
ected.

> And what's expected in this case? I, for example, expect an undefined con=
stant, because FreeBSD doesn't have EDEADLOCK code.

On FreeBSD I would errno.EDEADLOCK to be 11....

Like I said, that does not fix the problem of the submitter.

We can call it whatever we want, but fixing this will cause less python cod=
e to
crash on first execution, where then the user dives into the python code and
does something to handle the lack of.
Be it comment it out, if-def-ignore or whatever.

And yes you are probably correct in suggestiing that this might have a bett=
er
place at the python code itself.
(Not to speak of getting it in cython)

--=20
You are receiving this mail because:
You are the assignee for the bug.=