poss. naming inconsistency: fractions
Hi, In Py30a3 the rational module seems to have been renamed 'fractions'. This module provides an additional numeric data type "fractions.Fraction". But there is an existing module that provides a numeric data type: "decimal.Decimal". Wouldn't it be more consistent to have "fraction.Fraction" to match? -- Mark Summerfield, Qtrac Ltd., www.qtrac.eu
Guido suggested fractions in http://bugs.python.org/msg62254. On Mon, Mar 3, 2008 at 2:46 AM, Mark Summerfield <mark@qtrac.eu> wrote:
Hi,
In Py30a3 the rational module seems to have been renamed 'fractions'. This module provides an additional numeric data type "fractions.Fraction". But there is an existing module that provides a numeric data type: "decimal.Decimal". Wouldn't it be more consistent to have "fraction.Fraction" to match?
-- Mark Summerfield, Qtrac Ltd., www.qtrac.eu
_______________________________________________ stdlib-sig mailing list stdlib-sig@python.org http://mail.python.org/mailman/listinfo/stdlib-sig
-- Namasté, Jeffrey Yasskin http://jeffrey.yasskin.info/
On Mon, Mar 3, 2008 at 6:41 AM, Jeffrey Yasskin <jyasskin@gmail.com> wrote:
Guido suggested fractions in http://bugs.python.org/msg62254.
On Mon, Mar 3, 2008 at 2:46 AM, Mark Summerfield <mark@qtrac.eu> wrote:
Hi,
In Py30a3 the rational module seems to have been renamed 'fractions'. This module provides an additional numeric data type "fractions.Fraction". But there is an existing module that provides a numeric data type: "decimal.Decimal". Wouldn't it be more consistent to have "fraction.Fraction" to match?
I agree with Guido. 'decimals' just sounds weird. But 'fractions' is fine. -Brett
participants (3)
-
Brett Cannon
-
Jeffrey Yasskin
-
Mark Summerfield