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

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).