Issue2494
Created on 2016-04-18.15:36:22 by jenselme, last changed 2018-11-04.16:13:09 by jeff.allen.
msg10837 (view) |
Author: Julien Enselme (jenselme) |
Date: 2016-04-18.15:36:21 |
|
Hi,
I am a member of the NbPython team (http://nbpython.org/). We develop the python plugin for Netbeans IDE and bundle Jython in our plugin.
While working on completion with the Jedi library (https://jedi.readthedocs.org), I noticed that pydoc_data is not available in Jython. pydoc_data is a module from the standard library of python.
What I did:
```
import pydoc_data
```
What I get:
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named pydoc_data
```
Expected result: the module is correctly imported without errors.
See https://hg.python.org/cpython/file/2.7/Lib/pydoc_data for the code in cpython.
|
msg11792 (view) |
Author: Jeff Allen (jeff.allen) |
Date: 2018-03-13.21:29:42 |
|
Background (because I didn't know): pydoc_data contains a generated package defining non-docstring help strings that enables this:
>>> help("if")
The ``if`` statement
********************
The ``if`` statement is used for conditional execution:
if_stmt ::= "if" expression ":" suite
...
This works for me in 2.7.2a1+, no doubt as a side effect of updating lib-python. Propose to close. (Can't really claim "fixed".)
|
|
Date |
User |
Action |
Args |
2018-11-04 16:13:09 | jeff.allen | set | status: pending -> closed |
2018-03-13 21:29:42 | jeff.allen | set | priority: normal status: open -> pending resolution: works for me messages:
+ msg11792 nosy:
+ jeff.allen |
2016-04-18 15:36:22 | jenselme | create | |
|