[issue19821] pydoc.ispackage() could be more accurate

2020-06-15 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 3.0 -> 4.0 pull_requests: +20090 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20908 ___ Python tracker

[issue19821] pydoc.ispackage() could be more accurate

2017-03-09 Thread Wolfgang Maier
Changes by Wolfgang Maier : -- nosy: +wolma ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19821] pydoc.ispackage() could be more accurate

2014-06-25 Thread Claudiu Popa
Claudiu Popa added the comment: I would go on the deprecation route with this and removing it in 3.6, just like the formatter module. -- ___ Python tracker ___ _

[issue19821] pydoc.ispackage() could be more accurate

2013-11-28 Thread Claudiu.Popa
Claudiu.Popa added the comment: It was used by pydoc.py until 2006, when it was removed with this commit: Changeset: 37821 (3135648026c4) Second phase of refactoring for runpy, pkgutil, pydoc, and setuptools. Is it worth to fix this? -- nosy: +Claudiu.Popa __

[issue19821] pydoc.ispackage() could be more accurate

2013-11-27 Thread Eric Snow
New submission from Eric Snow: pydoc.ispackage() is a best-effort guess at whether or not a path is the location of a package. However, it uses hard-coded suffixes when matching file names, which can miss files (e.g. extension modules and sourceless packages on Windows). It should probably u