Skip to content

Commit bb4f526

Browse files
authored
Merge pull request #1 from leojay/leojay-patch-1
Fix a crash in pypy.
2 parents e0f6b0d + 9da6267 commit bb4f526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trio/_core/_wakeup_socketpair.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from .. import _core
77
from .._util import is_main_thread
88

9-
if sys.version_info >= (3, 7):
9+
if sys.version_info >= (3, 7) and '__pypy__' not in sys.builtin_module_names:
1010
HAVE_WARN_ON_FULL_BUFFER = True
1111
else:
1212
HAVE_WARN_ON_FULL_BUFFER = False

0 commit comments

Comments
 (0)