forked from auracaster/bumble_mirror
Merge pull request #802 from zxzxwu/version
Upgrade Python version to 3.10-3.14
This commit is contained in:
@@ -2370,11 +2370,7 @@ class Device(utils.CompositeEventEmitter):
|
||||
hci.Address.ANY: []
|
||||
} # Futures, by BD address OR [Futures] for hci.Address.ANY
|
||||
|
||||
# In Python <= 3.9 + Rust Runtime, asyncio.Lock cannot be properly initiated.
|
||||
if sys.version_info >= (3, 10):
|
||||
self._cis_lock = asyncio.Lock()
|
||||
else:
|
||||
self._cis_lock = AsyncExitStack()
|
||||
self._cis_lock = asyncio.Lock()
|
||||
|
||||
# Own address type cache
|
||||
self.connect_own_address_type = None
|
||||
|
||||
Reference in New Issue
Block a user