[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #13774 [Stem]: Mention pickling in "Mirror Mirror on the Wall"?
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs