From nobody Thu Sep 16 12:54:00 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 C68BB17B2E91
	for <python@mlmmj.nyi.freebsd.org>; Thu, 16 Sep 2021 12:54:00 +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 4H9H8S5BWbz4Zd6
	for <python@FreeBSD.org>; Thu, 16 Sep 2021 12:54:00 +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 916D421D26
	for <python@FreeBSD.org>; Thu, 16 Sep 2021 12:54:00 +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 18GCs0jw033627
	for <python@FreeBSD.org>; Thu, 16 Sep 2021 12:54:00 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 18GCs0xh033626
	for python@FreeBSD.org; Thu, 16 Sep 2021 12:54:00 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 12:54:00 +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: arrowd@FreeBSD.org
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-xJXUHaKrUT@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 #3 from Gleb Popov <arrowd@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 expe=
cted.

And what's expected in this case? I, for example, expect an undefined const=
ant,
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 avai=
lable 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 somethin=
g,
the right thing is to open a PR on the Python bug tracker.

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