[issue5074] python3 and ctypes, script causes crash
Poor Yorick
report at bugs.python.org
Tue Jan 27 04:02:25 CET 2009
New submission from Poor Yorick <pooryorick at users.sourceforge.net>:
the following script causes python3 to crash on my Windows XP Pro Machine:
import ctypes
b = ctypes.windll.Kernel32
var1 = 'TEMP'
out = ctypes.create_string_buffer(40)
c = b.GetEnvironmentVariableW(var1,out,40)
print('ones', c, out, out.raw)
print('two: ', dir(out))
----------
assignee: theller
components: ctypes
messages: 80611
nosy: pooryorick, theller
severity: normal
status: open
title: python3 and ctypes, script causes crash
type: crash
versions: Python 3.0
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5074>
_______________________________________
More information about the Python-bugs-list
mailing list