As discussed in the comment thread on this issue / PR:
https://github.com/scikit-learn/scikit-learn/pull/1566
It was proposed to add a
from __future__ import division
to each an every non-empty `.py` file in the codebase to have a
project-wide consistent semantics for the `/` operator on integers.
What do you think?
We could also discuss the opportunity to add other future imports such as:
from __future__ import print_function
But AFAIK this is only useful when using multiple arguments such as:
print(a, b, c)
which we don't tend to do inside the project as far as I know.
--
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general