[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

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

2015-04-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23008

[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 rep...@bugs.python.org http://bugs.python.org/issue23008 ___ ___ Python-bugs-list

[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:

[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 rep...@bugs.python.org http://bugs.python.org/issue23008 ___ ___

[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. --

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

2015-04-11 Thread Ethan Furman
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: +barry, eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23008 ___ ___

[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 rep...@bugs.python.org http://bugs.python.org/issue23008 ___

[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

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

2015-03-08 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23008 ___ ___

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

2014-12-08 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23008 ___ ___

[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 title: