[issue23008] pydoc enum.{,Int}Enum fails

2015-04-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue23008] pydoc enum.{,Int}Enum fails

2015-04-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset d1b9eb9de8af by Serhiy Storchaka in branch '2.7': Issue #23008: Fixed resolving attributes with boolean value is False in pydoc. https://hg.python.org/cpython/rev/d1b9eb9de8af New changeset a480f470c469 by Serhiy Storchaka in branch '3.4': Issue #23

[issue23008] pydoc enum.{,Int}Enum fails

2015-04-21 Thread Ethan Furman
Ethan Furman added the comment: Patch looks good, get it in! :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue23008] pydoc enum.{,Int}Enum fails

2015-04-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think we can ignore this flaw. 'pydoc None' works, and any solution for None aliases could break existing code that use private pydoc functions. Here is a patch with a test. -- stage: test needed -> patch review Added file: http://bugs.python.org/f

[issue23008] pydoc enum.{,Int}Enum fails

2015-04-11 Thread Ethan Furman
Ethan Furman added the comment: In 3.5 at least 'pydoc None' works. -- stage: patch review -> test needed ___ Python tracker ___ ___ P

[issue23008] pydoc enum.{,Int}Enum fails

2015-04-11 Thread Martin Panter
Martin Panter added the comment: The fix is definitely an improvement. Though there is still one obvious flaw remaining, which applies to any attribute that is set to None: $ ~/proj/python/cpython/python -bWall -m pydoc builtins.None No Python documentation found for 'builtins.None'. Use help()

[issue23008] pydoc enum.{,Int}Enum fails

2015-04-11 Thread R. David Murray
R. David Murray added the comment: Lgtm, needs a test case. -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list maili

[issue23008] pydoc enum.{,Int}Enum fails

2015-04-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is because bool(enum.Enum) is False. Other example: $ pydoc3 builtins.False no Python documentation found for 'builtins.False' $ pydoc3 builtins.True Help on bool in builtins object: builtins.True = class bool(int) ... Here is simple fix. -- k

[issue23008] pydoc enum.{,Int}Enum fails

2015-04-11 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +barry, eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue23008] pydoc enum.{,Int}Enum fails

2015-03-08 Thread Mark Lawrence
Changes by Mark Lawrence : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue23008] pydoc enum.{,Int}Enum fails

2014-12-08 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue23008] pydoc enum.{,Int}Enum fails

2014-12-07 Thread Antony Lee
New submission from Antony Lee: Not a big deal, but "$ pydoc enum.Enum" and "$ pydoc enum.IntEnum" fail to retrieve the docstrings, while they are visible with "$ pydoc enum". -- components: Library (Lib) messages: 232298 nosy: Antony.Lee priority: normal severity: normal status: open t