This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pydoc still doesn't handle lambda well
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, wamcvey
Priority: normal Keywords:

Created on 2006-02-15 16:03 by wamcvey, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
PydocLambdaTest.py wamcvey, 2006-02-15 16:03 PydocLambdaTest.py
Messages (2)
msg27521 - (view) Author: William McVey (wamcvey) Date: 2006-02-15 16:03
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'.
msg27522 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-02-17 09:48
Logged In: YES 
user_id=1188172

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

Revisions 42439, 42440.
History
Date User Action Args
2022-04-11 14:56:15adminsetgithub: 42902
2006-02-15 16:03:21wamcveycreate