Is pyton for me?

Andrew Dalke dalke at dalkescientific.com
Fri Jun 10 11:23:58 EDT 2005


Kent Johnson wrote:
> Where do you find check_call()? It's not in the docs and I get
>  >>> import subprocess
>  >>> subprocess.check_call
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> AttributeError: 'module' object has no attribute 'check_call'
> 
> with Python 2.4.1.

Interesting.  I got my subprocess.py from CVS.  The CVS log

revision 1.12
date: 2005/01/01 09:36:34;  author: astrand;  state: Exp;  lines: +39 -1
New subprocess utility function: check_call. Closes #1071764.

The bug tracker is
  http://sourceforge.net/tracker/index.php?func=detail&aid=1071764&group_id=5470&atid=305470

which says it's a 2.5ism.  Oops!  Sorry about that post
from the future.  I didn't realize it.

				Andrew
				dalke at dalkescientific.com




More information about the Python-list mailing list