A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-August/068155.html below:

[Python-Dev] __index__ clipping

[Python-Dev] __index__ clipping [Python-Dev] __index__ clippingGuido van Rossum guido at python.org
Fri Aug 11 07:47:50 CEST 2006
(adding back python-dev in the CC: list)

Right. I guess I didn't recompile after patching. Silly me (as Orlijn
would say :-).

Neal+Anthony, do you need me to review Nick's patch? If I don't have
to I'd rather pay more attention to py3k, which I've sadly neglected
in the past month (apart from giving a talk about it on at least 4
different occasions :-).

--Guido

On 8/10/06, Travis Oliphant <oliphant.travis at ieee.org> wrote:
> Guido van Rossum wrote:
> > Thanks for your understanding.
> >
> > Anyway, Nick's patch differs in at least one significant way from my
> > proposal -- (10**10).__index__() returns sys.maxint in his patch,
> > while I want it to return 10000000000L. So this is still an open
> > issue.
>
> Just to clarify.  I installed Nick's recent patch and it seems that
> (10**10).__index__() actually returns what Guido wants so I think we are
> all on the same page.
>
> Python 2.5b3 (trunk:51199M, Aug 10 2006, 21:59:31)
> [GCC 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> (10**10).__index__()
> 10000000000L
>
>
> -Travis
>
>


-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4