Message 125013 - Python tracker (original) (raw)
Hi Ned, thanks for the fast check! I tried to applied the patch (it failed, so it required a bit of manual editing) but when compiling I got:
/home/morph/python-dev/py3k/Modules/timemodule.c: In function ‘time_asctime’: /home/morph/python-dev/py3k/Modules/timemodule.c:626: warning: implicit declaration of function ‘PyString_FromStringAndSize’ /home/morph/python-dev/py3k/Modules/timemodule.c:626: warning: return makes pointer from integer without a cast *** WARNING: renaming "time" since importing it failed: build/lib.linux-x86_64-3.2/time.cpython-32m.so: undefined symbol: PyString_FromStringAndSize
and my knowledge of C ends there :)
Alexander, would you like to revamp your patch? ;)