Issue2432

classification
Title: Invalid literal for Decimal: '-Inf'
Type: Severity: normal
Components: Versions: Jython 2.7
Milestone: Jython 2.7.1
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: darjus Nosy List: darjus
Priority: Keywords:

Created on 2015-11-21.05:23:09 by darjus, last changed 2015-11-21.05:30:03 by darjus.

Messages
msg10490 (view) Author: Darjus Loktevic (darjus) Date: 2015-11-21.05:23:09
import decimal
  File "/Users/darjus/Documents/jython/dist/Lib/decimal.py", line 6154, in <module>
    _NegativeInfinity = Decimal('-Inf')
  File "/Users/darjus/Documents/jython/dist/Lib/decimal.py", line 555, in __new__
    return context._raise_error(ConversionSyntax,
  File "/Users/darjus/Documents/jython/dist/Lib/decimal.py", line 3862, in _raise_error
    raise error(explanation)
InvalidOperation: Invalid literal for Decimal: '-Inf'
msg10491 (view) Author: Darjus Loktevic (darjus) Date: 2015-11-21.05:30:03
Sorry, the underlying issue was in re and I've since fixed that :)
History
Date User Action Args
2015-11-21 05:30:03darjussetstatus: open -> closed
resolution: invalid
messages: + msg10491
2015-11-21 05:23:10darjuscreate