public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* Concerning Python patch 3.6.12-socketmodule.patch
@ 2022-11-08  7:07 Mark Geisert
  2023-02-11  6:41 ` Concerning Python patch 3.6.12-socketmodule.patch -- ping Marco Mark Geisert
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Geisert @ 2022-11-08  7:07 UTC (permalink / raw)
  To: cygwin-apps

Hi Marco,
Recently there's been a complaint about that patch on the Cygwin mailing list. 
The patch was meant to allow same-machine communication between Cygwin Python 
programs via an AF_UNIX socket.  The patch works because both ends of the 
connection are Python programs that have the patch.

The problem reported by the user is that when a Python program attempts to 
communicate with ssh-agent, the connection freezes.  This is due to the above 
patch being applied only to the Python end (of course).

Given that we need the patch for Python build tests, could you handle an 
environment variable setting to choose the behavior of the patch?
In other words. a revised patch would consult an environment variable 
PYTHON_NET_DISABLE_CREDENTIALS to decide whether to do what the current patch 
does.  I guess the pythonXX.cygport file would have to define that env var.

Does that sound like a workable scheme to you?
Thanks,

..mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Concerning Python patch 3.6.12-socketmodule.patch -- ping Marco
  2022-11-08  7:07 Concerning Python patch 3.6.12-socketmodule.patch Mark Geisert
@ 2023-02-11  6:41 ` Mark Geisert
  2023-02-14 21:25   ` Marco Atzeri
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Geisert @ 2023-02-11  6:41 UTC (permalink / raw)
  To: Cygwin-Apps

Hi Marco,
When I said "could you handle" I meant I would author the revised patch, test it 
locally, and pass it on to you to integrate into the Cygwin Python packages.  Does 
that sound workable to you?
Thank you,

..mark

-------- Forwarded Message --------
Subject: Concerning Python patch 3.6.12-socketmodule.patch
Date: Mon, 7 Nov 2022 23:07:02 -0800
From: Mark Geisert <mark@maxrnd.com>
To: cygwin-apps@cygwin.com

Hi Marco,
Recently there's been a complaint about that patch on the Cygwin mailing list. The 
patch was meant to allow same-machine communication between Cygwin Python programs 
via an AF_UNIX socket.  The patch works because both ends of the connection are 
Python programs that have the patch.

The problem reported by the user is that when a Python program attempts to 
communicate with ssh-agent, the connection freezes.  This is due to the above 
patch being applied only to the Python end (of course).

Given that we need the patch for Python build tests, could you handle an 
environment variable setting to choose the behavior of the patch?
In other words. a revised patch would consult an environment variable 
PYTHON_NET_DISABLE_CREDENTIALS to decide whether to do what the current patch 
does.  I guess the pythonXX.cygport file would have to define that env var.

Does that sound like a workable scheme to you?
Thanks,

..mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Concerning Python patch 3.6.12-socketmodule.patch -- ping Marco
  2023-02-11  6:41 ` Concerning Python patch 3.6.12-socketmodule.patch -- ping Marco Mark Geisert
@ 2023-02-14 21:25   ` Marco Atzeri
  0 siblings, 0 replies; 3+ messages in thread
From: Marco Atzeri @ 2023-02-14 21:25 UTC (permalink / raw)
  To: cygwin-apps

On 11.02.2023 07:41, Mark Geisert via Cygwin-apps wrote:
> Hi Marco,
> When I said "could you handle" I meant I would author the revised patch, 
> test it locally, and pass it on to you to integrate into the Cygwin 
> Python packages.  Does that sound workable to you?
> Thank you,
> 
> ..mark
> 

no objection

Regards

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-14 21:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-08  7:07 Concerning Python patch 3.6.12-socketmodule.patch Mark Geisert
2023-02-11  6:41 ` Concerning Python patch 3.6.12-socketmodule.patch -- ping Marco Mark Geisert
2023-02-14 21:25   ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).