On Thu, 31 Mar 2005 19:13:39 GMT, Ron_Adam <[EMAIL PROTECTED]>
wrote:

>On Thu, 31 Mar 2005 18:37:53 GMT, Ron_Adam <[EMAIL PROTECTED]>
>wrote:
>
>>
>>Hi, Sometimes it just helps to see what's going on, so I've been
>>trying to write a tool to examine what names are pointing to what
>>objects in the current scope.  
>>
>>This still has some glitches, like not working in winpython or the
>>command line, I get a 'stack not deep enough' error.  I haven't tested
>>it on linux yet either.  It could be something with my python
>>install.(?)
>>
>
>
>Here's the error I'm getting from the python command window.
>
>
>
>C:\ron\rondev\pythonmods>python
>Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]
>on win32
>Type "help", "copyright", "credits" or "license" for more information.
>>>> import pnames
>>>> pnames.pnames()
>Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
>  File "pnames.py", line 28, in pnames
>    name = sys._getframe(n).f_code.co_name
>ValueError: call stack is not deep enough
>>>>


I fixed it, it now works in winpython and from the command line. 

If anyones interested.

Ron

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to