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 mark.dickinson
Recipients facundobatista, mark.dickinson, rhettinger, skrah
Date 2010-05-22.10:18:13
SpamBayes Score 0.10752229
Marked as misclassified No
Message-id <>
> 1) c = Decimal64Context
> 2) c = Context(Decimal64)

Rather that complicating the Context constructor, I'd prefer a separate factory function.  I was thinking of something like:

def IEEEContext(n):
    """Return the decimal<n> IEEE 754 context.  n should be a multiple
    of 32."""

Again, it's clear with this that you get a new context object (I agree that there are problems with (1) and the mutability of Contexts).
Date User Action Args
2010-05-22 10:18:15mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, facundobatista, skrah
2010-05-22 10:18:15mark.dickinsonsetmessageid: <>
2010-05-22 10:18:14mark.dickinsonlinkissue8540 messages
2010-05-22 10:18:14mark.dickinsoncreate