Damian's Dev Blog

Tor Development Reports

  • Contact
  • Stem
  • Tor

Status Report for January 2013

Posted by atagar on February 2, 2013
Posted in: Status Report.

Hi all. This January I’ve been integrating feedback from first time stem users and implementing their feature requests. Projects included…

Python 3.x Support

Stem now works under both the python 2.x and 3.x series. To use stem with python 3 simply use it when you install…

python3 setup.py install

This turned out to be a larger project than I had anticipated, taking almost half the month. But it was well worth the effort.

  • commit
  • ticket

PEP8 Compliance

Ditched most of my odd coding preferences in favor of the standard python style guide. I’ve integrated both pep8 and pyflakes with our tests to prevent regression. Hopefully this’ll make it easier for others to contribute to stem.

  • commit
  • ticket

Arm Codebase Refactoring

Prior to being shanghaied into the projects above I sunk quite a bit of time into overhauling arm. Thus far I’ve dropped around a third of the codebase in favor of similar (but tested!) capabilities in stem.

Descriptor Improvements

Got lots of input concerning stem’s descriptor module (thanks Karsten!), leading to quite a few improvements…

  • used feedback from Aaron Johnson to make the descriptor API less confusing
  • we now support bridge network status documents (ticket)
  • added support for ‘-legacy’ authorities (ticket)
  • parsing error if network status documents lacked a ‘directory-footer’ line (ticket)
  • empty ‘bridge-ip-versions’ lines caused problems (ticket)
  • we didn’t recognize the @type annotation for key certificates (ticket)
  • we weren’t parsing the new ntor-onion-key lines (caught by sonu, ticket)
  • error when ran with pypy (caught by peer)

Sean helped quite a bit at the start of the month, but has since been busy with other things.

  • added a Controller.get_streams() method (ticket)
  • tests for the close_stream() method (ticket)
  • expanded the Controller’s unit tests (ticket)
  • fixed type checks (ticket)
  • fixed test_reattaching_listeners (ticket)

Posts navigation

← Status Report for December 2012
Status Report for February 2013 →
  • Recent Posts

    • Status Report for August 2022
    • Status Report for August 2021
    • Status Report for July 2021
    • Status Report for June 2021
    • Status Report for May 2021
  • Links

    • Contact
    • Stem
    • Tor
Proudly powered by WordPress Theme: Parament by Automattic.