[Python-Dev] Common subset of python 2 and python 3 (original) (raw)

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.

ChrisA



More information about the Python-Dev mailing list