Message130588
> > - why the "#ifndef NDEBUG" path?
> These entries in the table should not be used, but if something slips
> through and uses one of them, it's much easier to tell if we remap to
> invalid value. As this is an internal check, I didn't want it in
> release mode. If this is deemed unnecessary or confusing I can remove
> it.
I think it is confusing indeed. If you want to do a check in debug mode
only, just use assert() (and perhaps add a comment if the check doesn't
look obvious). |
|
| Date |
User |
Action |
Args |
| 2011-03-11 16:52:59 | pitrou | set | recipients:
+ pitrou, rhettinger, mark.dickinson, eltoder |
| 2011-03-11 16:52:58 | pitrou | link | issue11462 messages |
| 2011-03-11 16:52:58 | pitrou | create | |
|