On Mar 23, 2010, at 5:09 AM, Stefan Krah wrote: > > I like the simplicity of having a single signal (e.g. CoercionError), but > a strictness context flag could offer greater control for people who only > want pure decimal/integer operations. > > > For example: > > strictness 0: completely promiscuous behaviour > > strictness 1: current py3k behaviour > > strictness 2: current py3k behaviour + pure equality comparisons > > strictness 3: current py3k behaviour + pure equality comparisons + > disallow NaN equality comparisons [1] > The decimal module is already drowning in complexity, so it would be best to keep it simple: one boolean flag that if set would warn about any implicit decimal/float interaction. Raymond
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4