#1850 info level doesn't report namespace eval

obsolete: 8.3.4
closed-fixed
5
2002-04-18
2002-04-17
Anonymous
No

OS: Windows 2000 (NT 5.0), Solaris SunOS 5.5.1

Problem Behavior: [info level n] returns empty string
for "namespace eval"

Expected behavior (man uplevel):
"For example, info level 1 will return a list
describing a command that is either the outermost
procedure call or the outermost namespace eval
command."

Concise Code Sample:
namespace eval foo {info level 1}

Discussion

  • miguel sofer

    miguel sofer - 2002-04-17
    • labels: --> 105658
    • assigned_to: nobody --> dkf
     
  • Donal K. Fellows

    Logged In: YES
    user_id=79902

    The problem is because Tcl_PushCallFrame sets up the command
    for the appropriate call frame to be empty (0 length list);
    fix that, and the problem will go away.

     
  • Donal K. Fellows

    • labels: 105658 --> 21. [namespace]
    • assigned_to: dkf --> msofer
     
  • miguel sofer

    miguel sofer - 2002-04-18

    Logged In: YES
    user_id=148712

    Donal, thanks for the analysis. Fixed in the HEAD with the
    enclosed patch; I'll fix it in core-8-3-1-branch too.

     
  • miguel sofer

    miguel sofer - 2002-04-18
    • status: open --> closed-fixed
     
  • miguel sofer

    miguel sofer - 2002-04-18
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks