[Python-checkins] cpython (3.2): Issue #12142: Fixed reference cycle when importing ctypes
meador.inge
python-checkins at python.org
Sun Feb 5 07:29:09 CET 2012
http://hg.python.org/cpython/rev/205da7a19a78
changeset: 74773:205da7a19a78
branch: 3.2
parent: 74770:190826ee0450
user: Meador Inge <meadori at gmail.com>
date: Sat Feb 04 20:36:48 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