Strategies when hunting for dictionary corruption

Skip Montanaro skip.montanaro at gmail.com
Tue Feb 7 15:24:56 EST 2017


Thanks all. I am stuck on 2.7 for the foreseeable future, so the
DEBUG_PYDICT won't help. I think we're set though. for the moment, we
seem to have moved past that bug (might have just been ordering in the
pybind11 wrapper).

Skip

On Tue, Feb 7, 2017 at 12:35 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
> On 02/06/2017 04:56 AM, Skip Montanaro wrote:
>
>> I'm wrapping some C++ libraries using pybind11.
>
>
> I asked one of the core-devs about it, and he suggested:
>
>> Python 3.6 got a new C define in Objects/dictobjet.c
>> which might help to track the bug:
>>
>> /* Uncomment to check the dict content in _PyDict_CheckConsistency() */
>> /* #define DEBUG_PYDICT */
>>
>> Uncomment and recompile Python (in debug mode).
>>
>> Victor
>
>
> --
> ~Ethan~
> --
> https://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list