Roundup Tracker - Issues

Message3753

Author ber
Recipients ajaksu2, ber, richard, schlatterbeck, tobias-herp
Date 2009-07-08.11:24:08
Message-id <1247052248.4.0.677274006867.issue1182919@psf.upfronthosting.co.za>
In-reply-to
Tobias,
I've simplified your warning case further, maybe it helps:
$ python
Python 2.5.2 (r252:60911, Jan  4 2009, 17:40:26)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from intrange import makefilter, ExpressionError
>>> makefilter("<8 and or >1")
Exception exceptions.RuntimeError: 'generator ignored GeneratorExit' in 
<generator object at 0xb7db2fec> ignored
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "workbench/numbers/intrange.py", line 235, in makefilter
    expr, varname = expressify(s)
  File "workbench/numbers/intrange.py", line 188, in expressify
    for newtype, token in completed(s):
  File "workbench/numbers/intrange.py", line 146, in completed
    % (token, newtype))
intrange.ExpressionError: 2nd token of same type (or, 2)
>>>
History
Date User Action Args
2009-07-08 11:24:08bersetmessageid: <1247052248.4.0.677274006867.issue1182919@psf.upfronthosting.co.za>
2009-07-08 11:24:08bersetrecipients: + ber, richard, schlatterbeck, tobias-herp, ajaksu2
2009-07-08 11:24:08berlinkissue1182919 messages
2009-07-08 11:24:08bercreate