[Python-Dev] decimal.py signals & traps (original) (raw)

Jewett, Jim J jim.jewett at eds.com
Mon Jul 12 16:43:00 CEST 2004


Raymond writes:

I would like change the Context constructor API to [...] (list only the flags and traps that you want set).

I assume there will still be a reasonable way to say both

"Keep the context just as it is, but turn off flag/trap X" "Keep the context just as it is, but turn on flag/trap X"

The easiest might be to just ensure that there is an easy way to list current settings (despite the privacy of the dict).

-jJ



More information about the Python-Dev mailing list