[issue20689] socket.AddressFamily is absent in html pydoc

2014-05-27 Thread Vajrasky Kok

Vajrasky Kok added the comment:

I found the culprit. The AddressFamily is not registered in _socket module. I 
created a preliminary patch to show the culprit.

--
keywords: +patch
nosy: +vajrasky
Added file: http://bugs.python.org/file35379/pydoc_display_AddressFamily.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20689
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20689] socket.AddressFamily is absent in html pydoc

2014-05-27 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
nosy:  -berker.peksag

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20689
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20689] socket.AddressFamily is absent in html pydoc

2014-05-27 Thread STINNER Victor

STINNER Victor added the comment:

I found the culprit. The AddressFamily is not registered in _socket module. I 
created a preliminary patch to show the culprit.

That's not surprising, this type is created in socket (socket.py), not in 
_socket (the C module). Your patch is wrong.

--
nosy: +haypo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20689
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20689] socket.AddressFamily is absent in html pydoc

2014-05-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Ah, now I see what is wrong.

Actually AddressFamily is missing in text output of pydoc too. Because 
AddressFamily is not included in the __all__ list. SocketType is included, 
but this is different SocketType, SocketType from _socket (see issue20386).

Here is a patch which fixes this issue.

--
assignee:  - serhiy.storchaka
stage:  - patch review
versions: +Python 3.5
Added file: http://bugs.python.org/file35380/socket__all__.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20689
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20689] socket.AddressFamily is absent in html pydoc

2014-05-24 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


Added file: http://bugs.python.org/file35337/socket.SocketType.html

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20689
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20689] socket.AddressFamily is absent in html pydoc

2014-05-24 Thread Berker Peksag

Berker Peksag added the comment:

I couldn't reproduce this issue. I'm attaching HTML output of both 
socket.AddressFamily and socket.SocketType enum types.

--
nosy: +berker.peksag
Added file: http://bugs.python.org/file35336/socket.AddressFamily.html

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20689
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20689] socket.AddressFamily is absent in html pydoc

2014-05-24 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Try ./python -m pydoc -w socket.

--
Added file: http://bugs.python.org/file35338/socket.html

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20689
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20689] socket.AddressFamily is absent in html pydoc

2014-02-19 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

The documentation for socket.AddressFamily (unlike to SocketType) isn't 
generated in html page by pydoc.

May be issue20654 is similar to this issue.

--
components: Library (Lib)
messages: 211662
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: socket.AddressFamily is absent in html pydoc
type: behavior
versions: Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20689
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com