close

ImageImage

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pooryorick
Recipients pooryorick, theller
Date 2009-01-27.03:02:23
SpamBayes Score 0.048126966
Marked as misclassified No
Message-id <1233025345.07.0.118465005013.issue5074@psf.upfronthosting.co.za>
In-reply-to
Content
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))
History
Date User Action Args
2009-01-27 03:02:25pooryoricksetrecipients: + pooryorick, theller
2009-01-27 03:02:25pooryoricksetmessageid: <1233025345.07.0.118465005013.issue5074@psf.upfronthosting.co.za>
2009-01-27 03:02:23pooryoricklinkissue5074 messages
2009-01-27 03:02:23pooryorickcreate