Ticket #1697 (new deprecation)
Remove the open and close opcodes
| Reported by: | dukeleto | Owned by: | whiteknight |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Version: | master |
| Severity: | medium | Keywords: | |
| Cc: | Language: | ||
| Patch status: | Platform: | all |
Description
The open and close opcodes are redundant and since the IO ops became dynops, have subtle problems, as found by PL/Parrot:
arg count mismatch: op #1119 'open' needs 17820 given 3
http://groups.google.com/group/parrot-dev/browse_thread/thread/d99dfeabda257cf1 http://groups.google.com/group/parrot-dev/browse_thread/thread/b8f6e3f2e0f285ff
Uses of the open/close opcode can easily be changed to use the open/close methods on the File or FileHandle PMC.
Change History
Note: See
TracTickets for help on using
tickets.
