You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
diff -up Python-3.2.3/Lib/ctypes/__init__.py.rhbz814391 Python-3.2.3/Lib/ctypes/__init__.py
|
|
|
|
--- Python-3.2.3/Lib/ctypes/__init__.py.rhbz814391 2012-04-20 15:12:49.017867692 -0400
|
|
|
|
+++ Python-3.2.3/Lib/ctypes/__init__.py 2012-04-20 15:15:09.501111408 -0400
|
|
|
|
@@ -275,11 +275,6 @@ def _reset_cache():
|
|
|
|
# _SimpleCData.c_char_p_from_param
|
|
|
|
POINTER(c_char).from_param = c_char_p.from_param
|
|
|
|
_pointer_type_cache[None] = c_void_p
|
|
|
|
- # XXX for whatever reasons, creating the first instance of a callback
|
|
|
|
- # function is needed for the unittests on Win64 to succeed. This MAY
|
|
|
|
- # be a compiler bug, since the problem occurs only when _ctypes is
|
|
|
|
- # compiled with the MS SDK compiler. Or an uninitialized variable?
|
|
|
|
- CFUNCTYPE(c_int)(lambda: None)
|
|
|
|
|
|
|
|
def create_unicode_buffer(init, size=None):
|
|
|
|
"""create_unicode_buffer(aString) -> character array
|