Hi,

I documented the new asyncio.subprocess module. While documenting the
module, I realized that most info are attributes in Process, whereas
they are getter methods in BaseSubprocessTransport (ex:
Process.returncode vs BaseSubprocessTransport.get_returncode()). The
motivation for attributes is to have an API close to subprocess.Popen.

But there is a Process.get_subprocess(): why a method just for this? I
propose to replace it with a read-only "popen" property.

The HTML documentation is generated once a day, it will be available at:
http://docs.python.org/dev/library/asyncio-subprocess.html

Or read the source:
http://hg.python.org/cpython/file/default/Doc/library/asyncio-subprocess.rst

Victor

Reply via email to