Ticket #1877 (closed enhancement: wontfix)

Opened 2 years ago

Last modified 22 months ago

use an enum class for state variables

Reported by: dustin Owned by:
Priority: major Milestone: 0.8.+
Version: 0.8.3p1 Keywords: simple
Cc:

Description

In particular, build and step states are just integers right now, and we could get better debugging and better runtime checking by using an enum class.

Barry Warsaw has an implementation that we could probably just import:

 http://pypi.python.org/pypi/flufl.enum/3.1

Change History

comment:1 Changed 22 months ago by dustin

  • Status changed from new to closed
  • Resolution set to wontfix

I don't think this is a good idea after all, particularly since these numbers are now well-known in the API.

Note: See TracTickets for help on using tickets.