[howard_b_golden@yahoo.com: Re: [twill] The wonders of twill's run command]

11 views
Skip to first unread message

C. Titus Brown

unread,
Mar 30, 2009, 5:12:45 PM3/30/09
to twill-dev
----- Forwarded message from "Howard B. Golden" <howard_...@yahoo.com> -----

X-Mailer: YahooMailRC/1277.32 YahooMailWebService/0.7.289.1
Date: Wed, 25 Mar 2009 07:31:19 -0700 (PDT)
From: "Howard B. Golden" <howard_...@yahoo.com>
Subject: Re: [twill] The wonders of twill's run command
To: ti...@idyll.org


Hi Titus,

You wrote:

> What specific object types were you?thinking of?

Suppose I set a twill variable in Python to an integer. If I echo it currently, it fails because it isn't a string. If the "str" were changed to "repr", it would succeed.

??? Example:

??? ??? run "x=1"
??? ??? echo $x
??????? # this fails with: INPUT ERROR: 'int' object has no attribute 'replace'

Question to be answered: Will "repr" do the same thing as "str" for a string object? (If so, then this proposed change should be transparent to current uses.)

Best regards,

Howard

----- End forwarded message -----

--
C. Titus Brown, c...@msu.edu

Reply all
Reply to author
Forward
0 new messages