#1455: Exception 'birthtime' attribute not accessible
-----------------------------+----------------------------------------------
Reporter: Austin_Hastings | Owner:
Type: cage | Status: new
Priority: normal | Milestone:
Component: none | Version: 2.0.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
-----------------------------+----------------------------------------------
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.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1455>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets