Issue 672855: improve pydoc handling of extension types (original) (raw)

Created on 2003-01-23 01:05 by gtalvola, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pydoc.py.patch gtalvola,2003-01-23 01:07 patch for pydoc.py
pydoc.py.patch gtalvola,2003-05-21 21:02 patch for pydoc.py (improved version)
Messages (4)
msg42519 - (view) Author: Geoff Talvola (gtalvola) Date: 2003-01-23 01:05
pydoc.HTMLRepr.repr1() generates an exception if you pass in an object x where type(x) has no __name__ attribute. The attached patch adds a test for this case and keeps repr1 from barfing. This is useful on Windows if you're using cgitb.py to try to get tracebacks that involve COM objects -- somewhere in the guts of the COM support code you get a type that has no __name__ attribute.
msg42520 - (view) Author: Geoff Talvola (gtalvola) Date: 2003-05-21 21:02
Logged In: YES user_id=88162 I'm uploading an improved version of this patch that fixes both the Text and HTML versions of the traceback. The previous patch only fixed the HTML version.
msg42521 - (view) Author: Geoff Talvola (gtalvola) Date: 2003-06-27 15:09
Logged In: YES user_id=88162 Assigning to Skip since he's done work with traceback code before. I'm hoping this gets into 2.3b2. It's really a no-brainer bugfix.
msg42522 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2003-06-27 15:46
Logged In: YES user_id=44345 Checked in as pydoc.py 1.86.
History
Date User Action Args
2022-04-10 16:06:10 admin set github: 37824
2003-01-23 01:05:38 gtalvola create