[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #26412 [Core Tor/Stem]: KeyError in can_exit_to caused by lru_cache
#26412: KeyError in can_exit_to caused by lru_cache
-------------------------------+--------------------
Reporter: juga | Owner: atagar
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Stem | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------------+--------------------
As pastly reported in https://github.com/pastly/simple-bw-
scanner/issues/198,
stem giving this traceback:
`File "/home/pastly/src/simple-bw-scanner/venv-editable/lib/python3.5
/site-packages/stem/exit_policy.py", line 285, in can_exit_to`
`if not self.is_exiting_allowed():KeyError:
(<stem.exit_policy.MicroExitPolicy object at 0x7f8de6438ba8>,)`
Apparently caused by a Python bug with `lru_cache`.
pastly is already trying to find out which Python versions fail, to use
`stem`'s `lru_cache` for those ones.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26412>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs