From 2595906a21613de5726fdf1b3bc7b12e6a828beb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionel=20Cristian=20M=C4=83rie=C8=99?= Date: Wed, 4 Jan 2023 18:52:41 +0200 Subject: [PATCH] Turns out the simple implementation is faster on Python 3 so default to that when falling back to pure python. --- src/lazy_object_proxy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lazy_object_proxy/__init__.py b/src/lazy_object_proxy/__init__.py index c354bcc..954c8c4 100644 --- a/src/lazy_object_proxy/__init__.py +++ b/src/lazy_object_proxy/__init__.py @@ -11,7 +11,7 @@ from .cext import Proxy from .cext import identity except ImportError: - from .slots import Proxy + from .simple import Proxy else: copyreg.constructor(identity)