petdance/scratch — Issue #142: MultiSub PMC does not support get_namespace method
Author: petdance
Created: 2011-11-01 04:24:59+00:00
State: open

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".