Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #20579

Closed (moved)
(moved)
Open
Created Nov 05, 2016 by teor@teor

TorCtl re-uses iterables, even though they only yield their items once

When TorCtl calls filter(), it often re-uses the iterable multiple times. But python iterables only yield each item once. To fix this, we need to turn iterables we want to re-use into a list, using list(filter()).

This might just be why a lot of nodes remain unmeasured, or measurement is unreliable. In our test network, it seems to have caused only 5-7/15 nodes to be measured.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking