[issue9136] RuntimeError when profiling Decimal

Stefan Krah report at bugs.python.org
Thu Jul 1 22:10:13 CEST 2010


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

Mark, good point about 2.3 compatibility. The unit tests diverge quite a
bit though between 2.5, 2.6 and 2.7.

I like {s: 0 for s in _signals} slightly better here (but I like
dict/list comprehensions in general).


So, the new patch still sets the flags/traps sections apart, doesn't
use the ternary construct and uses traps.copy().


IOW, I only painted the door blue. ;)

----------
Added file: http://bugs.python.org/file17830/issue9136-blue-bikeshed-2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9136>
_______________________________________


More information about the Python-bugs-list mailing list