Artifact
ac3ca3d83f52937f93dfe5774eabb9bbce1204910bf6910a80a5672eda99b846:
Ticket change
[ac3ca3d83f]
- Ticket
[87271f7cd6ab29a0|87271f7cd6] <i>TclOO + coroutine + event loop = coredump</i> status still Closed with 5 other changes
by
dkf on
2024-05-23 10:51:08.
D 2024-05-23T10:51:08.556
J closedate 2460453.95218236
J closer dkf
J icomment We\scan\sbump\s`TCLOO_PROCEDURE_METHOD_VERSION`,\sbut\swe\sneed\sall\sthe\sfields;\sthey\scontain\sstructures\sthat\shave\sto\sbe\sthere\sfor\sthe\sbytecode\scompiler\sto\swork\sand\sthat\shave\sto\shave\sa\slifespan\sthe\ssame\sas\sthe\smethod.\sThe\sfix\sto\s_this_\sbug\swas\s(at\sits\sheart)\sto\sput\sthose\sfields\sin\sthe\s`ProcedureMethod`\sstructure\srather\sthan\strying\sto\shang\sthem\soff\sthe\sside\swith\sa\sdifferent\slifespan.\r\n\r\nAll\sthe\smess\sthat\swas\sin\sthere\swas\soriginally\sthere\sbecause\sI\swas\strying\sto\sfigure\sout\show\sto\sgraft\sTclOO\sonto\sthe\sback-end\sof\sprocedures,\swhich\swas\scomplicated\sbecause\sTclOO\sneeds\sto\scontrol\sthe\scurrent\snamespace\sin\sa\sdifferent\sway.\sI\sthen\slater\sbit\sthe\sbullet\sand\ssplit\sthe\sguts\sof\sthe\sprocedure\sbytecode\scompiler\sso\sthat\sI\scould\spass\sthe\sthings\sI\sneeded\sto\sdirectly;\sthe\s`Command`\sstructure\sthen\sjust\sbecame\sa\sway\sfor\scommunicating\swith\s`[info\sframe]`...\sbut\snever\shad\sthat\scomplicated\smanagement\sfor\shandling\svarying\snamespaces\sremoved.\sIt\sdidn't\smatter\sexcept\swhen\s`[info\sframe]`\swas\smixed\swith\scoroutines\sto\smess\sup\sthe\sunstacking\sof\scontexts.\r\n\r\nSounds\slike\sItcl\swill\sneed\sto\srecompile.\sAnd\swe\smight\sneed\sto\sbump\sthe\sTclOO\sversion\snumber\sto\slet\sthem\sdetect.\sThere\sreally\sisn't\sa\sway\saround\sthe\sfact\sthat\swe\shad\sto\sgrow\sthe\sstructure.
J login dkf
J mimetype text/x-markdown
K 87271f7cd6ab29a076b36e31041a8c940c20d943
U dkf
Z 7b9504bdec8c97df1ec9d570100c5043