Should nested classes in an Enum be Enum members?

Gregory Ewing greg.ewing at canterbury.ac.nz
Fri Jun 29 20:05:36 EDT 2018


Ethan Furman wrote:
> They are the list of dates in which US banks are closed for electronic 
> business (funds transfers and things).

That sems like something that would be better specified in
a configuration file than hard-wired into the code, in case
the rules change.

-- 
Greg



More information about the Python-list mailing list