[Python-Dev] fork or exec?

Charles-François Natali cf.natali at gmail.com
Thu Jan 10 21:30:38 CET 2013


> How would that sit with the current proposal? I maintain a wrapper,
> python-gnupg,
> which communicates with the GnuPG process through subprocess. Although there
> is
> no in-built use of these parameters, users are allowed to pass additional
> parameters to GnuPG, and they might use these esoteric GnuPG options.

Since you use subprocess, file descriptor passing to gnupg doesn't
work since Subproces.Popen changed close_fds default to True (in 3.2)
(which was the right decision, IMO).


More information about the Python-Dev mailing list