[Python-checkins] cpython (merge 3.2 -> default): Issue #12142: Fixed reference cycle when importing ctypes
meador.inge
python-checkins at python.org
Sun Feb 5 07:29:39 CET 2012
http://hg.python.org/cpython/rev/b228d9da8bd3
changeset: 74774:b228d9da8bd3
parent: 74772:d2c1521ad0a1
parent: 74773:205da7a19a78
user: Meador Inge <meadori at gmail.com>
date: Sat Feb 04 20:38:20 2012 -0600
summary:
Issue #12142: Fixed reference cycle when importing ctypes
files:
Lib/ctypes/_endian.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/ctypes/_endian.py b/Lib/ctypes/_endian.py
--- a/Lib/ctypes/_endian.py
+++ b/Lib/ctypes/_endian.py
@@ -1,7 +1,7 @@
import sys
from ctypes import *
-_array_type = type(c_int * 3)
+_array_type = type(Array)
def _other_endian(typ):
"""Return the type with the 'other' byte order. Simple types like
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list