#1442: Sub PMC should support getattribute
-----------------------------+----------------------------------------------
Reporter: Austin_Hastings | Owner:
Type: todo | Status: new
Priority: normal | Milestone:
Component: none | Version: 2.0.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
-----------------------------+----------------------------------------------
The Sub PMC identifies itself, under `class`, as being an instance of the
Class class.
Querying the Sub's Class for available attributes
(`$class.inspect('attributes')`) returns a hash just chock full of
goodness.
Sadly, attempting to request those attribute from the Sub doesn't work.
I believe that Sub should deliver on its promises, and provide the
getattribute interface.
Alternatively, if Sub is going to require `inspect` to fetch the data,
then the PMC class should not report those fields as attributes.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1442>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets