[issue4812] Junk in the decimals namespace

2009-01-03 Thread Mark Dickinson
Mark Dickinson added the comment: Done (r68191 through r68194). -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue4812] Junk in the decimals namespace

2009-01-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Let's spell them out: _Infinity, _NegativeInfinity, _NaN, and _SignedInfinity. ___ Python tracker ___ ___

[issue4812] Junk in the decimals namespace

2009-01-02 Thread Mark Dickinson
Mark Dickinson added the comment: Fine. Will re-rename in the morning. Are _Inf, _negInf, _NaN and _Infsign okay as they are? ___ Python tracker ___ ___

[issue4812] Junk in the decimals namespace

2009-01-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks. BTW, my preferred new names are _One _Zero and _NegativeOne. Names like dec_n1 are cryptic in places other than where they're defined. ___ Python tracker ___

[issue4812] Junk in the decimals namespace

2009-01-02 Thread Mark Dickinson
Mark Dickinson added the comment: I assume you're referring to Dec_0 and friends? Fixed in the trunk in r68182. Leaving open until I get the chance to merge it to the other branches. -- resolution: -> fixed versions: -Python 2.7 ___ Python track

[issue4812] Junk in the decimals namespace

2009-01-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Mark, it looks like r59144 merely moved these around and that they existed beforehand. Can we go ahead and get them renamed? They are defeating the extensive efforts we've made to keep that namespace free of anything that isn't part of the documented spec.

[issue4812] Junk in the decimals namespace

2009-01-02 Thread Raymond Hettinger
New submission from Raymond Hettinger : In r59144 , a bunch of internal-use constants were dumped in the main namespace. These all need to be prefixed with an underscore. They should be fixed right-away before people start using them. Since they are externally undocumented and since the inte