Hello, Andi.

>> well, i have found that I can use float(-1e3000) as -infinity value,
>> but when I pass it to TopFieldDocs constructor I get InvalidArgsError:
AV> According to google, you should be able to say: float('-infinity')

Yeah :) But the problem is that the expression float('infinity') works on some
platforms, along with float('Inf'), but, as the PEP points out, on
many systems we'll just get an error.

http://www.python.org/dev/peps/pep-0754/

anyway, thanks for pointing this issue :)
--
Yura Smolsky,
http://altervisionmedia.com/


_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to