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 <[email protected]>
<http://bugs.python.org/issue19231>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com