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/2014-January/131622.html below:

[Python-Dev] Common subset of python 2 and python 3

[Python-Dev] Common subset of python 2 and python 3 [Python-Dev] Common subset of python 2 and python 3Serhiy Storchaka storchaka at gmail.com
Wed Jan 15 15:31:17 CET 2014
15.01.14 14:22, "Martin v. Löwis" написав(ла):
> I don't think that it is possible to write an interpreter that is fully
> compatible for all it accepts. Would you think that the program
>
> print(repr(2**80).endswith("L"))
>
> is in the subset that should be supported by both Python 2 and Python 3?
>
> Notice that it prints "True" in Python 2 and "False" in Python 3.

This is implementation details. On 128-bit platform special build of 
Python 2 can print False.

Of course there are many other differences between Python 2 and Python 3 
besides unicode model and unified integers.

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