Joseph Fox-Rabinovitz added the comment:
I closed the issue (it's already been rejected), primarily based on
> a.__index__ = is an unauthorized use of a *reserved* word and the
> effect of such usage is not and need not be documented.
> The entry for __*__ does include
New submission from Joseph Fox-Rabinovitz :
ctypes.CDLL initializer defined in version 3.8 and beyond as
```
def __init__(self, name, mode=DEFAULT_MODE, handle=None,
use_errno=False,
use_last_error=False,
winmode=None):
```
Documentation says `winmode=0
Change by Joseph Fox-Rabinovitz :
--
title: Documentation of -> Documentation of ctypes.CDLL does not correspond to
code
___
Python tracker
<https://bugs.python.org/issu
Joseph Fox-Rabinovitz added the comment:
Company firewall mutilated the text. Here is another attempt:
ctypes.CDLL initializer defined in version 3.8 and beyond as
```
def __init__(self, name, mode=DEFAULT_MODE, handle=None,
use_errno=False,
use_last_error=False
Joseph Fox-Rabinovitz added the comment:
Last attempt before I give up:
ctypes.CDLL initializer defined in version 3.8 and beyond as
```
def __init__(self, name, mode=DEFAULT_MODE, handle=None,
use_errno=False,
use_last_error=False,
winmode=None
Changes by Joseph Fox-Rabinovitz :
--
type: behavior ->
___
Python tracker
<http://bugs.python.org/issue31042>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Joseph Fox-Rabinovitz:
The docs for [`operator.index`][1] and `operator.__index__` state that
> Return *a* converted to an integer. Equivalent to `a.__index__()`.
The first sentence is correct, but the second is not. First of all, we have the
data model [docs][2]:
&g
Joseph Fox-Rabinovitz added the comment:
I brought up the issue because it was really a point of confusion for me.
Could we make the change to "Roughly equivalent" and make that a link to
https://docs.python.org/3/reference/datamodel.html#special-method-lookup?
That would make it cle