On Wednesday 26 May 2010 16:18:09 Pavel Sanda wrote: > > 5/2 == 2 > > 5/2 == 2.5 (as much as equality tests are appropriate for floating point > > ouch. i thought its just about syntax sugar, now i agree we shouldn't try > to support multiple versions...
Actually now that I think and research more about this particular problem we can get away with since the from __future__ import division works since python 2.2 (and we only support versions later than 2.3.4). The point was more that we need to test this carefully to assure that there are no "subtle" bugs. I am not saying that it can not be done, it can but it requires more work than a simple patch. > pavel -- José Abílio