<i>proc emptyness is cached too aggressively</i> status still Open with 4 other changes
by
.
D 2010-06-18T16:49:42
J icomment Miguel,\n\nYou\sare\sright:\swhen\swe\sspeak\sof\srenames,\se.g.\sof\srenaming\sto\s{}\sand\nputting\ssome\sother\scommand\sinstead\sof\san\soriginal\sone,\simported\n"command\spointers"\sbehave\slike\swe\sexpect:\sthey\sfollow\soriginal\scommands\nand\svanish\swhen\soriginals\sare\sdeleted.\s\n\nBut\sthe\sproblem\sI\sdescribed\sis\slinked\sto\sa\sfact\sthat\sproc\sredefinition\nreally\sISN'T\sinterpreted\sas\scommand\sdeletion\s+\snew\scommand\screation.\nIt's\ssomething\slike\sa\s"half-deletion":\scommand\sdelete\straces\sare\scalled,\nbut\sexisting\simports\sare\sretargeted\sto\snew\sproc\sinstead\sof\svanishing.\s\n\nMore:\soverriding\sa\snon-proc\scommand\swith\sa\sproc\shaving\sthe\ssame\sname\n(old\scommand\smay\sbe\se.g.\sa\srenamed\sbuilt-in,\san\sextension-provided\ncommand,\san\salias,\san\sensemble,\san\s"import\slink"\sto\sanother\ncommand,\setc..)\s\s_ALSO_\sretargets\simports\sto\sa\sproc.\s\n\nSo\soverriding\ssomething\swith\s[proc]\sis\sa\sspecial\scase,\sa\skind\sof\s`two\nrenames\sdone\sin\sa\stransaction\swhile\sblocking\simporters\sfrom\snoticing\nit',\sand\sI\sfully\sunderstand\swhy\sit\sshould\sbe\sallowed:\sa\slot\sof\nprogrammers\swant\sto\smodify\sbehavior\sof\sexisting\scommands\swithout\nbreaking\spast\simports.\sFor\sall\ssuch\sredefinitions,\s_except_\soverriding\nan\sempty\sproc\s(proc\sname\sargs\s{}),\sold\simport\sentries\s_are_\srelinked\nto\sa\snew\sproc.\sFailing\sto\simitate\sthe\ssame\sbehavior\swith\sempty\sprocs\nis\stherefore\sa\sbug.\n\n
J login a_kovalenko
J mimetype text/plain
J username a_kovalenko
K 3017879fffffffffffffffffffffffffffffffff
U a_kovalenko
Z 5843df47f9d6059a4d4cb4d2dcbd70b9