An interpreted, interactive, object-oriented programming language
CentOS Sources
2017-08-01 71084d584ff953f5463757ec6536406320560b4d
commit | author | age
6e8c2f 1 diff -up Python-2.7.3/Lib/ctypes/__init__.py.rhbz814391 Python-2.7.3/Lib/ctypes/__init__.py
CB 2 --- Python-2.7.3/Lib/ctypes/__init__.py.rhbz814391    2012-04-20 14:51:19.390990244 -0400
3 +++ Python-2.7.3/Lib/ctypes/__init__.py    2012-04-20 14:51:45.141668316 -0400
4 @@ -272,11 +272,6 @@ def _reset_cache():
5      # _SimpleCData.c_char_p_from_param
6      POINTER(c_char).from_param = c_char_p.from_param
7      _pointer_type_cache[None] = c_void_p
8 -    # XXX for whatever reasons, creating the first instance of a callback
9 -    # function is needed for the unittests on Win64 to succeed.  This MAY
10 -    # be a compiler bug, since the problem occurs only when _ctypes is
11 -    # compiled with the MS SDK compiler.  Or an uninitialized variable?
12 -    CFUNCTYPE(c_int)(lambda: None)
13  
14  try:
15      from _ctypes import set_conversion_mode