New submission from Raymond Hettinger <rhettin...@users.sourceforge.net>:

Per discussion on python-dev, let Decimal(x) accept floats as a possible input, 
making Decimal.from_float unnecessary.

See attached patch.

----------
assignee: mark.dickinson
files: deci_float_constructor.diff
keywords: easy, patch
messages: 101882
nosy: mark.dickinson, rhettinger
severity: normal
stage: patch review
status: open
title: Decimal constructor to accept float
type: feature request
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file16683/deci_float_constructor.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8257>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to