Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #27989: Tweak inspect.formatannotation() to improve pydoc rendering of ↵ | Guido van Rossum | 2016-10-22 | 1 | -0/+13 |
| | | | | function annotations. Ivan L. | ||||
* | Issue #16484: Fix pydoc link and test on Windows, by Kaushik Nadikuditi | Martin Panter | 2016-06-12 | 1 | -1/+1 |
| | |||||
* | #16484: Fix pydoc doc links to modules whose names are mixed case. | R David Murray | 2016-06-03 | 1 | -0/+14 |
| | | | | Patch by Sean Rodman, test by Kaushik N. | ||||
* | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 1 | -2/+2 |
| | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | Issue #18010: Merge pydoc web search fix from 3.4 into 3.5 | Martin Panter | 2015-11-06 | 1 | -6/+32 |
|\ | |||||
| * | Issue #18010: Fix pydoc web server search to handle package exceptions | Martin Panter | 2015-11-06 | 1 | -6/+32 |
| | | | | | | | | Implementation by Antoine Pitrou. | ||||
* | | Issue #9517: Move script_helper to the support package. | Berker Peksag | 2015-05-06 | 1 | -1/+1 |
| | | | | | | | | Patch by Christie Wilson. | ||||
* | | Issue #23008: Fixed resolving attributes with boolean value is False in pydoc. | Serhiy Storchaka | 2015-04-21 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | Issue #23008: Fixed resolving attributes with boolean value is False in pydoc. | Serhiy Storchaka | 2015-04-21 | 1 | -0/+8 |
| | | |||||
* | | Fixed pydoc tests when run with -OO. | Serhiy Storchaka | 2015-03-01 | 1 | -0/+4 |
|\ \ | |/ | |||||
| * | Fixed pydoc tests when run with -OO. | Serhiy Storchaka | 2015-03-01 | 1 | -0/+4 |
| | | |||||
* | | Issue #19980: Improved help() for non-recognized strings. help('') now | Serhiy Storchaka | 2015-02-28 | 1 | -1/+4 |
| | | | | | | | | | | shows the help on str. help('help') now shows the help on help(). Original patch by Mark Lawrence. | ||||
* | | Issue #23374: Fixed pydoc failure with non-ASCII files when stdout encoding | Serhiy Storchaka | 2015-02-20 | 1 | -0/+9 |
|\ \ | |/ | | | | | differs from file system encoding (e.g. on Mac OS). | ||||
| * | Issue #23374: Fixed pydoc failure with non-ASCII files when stdout encoding | Serhiy Storchaka | 2015-02-20 | 1 | -0/+9 |
| | | | | | | | | differs from file system encoding (e.g. on Mac OS). | ||||
* | | merge 3.4 (#21548) | Benjamin Peterson | 2015-02-17 | 1 | -0/+32 |
|\ \ | |/ | |||||
| * | fix pydoc.apropos and pydoc.synopsis on modules with empty docstrings (#21548) | Benjamin Peterson | 2015-02-17 | 1 | -0/+32 |
| | | | | | | | | Patch by Yuyang Guo and Berker Peksag. | ||||
* | | Merge from 3.4 | Senthil Kumaran | 2014-09-17 | 1 | -0/+2 |
|\ \ | |/ | | | | | Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces. | ||||
| * | Merge from 3.3 | Senthil Kumaran | 2014-09-17 | 1 | -0/+2 |
| |\ | | | | | | | | | | Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces. | ||||
| | * | Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all ↵ | Senthil Kumaran | 2014-09-17 | 1 | -0/+2 |
| | | | | | | | | | | | | interfaces. | ||||
* | | | Issue #21942: Fixed source file viewing in pydoc's server mode on Windows. | Zachary Ware | 2014-07-10 | 1 | -5/+2 |
|\ \ \ | |/ / | |||||
| * | | Issue #21942: Fixed source file viewing in pydoc's server mode on Windows. | Zachary Ware | 2014-07-10 | 1 | -5/+2 |
| | | | |||||
* | | | Issue 21786: Clean-up test_pydoc taking taking advantage of diffing in ↵ | Raymond Hettinger | 2014-06-21 | 1 | -33/+7 |
|/ / | | | | | | | unittest. | ||||
* | | Fix test_pydoc failure introduced by 7aa72075d440. Patch by Berker Peksag. | Charles-François Natali | 2014-06-20 | 1 | -0/+3 |
| | | |||||
* | | Issue #21768: fix type in test_pydoc, patch by Claudiu Popa. | Terry Jan Reedy | 2014-06-20 | 1 | -1/+1 |
| | | |||||
* | | make sure the builtin help function doesn't fail when sys.stdin is not a ↵ | Benjamin Peterson | 2014-06-08 | 1 | -0/+8 |
| | | | | | | | | | | | | valid file (closes #11709) Original patch by Amaury Forgeot d'Arc with a test by bdettmer. | ||||
* | | don't remove self from example code in the HTML output (closes #13223) | Benjamin Peterson | 2014-06-07 | 1 | -0/+44 |
| | | | | | | | | Patch by Víctor Terrón. | ||||
* | | Issue #20484: Disable the 2 remaining "modules" tests in test_pydoc. | Eric Snow | 2014-02-22 | 1 | -1/+3 |
| | | | | | | | | I'll look into re-enabling them in issue #20128. | ||||
* | | Issue #20710: The pydoc summary line no longer displays the "self" parameter | Larry Hastings | 2014-02-21 | 1 | -5/+35 |
| | | | | | | | | | | | | for bound methods. Previous to this change, it displayed "self" for methods implemented in Python but not methods implemented in C; it is now both internally consistent and consistent with inspect.Signature. | ||||
* | | Issue #20654: Fixed pydoc for enums with zero value. Patch by Vajrasky Kok. | Serhiy Storchaka | 2014-02-19 | 1 | -0/+10 |
| | | |||||
* | | Fix test failures (--without-doc-strings). | Stefan Krah | 2014-01-18 | 1 | -1/+3 |
| | | |||||
* | | Issue #20226: Added tests for new features and regressions. | Larry Hastings | 2014-01-16 | 1 | -0/+5 |
| | | |||||
* | | Issue #19703: Update pydoc to use the new importer APIs. | Eric Snow | 2014-01-07 | 1 | -0/+2 |
| | | |||||
* | | Issue 20123: Disable a problematic test. | Eric Snow | 2014-01-05 | 1 | -2/+3 |
| | | |||||
* | | Issue 20123: try using a different builtin module in a pydoc test. | Eric Snow | 2014-01-05 | 1 | -2/+2 |
| | | | | | | | | | | | | The test is failing on one of the stable FreeBSD buildbots. It seems unlikely that the gc module would not be available, so switching to _imp may not fix the problem. | ||||
* | | Issue 20123: Fix pydoc.synopsis() for "binary" modules. | Eric Snow | 2014-01-05 | 1 | -0/+52 |
| | | | | | | | | Also add missing tests to test_pydoc. | ||||
* | | Merge with 3.3 | Terry Jan Reedy | 2013-11-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #19397: test_pydoc now works with -S (help not added to builtins). | Terry Jan Reedy | 2013-11-05 | 1 | -1/+1 |
| | | | | | | | | Patch by Serhiy Storchaka and Vajrasky Kok. | ||||
* | | Issue #19030: fix new pydoc tests for --without-doc-strings | Ethan Furman | 2013-10-22 | 1 | -5/+22 |
| | | |||||
* | | Fix test_pydoc failure introduced by 2f09a6980e1a (issue #19030). | Charles-François Natali | 2013-10-21 | 1 | -14/+14 |
| | | |||||
* | | Issue #19030: final pieces for proper location of various class attributes ↵ | Ethan Furman | 2013-10-21 | 1 | -0/+175 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | located in the metaclass. Okay, hopefully the very last patch for this issue. :/ I realized when playing with Enum that the metaclass attributes weren't always displayed properly. New patch properly locates DynamicClassAttributes, virtual class attributes (returned by __getattr__ and friends), and metaclass class attributes (if they are also in the metaclass __dir__ method). Also had to change one line in pydoc to get this to work. Added tests in test_inspect and test_pydoc to cover these situations. | ||||
* | | Issue #15767: back out 8a0ed9f63c6e, finishing the removal of | Brett Cannon | 2013-07-04 | 1 | -1/+1 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Issue #15767: Introduce ModuleNotFoundError, a subclass of | Brett Cannon | 2013-06-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ImportError. The exception is raised by import when a module could not be found. Technically this is defined as no viable loader could be found for the specified module. This includes ``from ... import`` statements so that the module usage is consistent for all situations where import couldn't find what was requested. This should allow for the common idiom of:: try: import something except ImportError: pass to be updated to using ModuleNotFoundError and not accidentally mask ImportError messages that should propagate (e.g. issues with a loader). This work was driven by the fact that the ``from ... import`` statement needed to be able to tell the difference between an ImportError that simply couldn't find a module (and thus silence the exception so that ceval can raise it) and an ImportError that represented an actual problem. | ||||
* | | Issue #11995: test_pydoc doesn't import all sys.path modules anymore. | Antoine Pitrou | 2013-05-19 | 1 | -15/+58 |
|\ \ | |/ | |||||
| * | Issue #11995: test_pydoc doesn't import all sys.path modules anymore. | Antoine Pitrou | 2013-05-19 | 1 | -15/+58 |
| | | |||||
| * | #17476: make allmethods actually return all methods. | R David Murray | 2013-03-19 | 1 | -0/+24 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a regression relative to Python2. (In 2, methods on a class were unbound methods and matched the inspect queries being done, in 3 they are just functions and so were missed). This is an undocumented function that pydoc itself does not use, but I found that numpy at least uses it in its documentation generator. Original patch by Matt Bachmann. | ||||
| | * | #17476: make allmethods actually return all methods. | R David Murray | 2013-03-19 | 1 | -0/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a regression relative to Python2. (In 2, methods on a class were unbound methods and matched the inspect queries being done, in 3 they are just functions and so were missed). This is an undocumented function that pydoc itself does not use, but I found that numpy at least uses it in its documentation generator. Original patch by Matt Bachmann. | ||||
* | | | #17115: Remove what appears to be a useless chunk of code which broke | Brett Cannon | 2013-05-04 | 1 | -4/+0 |
| | | | | | | | | | | | | other tests. | ||||
* | | | Merge: #17476: make allmethods actually return all methods. | R David Murray | 2013-03-19 | 1 | -0/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a regression relative to Python2. (In 2, methods on a class were unbound methods and matched the inspect queries being done, in 3 they are just functions and so were missed). This is an undocumented function that pydoc itself does not use, but I found that numpy at least uses it in its documentation generator. Original patch by Matt Bachmann. | ||||
* | | | #17464: improve pydoc test coverage. | R David Murray | 2013-03-19 | 1 | -0/+25 |
|/ / | | | | | | | Patch by Matt Bachmann. | ||||
* | | Issue #17041: Fix testing when Python is configured with the | Serhiy Storchaka | 2013-01-27 | 1 | -21/+32 |
|\ \ | |/ | | | | | --without-doc-strings. |