This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients chortos, petri.lehtinen, vstinner
Date 2011-05-26.11:07:48
SpamBayes Score 0.0578601
Marked as misclassified No
Message-id <>
We can use a class attribute to set the attribute before calling __init__:

diff --git a/Lib/ b/Lib/
--- a/Lib/
+++ b/Lib/
@@ -664,6 +664,8 @@ _PLATFORM_DEFAULT_CLOSE_FDS = object()
 class Popen(object):
+    _child_created = False
     def __init__(self, args, bufsize=0, executable=None,
                  stdin=None, stdout=None, stderr=None,
                  preexec_fn=None, close_fds=_PLATFORM_DEFAULT_CLOSE_FDS,
Date User Action Args
2011-05-26 11:07:49vstinnersetrecipients: + vstinner, chortos, petri.lehtinen
2011-05-26 11:07:49vstinnersetmessageid: <>
2011-05-26 11:07:48vstinnerlinkissue12085 messages
2011-05-26 11:07:48vstinnercreate