[Python-checkins] cpython (2.7): Issue #12142: Fixed reference cycle when importing ctypes
meador.inge
python-checkins at python.org
Sun Feb 5 07:30:11 CET 2012
http://hg.python.org/cpython/rev/7cdbf627f958
changeset: 74775:7cdbf627f958
branch: 2.7
parent: 74769:e73d549b7458
user: Meador Inge <meadori at gmail.com>
date: Sun Feb 05 00:27:40 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
@@ -4,7 +4,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