rrule attribute names
Bug #943509 reported by
James Emerton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dateutil |
New
|
Undecided
|
Unassigned |
Bug Description
I would like to propose that the rrule object attributes that contain the rule specification (_freq, _bymonth, _byweekday, etc...) drop the underscore prefix and become a part of the public interface.
Rationale:
I am building a user interface for the creation/editing of RRULEs. I would like to start with an RRULE string, populate the UI, and ultimately convert the UI contents back into an RRULE string. (I'd also like a __str__() method, but that is a separate ticket.)
To post a comment you must log in.
Upon further consideration, access to these fields may best be provided via a property descriptor; allowing clients to mutate the values requires invalidating the cache.