[Python-Dev] New Unicode Snapshot
Fredrik Lundh
fredrik@pythonware.com
Tue, 8 Feb 2000 16:04:42 +0100
M.-A. Lemburg wrote:
> Should I add these, Guido ? -- I'd rather stick with predefined
> macros than cook my own.
> The AC_C_INLINE would be esp. interesting here:
> I think this could be used a lot for those tiny function which
> just apply a type check and then return some object attribute
> value.
umm. since inline isn't really part of ANSI C, that
means that you'll end up having possibly non-inlined
code in header files, right?
(I use inline agressively inside modules, except for
really critical things that absolutely definitively must
be inlined -- look in PIL to see what I mean...)
> The AC_C_CONST frightens me a bit: the Unicode code uses "const"
> a lot to make sure compilers can do the right optimizations. Are
> there compilers out there which do not handle "const" correctly ?
not sure about this; I just copied the list from PIL, and
should probably have left this one out.
I've don't think I've ever used it, and afaik, 1.6 will no longer
support non-ANSI compilers anyway...
</F>