[New-bugs-announce] [issue19231] ctype cant's use printf
FreedomKnight
report at bugs.python.org
Sat Oct 12 14:02:49 CEST 2013
New submission from FreedomKnight:
the code is simple, so i paste all of mycode
#!/usr/bin/env python3
from ctypes import *
cdll.LoadLibrary("libc.so.6")
libc = CDLL("libc.so.6")
libc.printf("hello\n")
result:
h
expect result:
hello
plateform:
fedora 19 x64
python3 (3.3.2)
----------
components: ctypes
messages: 199552
nosy: FreedomKnight
priority: normal
severity: normal
status: open
title: ctype cant's use printf
type: crash
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19231>
_______________________________________
More information about the New-bugs-announce
mailing list