Mark Dickinson added the comment:

> Mark, was there perhaps a reason not to add the method?

In the past, there's been a desire to keep the decimal module minimal in scope, 
implementing little more than what's required for the specification. A number 
of proposed additions have been rejected on this basis.

Ah, and now I read Stefan's reference to #8947. I'm not sure anything has 
really changed since that discussion.

Count me as -0E0 on the proposal.

Off-topic: I wonder whether `int.as_integer_ratio` should be implemented (for 
the same reasons that `int.numerator`, `int.real` and so on are).

----------

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

Reply via email to