Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Issue #8637: Honor a pager set by the env var MANPAGER (in preference to | doko@ubuntu.com | 2016-06-14 | 1 | -3/+3 |
| | | | | one set by the env var PAGER). | ||||
* | - Issue #8637: Honor a pager set by the env var MANPAGER (in preference to | doko@ubuntu.com | 2016-06-14 | 1 | -1/+2 |
| | | | | one set by the env var PAGER). | ||||
* | Issue #16484: Merge pydoc Windows fixes from 3.5 | Martin Panter | 2016-06-12 | 1 | -2/+3 |
|\ | |||||
| * | Issue #16484: Fix pydoc link and test on Windows, by Kaushik Nadikuditi | Martin Panter | 2016-06-12 | 1 | -2/+3 |
| | | |||||
* | | Merge: #16484: Fix pydoc doc links to modules whose names are mixed case. | R David Murray | 2016-06-03 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | #16484: Fix pydoc doc links to modules whose names are mixed case. | R David Murray | 2016-06-03 | 1 | -6/+6 |
| | | | | | | | | Patch by Sean Rodman, test by Kaushik N. | ||||
* | | Issue #25985: sys.version_info is now used instead of sys.version | Serhiy Storchaka | 2016-02-11 | 1 | -3/+3 |
| | | | | | | | | to format short Python version. | ||||
* | | Issue #18010: Merge pydoc web search fix from 3.5 | Martin Panter | 2015-11-06 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Issue #18010: Merge pydoc web search fix from 3.4 into 3.5 | Martin Panter | 2015-11-06 | 1 | -1/+3 |
| |\ | |||||
| | * | Issue #18010: Fix pydoc web server search to handle package exceptions | Martin Panter | 2015-11-06 | 1 | -1/+3 |
| | | | | | | | | | | | | Implementation by Antoine Pitrou. | ||||
* | | | Merge with 3.5. | Serhiy Storchaka | 2015-10-06 | 1 | -0/+0 |
|\ \ \ | |/ / | |||||
* | | | Issue #24879: Teach pydoc to display named tuple fields in the order they ↵ | Raymond Hettinger | 2015-08-19 | 1 | -4/+15 |
|/ / | | | | | | | were defined. | ||||
* | | Issue #23911: Move path-based bootstrap code to a separate frozen module. | Eric Snow | 2015-05-03 | 1 | -2/+3 |
| | | |||||
* | | Issue #23008: Fixed resolving attributes with boolean value is False in pydoc. | Serhiy Storchaka | 2015-04-21 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #23008: Fixed resolving attributes with boolean value is False in pydoc. | Serhiy Storchaka | 2015-04-21 | 1 | -1/+1 |
| | | |||||
* | | Issue #23731: Implement PEP 488. | Brett Cannon | 2015-04-13 | 1 | -1/+1 |
| | | | | | | | | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied. | ||||
* | | Issue #22831: Use "with" to avoid possible fd leaks. | Serhiy Storchaka | 2015-04-04 | 1 | -3/+2 |
| | | |||||
* | | Merge: #23792: also catch interrupt around pipe.write. | R David Murray | 2015-03-30 | 1 | -1/+6 |
|\ \ | |/ | |||||
| * | #23792: also catch interrupt around pipe.write. | R David Murray | 2015-03-30 | 1 | -1/+6 |
| | | | | | | | | | | | | The previous patch only dealt with KeyboardInterrupt when all of the data had been consumed by the pager. This deals with the interrupt when some data is still pending. | ||||
* | | Merge: #23792: Ignore KeyboardInterrupt when the pydoc pager is active. | R David Murray | 2015-03-29 | 1 | -3/+10 |
|\ \ | |/ | |||||
| * | #23792: Ignore KeyboardInterrupt when the pydoc pager is active. | R David Murray | 2015-03-29 | 1 | -3/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if you hit ctl-c while the pager was active, the python that launched the subprocess for the pager would see the KeyboardInterrupt in the __exit__ method of the subprocess context manager where it was waiting for the subprocess to complete, ending the wait. This would leave the pager running, while the interactive interpreter, after handling the exception by printing it, would go back to trying to post a prompt...but the pager would generally have the terminal in raw mode, and in any case would be still trying to read from stdin. On some systems, even exiting python at that point would not restore the terminal mode. The problem with raw mode could also happen if ctl-C was hit when pydoc was called from the shell command line and the pager was active. Instead, we now wait on the subprocess in a loop, ignoring KeyboardInterrupt just like the pager does, until the pager actually exits. (Note: this was a regression relative to python2...in python2 the pager is called via system, and system does not return until the pager exits.) | ||||
* | | Issue #19980: Improved help() for non-recognized strings. help('') now | Serhiy Storchaka | 2015-02-28 | 1 | -4/+10 |
| | | | | | | | | | | 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 | -9/+13 |
|\ \ | |/ | | | | | 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 | -9/+13 |
| | | | | | | | | differs from file system encoding (e.g. on Mac OS). | ||||
* | | merge 3.4 (#21548) | Benjamin Peterson | 2015-02-17 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | fix pydoc.apropos and pydoc.synopsis on modules with empty docstrings (#21548) | Benjamin Peterson | 2015-02-17 | 1 | -2/+2 |
| | | | | | | | | Patch by Yuyang Guo and Berker Peksag. | ||||
* | | Issue #22314: pydoc now works when the LINES environment variable is set. | Serhiy Storchaka | 2014-11-27 | 1 | -2/+8 |
|\ \ | |/ | |||||
| * | Issue #22314: pydoc now works when the LINES environment variable is set. | Serhiy Storchaka | 2014-11-27 | 1 | -2/+8 |
| | | |||||
* | | Issue #20662: Argspec now is escaped in html output of pydoc. | Serhiy Storchaka | 2014-11-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #20662: Argspec now is escaped in html output of pydoc. | Serhiy Storchaka | 2014-11-17 | 1 | -1/+1 |
| | | |||||
| * | Move Doc/tools/sphinxext content to Doc/tools, there is no need for the ↵ | Georg Brandl | 2014-09-30 | 1 | -1/+1 |
| | | | | | | | | nested subdirectory anymore. | ||||
* | | Move Doc/tools/sphinxext content to Doc/tools, there is no need for the ↵ | Georg Brandl | 2014-09-30 | 1 | -1/+1 |
| | | | | | | | | nested subdirectory anymore. | ||||
* | | Merge from 3.4 | Senthil Kumaran | 2014-09-17 | 1 | -2/+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 | -2/+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 | -2/+2 |
| | | | | | | | | | | | | interfaces. | ||||
| | * | #17476: make allmethods actually return all methods. | R David Murray | 2013-03-19 | 1 | -1/+4 |
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | Issue #22033: Reprs of most Python implemened classes now contain actual | Serhiy Storchaka | 2014-07-25 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | class name instead of hardcoded one. | ||||
* | | | | Issue #21942: Fixed source file viewing in pydoc's server mode on Windows. | Zachary Ware | 2014-07-10 | 1 | -5/+3 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #21942: Fixed source file viewing in pydoc's server mode on Windows. | Zachary Ware | 2014-07-10 | 1 | -5/+3 |
| | | | | |||||
* | | | | merge 3.4 (#11709) | Benjamin Peterson | 2014-06-08 | 1 | -0/+2 |
|\ \ \ \ | |/ / / | |||||
| * | | | make sure the builtin help function doesn't fail when sys.stdin is not a ↵ | Benjamin Peterson | 2014-06-08 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | valid file (closes #11709) Original patch by Amaury Forgeot d'Arc with a test by bdettmer. | ||||
* | | | | merge 3.4 (#13223) | Benjamin Peterson | 2014-06-07 | 1 | -2/+7 |
|\ \ \ \ | |/ / / | |||||
| * | | | don't remove self from example code in the HTML output (closes #13223) | Benjamin Peterson | 2014-06-07 | 1 | -2/+7 |
| | | | | | | | | | | | | | | | | Patch by Víctor Terrón. | ||||
* | | | | Issue #20383: Introduce importlib.util.module_from_spec(). | Brett Cannon | 2014-05-30 | 1 | -6/+3 |
|/ / / | | | | | | | | | | | | | | | | Along the way, dismantle importlib._bootstrap._SpecMethods as it was no longer relevant and constructing the new function required partially dismantling the class anyway. | ||||
* | | | Issue #18918: Removed non-existing topic from a list of available topics. | Serhiy Storchaka | 2014-05-25 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | The 'File objects' section was removed in Python 3. Patch by Claudiu Popa. | ||||
* | | | Issue #21398: Fix an unicode error in the pydoc pager when the documentation | Victor Stinner | 2014-05-13 | 1 | -0/+3 |
| | | | | | | | | | | | | contains characters not encodable to the stdout encoding. | ||||
* | | | #9364: Improve the text printed by help(pydoc) and help(help). | R David Murray | 2014-04-19 | 1 | -3/+4 |
| | | | |||||
* | | | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #20710: The pydoc summary line no longer displays the "self" parameter | Larry Hastings | 2014-02-21 | 1 | -5/+16 |
| | | | | | | | | | | | | | | | | | | 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. |