Ticket #1455 (closed cage: fixed)
Exception 'birthtime' attribute not accessible
Reported by: | Austin_Hastings | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | 2.0.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
The Exception PMC type declares a 'birthtime' attribute, but makes little use of it. In fact, it appears to be a write-only attribute, since the set_number VTABLE is used to set the birthtime, but nothing appears to access it.
It's not clear to me what value the birth time of an Exception has - I see the birthtime attribute used in task and timer types, as well. If there *is* some value to the birthtime attribute, please make it accessible. If it should be an attribute, as it currently reports itself (via the .attributes mechanism) then please make it accessible via getattribute.
Alternatively, either let's nuke it (since it can't be read) or let's figure out what purpose it serves and add some functionality to do that.