Ticket #2146 (new deprecation)

Opened 3 years ago

Last modified 3 years ago

Deprecate load_bytecode op

Reported by: whiteknight Owned by:
Priority: normal Milestone:
Component: core Version: master
Severity: medium Keywords:
Cc: Language:
Patch status: Platform: all

Description

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.

Change History

Changed 3 years ago by jkeenan

  • component changed from none to core
Note: See TracTickets for help on using tickets.