petdance/scratch — Issue #1340: Deprecate load_bytecode op
Author: petdance
Created: 2011-11-01 05:39:58+00:00
State: open
Labels: core, deprecation, Pri-normal, Sev-medium

The load_bytecode op has several problems, not the least of which is bad error-handling semantics (#560) and magical, confusing, unextendable behavior based on file extension. I am working to create a new load_bytecode op with improved semantics, which returns a PackfileView PMC with the loaded result. The new version is not in master yet, but should be shortly after 3.6
I would like to deprecate the old 1-argument form of load_bytecode, so that we can start upgrading users to the newer version over the coming months.

Originally http://trac.parrot.org/parrot/ticket/2146