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

Chris Angelico rosuav at gmail.com
Wed Jan 15 15:40:44 CET 2014

On Thu, Jan 16, 2014 at 1:25 AM, Eric V. Smith <eric at trueblade.com> wrote:
>> Easiest fix for that would be to have long.__repr__ omit the L tag.
>> Then it'll do the same as it would in Py3.
> I think Martin's point is not this specific thing, but that such a
> subset would be useless. Would you drop dict.items() because it returns
> different things in both languages? Drop range() because it's different?
> There are many, many such differences. The common subset is not useful.

Fair enough.


More information about the Python-Dev mailing list