petdance/scratch — Issue #142: MultiSub PMC does not support get_namespace method
Author: petdance
Created: 2011-11-01 05:29:59+00:00
State: open
Labels: bug, Pri-normal, Sev-medium

A multisub PMC cannot be said to "subclass" the sub PMC, since they don't support the same methods.

In my case, calling `get_namespace` to discover the origin of the PMC, fails on multisubs.

Looking in the code, the multisub.pmc seems to be "a ResizablePMCArray that supports invocation" rather than "a sub that supports dispatch".
Trac ID #1109