test_process.py # DeprecationWarning: The popen2 module is deprecated. Use the subprocess # module

[email protected] Fri, 28 Aug 2009 09:27:32 -0000
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from truekonrads <[email protected]>:

C:\Documents and Settings\Konrads\My Documents\Twisted\twisted\test\test_process.py:10: DeprecationWarning: The popen2 module is deprecated.  Use the subprocess module.
  import popen2

Patch attached. However, I am getting error from Python 2.5.2 interpreter:
PASSED (skips=8, successes=66)
Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error'" in <bound method Popen.__del__ of <subprocess.Popen object at 0x845d88c>> ignored.

It appears to be a [http://bugs.python.org/issue5099 known bug].


----------
Type     : enhancement
Component: core
Keywords : easy, review
Priority : normal
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/3986