[ python-Bugs-1432260 ] pydoc still doesn't handle lambda well

SourceForge.net noreply at sourceforge.net
Fri Feb 17 10:48:26 CET 2006


Bugs item #1432260, was opened at 2006-02-15 17:03
Message generated for change (Comment added) made by birkenfeld
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1432260&group_id=5470

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: Python Library
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: William McVey (wamcvey)
Assigned to: Nobody/Anonymous (nobody)
Summary: pydoc still doesn't handle lambda well

Initial Comment:
This is a duplicate of Bug ID 672578, but I could find
no way for a 'normal user' to reopen a closed bug ticket. 

Pydoc doesn't currently handle functions and methods
defined with lambda very well. Not only are names
associated with a lambda defined function/method not
indicated in the generated module and class
definitions, but docstrings attached to the object
generated by lambda are not integrated into the output.

I've attached a sample program that illustrates the
discrepency of handling methods defined with 'def'
versus those that are handled with 'lambda'.


----------------------------------------------------------------------

>Comment By: Georg Brandl (birkenfeld)
Date: 2006-02-17 10:48

Message:
Logged In: YES 
user_id=1188172

Thanks, I fixed this to look as in the HTML doc.

Revisions 42439, 42440.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1432260&group_id=5470


More information about the Python-bugs-list mailing list