This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients eric.smith, ezio.melotti, mark.dickinson, martin.panter, rhettinger, scoder, serhiy.storchaka, skrah, tuomas.suutari, wolma
Date 2015-03-30.10:49:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427712582.38.0.692698903373.issue23602@psf.upfronthosting.co.za>
In-reply-to
Content
Regarding Decimal:

  1) The context precision isn't used for formatting.  If you have
     another reason for proposing the optional context argument for
     dec_format(), please open another issue.

  2) There's another problem: The mythical DefaultContext (which
     acts as a template for creating new contexts) affects not only
     new thread-local contexts, but also a new Context()!

     In my opinion this is something we should change: The mechanism
     is fine for thread-local contexts, but Context() should behave
     like a pure function.

  3) The double rounding issues are more tricky than it might seem;
     if we use Decimal for this, perhaps direct support in the module
     would be the cleanest option.
History
Date User Action Args
2015-03-30 10:49:42skrahsetrecipients: + skrah, rhettinger, mark.dickinson, scoder, eric.smith, ezio.melotti, martin.panter, serhiy.storchaka, wolma, tuomas.suutari
2015-03-30 10:49:42skrahsetmessageid: <1427712582.38.0.692698903373.issue23602@psf.upfronthosting.co.za>
2015-03-30 10:49:42skrahlinkissue23602 messages
2015-03-30 10:49:42skrahcreate