The open opcode

Geoffrey Broadwell geoff at broadwell.org
Thu Apr 22 22:43:33 UTC 2010


On Thu, 2010-04-22 at 13:43 -0700, Jonathan Leto wrote:
> moritz++ has a point. Can we deprecate the "open" opcode and tell
> people to use the "open" method on either File or FileHandle PMC? The
> downside is that we have to wait quite a while, due to the deprecation
> cycle, for this to come into effect.
> 
> Would it be possible to make the open opcode use the File or
> FileHandle PMC behind the scenes? That would fix my problem and not
> require changing anything to end users as well as avoiding the
> deprecation cycle.

+1 to deprecating the opcode
+1 to immediately changing open to use PMCs in the background *if* all
functionality can be duplicated perfectly (so users of the opcode see no
change)


-'f




More information about the parrot-dev mailing list