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 aleax
Recipients
Date 2001-06-17.13:04:55
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
D:\py21>python
Python 2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit 
(Intel)] on win32
Type "copyright", "credits" or "license" for more 
information.
>>> import rexec
>>> r=rexec.RExec()
>>> x=r.r_eval('2+2')
>>> print x
4
>>> x=r.s_eval('2+2')
>>> print x
None
>>>

Cause: method s_apply lacks a 'return r' at the end, 
and all the other s_* methods should be 'return 
self.s_apply(...' but are in fact lacking the return 
keyword (they just call s_apply but ignore its result).


Alex
History
Date User Action Args
2007-08-23 13:54:52adminlinkissue433904 messages
2007-08-23 13:54:52admincreate