[Python-checkins] r46546 - python/trunk/Objects/dictobject.c

Neal Norwitz nnorwitz at gmail.com
Tue May 30 07:12:33 CEST 2006


On 5/29/06, Tim Peters <tim.peters at gmail.com> wrote:
> > Author: neal.norwitz
> > Date: Tue May 30 06:25:05 2006
> > New Revision: 46546
> >
> > Modified:
> >    python/trunk/Objects/dictobject.c
> > Log:
> > Use Py_SAFE_DOWNCAST for safety.
>
> It's not needed here, and this will actually cause debug-build failures:

I first noticed it wasn't needed when I was reviewing my own checkin.
:-)  I fixed (removed) it.  I see you fixed another place that
required a cast, shouldn't that really use Py_SAFE_DOWNCAST?

n


More information about the Python-checkins mailing list