[tor-bugs] #13774 [Stem]: Mention pickling in "Mirror Mirror on the Wall"?

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 17 01:59:48 UTC 2014


#13774: Mention pickling in "Mirror Mirror on the Wall"?
----------------------------------------+------------------------
 Reporter:  mmcc                        |          Owner:  atagar
     Type:  enhancement                 |         Status:  new
 Priority:  trivial                     |      Milestone:
Component:  Stem                        |        Version:
 Keywords:  Stem, Python, pickle, docs  |  Actual Points:
Parent ID:                              |         Points:
----------------------------------------+------------------------
 This is a very minor suggestion, but it might be useful to mention the
 Python's `pickle` package when discussing
 `stem.descriptor.remote.DescriptorDownloader()` in the doc page "Mirror
 Mirror on the Wall". As you likely know, this package can save just about
 any variable to a file in a one-liner, and reload it any time in the
 future with another one-liner:

 https://wiki.python.org/moin/UsingPickle

 It was the solution I used when considering how to get descriptors for
 research. Mentioning it in the docs would probably prevent some lazy or
 inexperienced Python users from putting a lot of load on directory
 authorities by constantly downloading descriptors.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13774>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list