| Ticket UUID: | 2006651 | ||
| Title: | modified handling of start part of call chain | ||
| Type: | RFE | Created on: | 2008-06-30 11:07:25 |
| Submitter: | wiede | Assigned to: | dkf |
| Subsystem: | 35. TclOO Package | Severity: | |
| Priority: | 4 | Last modified: | 2026-11-13 11:18:43 |
| Status: | Closed | Closed by: | serhiy.storchaka |
| Resolution: | Wont Fix | Closed on: | 2026-11-13 11:18:43 |
| Version: | None | ||
| Description: | ||||
There is some special code in xxx for itcl to handle the start within a call chain:(if (startCls != NULL) { ... })
I would prefer to change that to not start within the call chain, but to start as normal and only mark class entries which are before the starting class with a flag in CallChain structore as "to be skipped" and in TclOOInvokeContext to skip these entries during invokation.
Advantage for itcl: itcl can use filters and mixins as usual and only skip class method in the class hierarchy
| ||||
| User Comments: | ||||
wiede added on 2008-10-05 23:55:30:
the xxx above was meant to be tclOO.c function TclOOObjectCmdCore dkf added on 2009-07-13 01:20:55:
This is complicated, because it's prying into a place which isn't designed for it at all, and expensive, because it prevents the sharing of a call chain between simultaneous invocations. I'm probably not going to ever do this. serhiy.storchaka added on 2026-11-13 11:18:43:
Closing per dkf's comment; Itcl keeps using the startCls argument of TclOOObjectCmdCore. | ||||
