On Tue, Jan 31, 2012 at 7:13 AM, Antoine Pitrou <solip...@pitrou.net> wrote: > On Tue, 31 Jan 2012 21:11:37 +1000 > Nick Coghlan <ncogh...@gmail.com> wrote: >> >> Having a low-level module like os needing to know about higher-level >> types like decimal.Decimal and datetime.datetime (or even timedelta) >> should be setting off all kinds of warning bells. > > Decimal is ideally low-level (it's a number), it's just that it has a > complicated high-level implementation :)
FWIW, my vote is also for Decimal and against datetime or timedelta. (I dream of Decimal replacing float in Python 4000, so take my vote with an appropriate amount of salt. :-) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com