[Python-Dev] warning in _localemodule.c patch
Jeremy Hylton
jeremy@zope.com
Fri, 7 Sep 2001 13:33:59 -0400 (EDT)
>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:
>> The other option is to cast the pointer in the call to free().
GvR> Sounds like the better solution.
GvR> Publicly, it's a const. Privately, you happen to malloc() and
GvR> free() it.
I'm not sure about the intersection of all the ifdefs. Is it possible
to execute the new code in the localmodule on Win32? I was looking at
the first value which is the literal "mbcs", which shouldn't be passed
to free.
Jeremy