Closed
Description
- uvloop version: master
- Python version: 3.7.0rc1
- Platform: Linux (Fedora 29), 32bit only (both i383 and armv7hl)
- Can you reproduce the bug with
PYTHONASYNCIODEBUG
in env?: yes
The test suite fails on Python 3.7 on 32bit Linux.
It's a couple of errors (256) but it look like all are related to:
Traceback (most recent call last):
File "/builddir/uvloop/uvloop/_testbase.py", line 81, in setUp
self.loop = self.new_loop()
File "/builddir/uvloop/uvloop/_testbase.py", line 299, in new_loop
return uvloop.new_event_loop()
File "/builddir/uvloop/uvloop/__init__.py", line 20, in new_event_loop
return Loop()
File "uvloop/loop.pyx", line 110, in uvloop.loop.Loop.__cinit__
self._transports = weakref_WeakValueDictionary()
TypeError: 'NoneType' object is not callable
This might be related to reference counting and the fact that weakref is now not loaded at start time:
Python 3.6.5 (default, Mar 29 2018, 18:20:46)
[GCC 8.0.1 20180317 (Red Hat 8.0.1-0.19)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> 'weakref' in sys.modules
True
Python 3.7.0rc1 (default, Jun 12 2018, 11:19:29)
[GCC 8.1.1 20180502 (Red Hat 8.1.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> 'weakref' in sys.modules
False
Why this happens only on 32bits, I have no idea.
Metadata
Metadata
Assignees
Labels
No labels