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/2002-June/025254.html below:

[Python-Dev] Negative long literals (was Re: Does Python need a '>>>' operator?)

[Python-Dev] Negative long literals (was Re: Does Python need a '>>>' operator?) [Python-Dev] Negative long literals (was Re: Does Python need a '>>>' operator?)Tim Peters tim.one@comcast.net
Mon, 10 Jun 2002 10:08:15 -0400
>> If you have a *positive* long that would fit in a 32-bit
>> unsigned int ..
>   Whoops. That should have been a 0x8... in my example :)

[Michael Gilfix]
>    At ny rate, I wish this function was available as a built-in. It
> would be nice if I had some conversion function where python looked
> at the highest bit and treated that as my word boundary to determine
> whether the number is positive or not.

Write a patch and try to sell it to Guido.  I expect that with int/long
unification coming along nicely, it doesn't stand much chance.





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