From: SourceForge.net <no...@so...> - 2009-08-02 13:08:38
|
Patches item #1015338, was opened at 2004-08-24 16:24 Message generated for change (Settings changed) made by dkf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310894&aid=1015338&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 17. Commands I-L Group: TIP Implementation >Status: Closed >Resolution: Accepted Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Donal K. Fellows (dkf) Summary: TIP#214: Add representation subcommand to info Initial Comment: Add a new introspection command to obtain the internal representation of a variable. ---------------------------------------------------------------------- >Comment By: Donal K. Fellows (dkf) Date: 2009-08-02 14:08 Message: I've added [tcl::unsupported::representation] (takes a single argument) which reports the representation of an object. It's deliberately made awkward to use as a condition test (don't do that!) and it's unsupported, but does let you probe what is going on. Given that it's unsupported (and any attempt to support it is going to be really resisted) I'll close out the TIP as Withdrawn. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-08-25 11:15 Message: Logged In: NO Detecting shimmering is certainly the most important usage. Tcl is famous for its rich introspection features. I believe that, if there's a simple means to complete these features further, it should be done. The internal representation is just one of them. ---------------------------------------------------------------------- Comment By: Colin McCormack (coldstore) Date: 2004-08-24 23:17 Message: Logged In: YES user_id=19214 If the desire for this information is to optimise code by detecting shimmering, then it would suffice to create a well-known extension which provides it. Perhaps I'll throw a simple critcl thing up on the wiki. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-08-24 19:50 Message: Logged In: NO Donal, you're right, it's very similar to TIP#117. I didn't see that TIP. Nevertheless, I don't understand the reason for its withdrawal. ---------------------------------------------------------------------- Comment By: Donal K. Fellows (dkf) Date: 2004-08-24 16:29 Message: Logged In: YES user_id=79902 Looks like TIP#117 to me, which was withdrawn on the grounds that it would be more used than abused. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310894&aid=1015338&group_id=10894 |