Skip to content

Commit

Permalink
Merge pull request #1 from leojay/leojay-patch-1
Browse files Browse the repository at this point in the history
Fix a crash in pypy.
  • Loading branch information
leojay committed Oct 19, 2020
2 parents e0f6b0d + 9da6267 commit bb4f526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trio/_core/_wakeup_socketpair.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .. import _core
from .._util import is_main_thread

if sys.version_info >= (3, 7):
if sys.version_info >= (3, 7) and '__pypy__' not in sys.builtin_module_names:
HAVE_WARN_ON_FULL_BUFFER = True
else:
HAVE_WARN_ON_FULL_BUFFER = False
Expand Down

0 comments on commit bb4f526

Please sign in to comment.