Re: SVN: Products.enablesettrace/trunk/__init__.py Implemented. Thanks to Zach Bir for sending me this code. :)

Chris Withers <[email protected]> Mon, 30 Jan 2006 15:40:10 +0000
Newsgroups gmane.comp.web.zope.public-cvs
Message-ID <[email protected]>
Hi Jim,

If you like, I could and zdb to the Zope source tree...

...it does this, _and_ lets you see the source of the python script 
you're editing :-) (remember it from the Plone thingy in Vienna?)

The only problem is that there's a slight performance hit when it's 
installed since it does some backwards bending to get the source code 
into pdb's linecache...

anyway, lemme know what you think...

cheers,

Chris

Jim Fulton wrote:
> Log message for revision 41469:
>   Implemented. Thanks to Zach Bir for sending me this code. :)
>   
> 
> Changed:
>   A   Products.enablesettrace/trunk/__init__.py
> 
> -=-
> Added: Products.enablesettrace/trunk/__init__.py
> ===================================================================
> --- Products.enablesettrace/trunk/__init__.py	2006-01-27 22:33:25 UTC (rev 41468)
> +++ Products.enablesettrace/trunk/__init__.py	2006-01-27 22:59:20 UTC (rev 41469)
> @@ -0,0 +1,2 @@
> +import AccessControl
> +AccessControl.ModuleSecurityInfo('pdb').declarePublic('set_trace')
> 
> 
> Property changes on: Products.enablesettrace/trunk/__init__.py
> ___________________________________________________________________
> Name: svn:keywords
>    + Id
> Name: svn:eol-style
>    + native
> 
> _______________________________________________
> Zope-CVS maillist  -  [email protected]
> http://mail.zope.org/mailman/listinfo/zope-cvs
> 
> Zope CVS instructions: http://dev.zope.org/CVS
> 

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk
_______________________________________________
Zope-CVS maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS