[New-bugs-announce] [issue4910] help(int.__long__) refers to nonexistent long function

Mark Dickinson report at bugs.python.org
Sat Jan 10 21:32:22 CET 2009


New submission from Mark Dickinson <dickinsm at gmail.com>:

In Python 3.x:

>>> int.__long__.__doc__
'x.__long__() <==> long(x)'

But the long builtin no longer exists.

I'm actually not sure why the nb_long slot still exists in 3.x at all.  
Can anyone enlighten me?

----------
messages: 79571
nosy: marketdickinson
severity: normal
status: open
title: help(int.__long__) refers to nonexistent long function
versions: Python 3.0, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4910>
_______________________________________


More information about the New-bugs-announce mailing list