Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with "pydoc httplib" #42

Closed
patxoca opened this issue Dec 30, 2014 · 1 comment
Closed

Issues with "pydoc httplib" #42

patxoca opened this issue Dec 30, 2014 · 1 comment

Comments

@patxoca
Copy link

patxoca commented Dec 30, 2014

I discovered pydoc.el a couple of days ago, its great! No contrived setup, works out of the box, useful ... very nice idea.

I've been playing with it a bit and I've found a couple of issues, they are not specific to httplib docs but this way you can reproduce the errors.

  • Executing pydoc httplib fails with:

    pydoc-make-url-links: Search failed: "http://httplib:"

    Changing the regex on line 59 to https?: seems to solve the issue.

  • Python 2.x old style classes are not linkified, btw class HTTP, class HTTPConnection etc. The problem is the regex used to identify classes, it expects a list of parent classes in parentheses. This will affect python 3.x classes too.

  • Executing pydoc httplib.SomeClass does not linkify the methods, in this case the problem is the number of spaces on the left side of the vertical bar.

patxoca added a commit to patxoca/dot-emacs that referenced this issue Jan 1, 2015
- uses org functionallity but does not requires it

- the entry point should be autoloaded

- fixes jkitchin/jmax#42


git-svn-id: svn://localhost/emacslib/emacslib/trunk@568 a9598837-e506-0410-a967-fbf0066ee963
jkitchin added a commit that referenced this issue Jan 3, 2015
@jkitchin
Copy link
Owner

jkitchin commented Jan 3, 2015

These are mostly fixed now. I found a better solution to the https? code I think: goto-address-mode. I think bullet 2 is fixed, and I think bullet 3 is fixed. Thanks for the report.

@jkitchin jkitchin closed this as completed Jan 3, 2015
statmobile pushed a commit to statmobile/pydoc that referenced this issue Feb 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants