[issue15718] Possible OverflowError in __len__ method undocumented (when called via len() function)

2012-08-17 Thread Rostyslav Dzinko

New submission from Rostyslav Dzinko:

I've encountered that OverflowError which can happen in __len__ method is still 
undocumented, though one issue on this problem: 
http://bugs.python.org/issue12159 ended up with "need to be documented" comment.

Link to documentation: 
http://docs.python.org/reference/datamodel.html#object.__len__

I think it must be clarified that __len__ return value is constrained to upper 
boundary (Py_ssize_t c type) when you plan to call it via len() built-in 
function.

--
assignee: docs@python
components: Documentation
messages: 168439
nosy: Rostyslav.Dzinko, docs@python
priority: normal
severity: normal
status: open
title: Possible OverflowError in __len__ method undocumented (when called via 
len() function)
versions: Python 2.7

___
Python tracker 
<http://bugs.python.org/issue15718>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15718] Possible OverflowError in __len__ method undocumented (when called via len() function)

2012-08-17 Thread Rostyslav Dzinko

Changes by Rostyslav Dzinko :


--
type:  -> behavior

___
Python tracker 
<http://bugs.python.org/issue15718>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15808] Possibility of setting custom key bindings for "Additional help sources" menu items

2012-08-29 Thread Rostyslav Dzinko

New submission from Rostyslav Dzinko:

There's a possibility to add additional help sources in IDLE via

Options -> Configure IDLE... -> General -> Additional Help Sources

Use case:

> If someone wants to download certain version of Python documentation in HTML 
> and specify local "index.html" to be opened by custom menu item which appears 
> the in Help menu.

Problem:

> It's not possible to assign custom hot-key (Options -> Configure IDLE... -> 
> Keys) for such menu items or reassign  to that new menu-item, which 
> actually makes sense when talking in context of the use case specified above.

This use case was taken from real life (stackoverflow site):

http://stackoverflow.com/questions/12174255/linking-offline-documentation-to-idle-linux

--
components: IDLE
messages: 169365
nosy: Rostyslav.Dzinko
priority: normal
severity: normal
status: open
title: Possibility of setting custom key bindings for "Additional help sources" 
menu items
type: enhancement
versions: 3rd party, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 
3.3, Python 3.4

___
Python tracker 
<http://bugs.python.org/issue15808>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15808] Possibility of setting custom key bindings for "Additional help sources" menu items

2012-08-29 Thread Rostyslav Dzinko

Changes by Rostyslav Dzinko :


--
versions:  -3rd party

___
Python tracker 
<http://bugs.python.org/issue15808>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com