[issue1648] add new function, sys.gettrace

2008-01-20 Thread Georg Brandl
Georg Brandl added the comment: Committed as r60138. Thanks for the complete patch! -- assignee: brett.cannon -> georg.brandl nosy: +georg.brandl resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue1648] add new function, sys.gettrace

2007-12-18 Thread Titus Brown
Titus Brown added the comment: Added getprofile + tests, docs, as per reasonable request ;) Added file: http://bugs.python.org/file8991/gettrace+getprofile.diff __ Tracker <[EMAIL PROTECTED]> __

[issue1648] add new function, sys.gettrace

2007-12-18 Thread Brett Cannon
Brett Cannon added the comment: On Dec 18, 2007 12:14 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > Guido van Rossum added the comment: > > Why not do the same for its cousin sys.setprofile()? If Titus' code works out I was going to just copy it and tweak it for profile functions. Obvious

[issue1648] add new function, sys.gettrace

2007-12-18 Thread Guido van Rossum
Guido van Rossum added the comment: Why not do the same for its cousin sys.setprofile()? -- nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]> __

[issue1648] add new function, sys.gettrace

2007-12-18 Thread Brett Cannon
Changes by Brett Cannon: -- assignee: -> brett.cannon __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1648] add new function, sys.gettrace

2007-12-18 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +patch priority: -> normal type: behavior -> rfe __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-li

[issue1648] add new function, sys.gettrace

2007-12-17 Thread Titus Brown
New submission from Titus Brown: Currently there is no way to retrieve the current trace function; this patch adds 'gettrace' to the sys module. This behavior is very useful for helping to control code coverage analysis tools. -- components: Library (Lib) files: gettrace.diff messages: