msg61418 - (view) |
Author: Georg Brandl (georg.brandl) *  |
Date: 2008-01-21 17:14 |
so that this doesn't get lost... |
|
|
msg65710 - (view) |
Author: Humberto Diógenes (hdiogenes) * |
Date: 2008-04-24 06:47 |
It looks like there are no automated tests for pydoc; it's even listed in test_sundry.py. There's only one file Lib/test/pydocfodder.py which defines "Something just to look at via pydoc", but isn't used anywhere (I grepped and found nothing). I've attached a patch just to document one point where pydoc behavior differs from 2.5 to 3.0: describe() used to return 'instance of ClassX', now it returns only 'ClassX' (which means this test will pass in 2.5 but not in 3.0). Functions main and test_main were copied from test_modulefinder. |
|
|
msg65711 - (view) |
Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) *  |
Date: 2008-04-24 09:06 |
It's not a difference between versions, but a difference between old-style and new-style classes (which derive from object). In 3.0, all classes are new-style... |
|
|
msg65749 - (view) |
Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) *  |
Date: 2008-04-24 21:07 |
Humberto, I added your test file in trunk. I added some other tests: now pydocfodder.py is used by a basic "smoke test". The tests revealed two bugs in python3.0... Thanks! |
|
|
msg65772 - (view) |
Author: Humberto Diógenes (hdiogenes) * |
Date: 2008-04-25 06:48 |
Amaury, seems that there's duplicated from render_doc inside pydoc.doc. I removed it and everything kept working, including the new basic tests. |
|
|
msg65916 - (view) |
Author: Humberto Diógenes (hdiogenes) * |
Date: 2008-04-28 13:34 |
According to Georg, the "adaptation" referred by this issue is just about changing the URLs in the documentation to point appropriately to the URLs generated by the new doc system. Anyway, the doc-cleanup.patch is still pending... ;) |
|
|
msg65917 - (view) |
Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) *  |
Date: 2008-04-28 13:37 |
> Anyway, the doc-cleanup.patch is still pending... ;) No, I already removed the duplicated code in r62505. |
|
|
msg67602 - (view) |
Author: Georg Brandl (georg.brandl) *  |
Date: 2008-06-01 21:07 |
OK, this is fixed by including topic help as a separate module, and not relying on the HTML documentation, in r63871. |
|
|