[tor-dev] RFC: remove TorUtil.Enum

Sean Robinson seankrobinson at gmail.com
Sat Jun 18 23:45:24 UTC 2011


On Sat, Jun 18, 2011 at 4:25 PM, Damian Johnson <atagar1 at gmail.com> wrote:
> I don't have a problem with it being removed (though this is Mike's
> call). I looked at it a bit for arm's enum implementation...
> https://gitweb.torproject.org/arm.git/blob/HEAD:/src/util/enum.py
>
> but that's about it. -Damian

The primary difference between TorUtil.Enum and the arm Enum class:
arm has a well-documented, full, useful implementation of an enum
class.  And, secondarily, I assume it is actually used by code.

-- 
Sean Robinson
WiFi Radar - http://wifi-radar.berlios.de
Python WiFi - http://pythonwifi.wikispot.org
pymnl - http://pymnl.wikispot.org


More information about the tor-dev mailing list