[New-bugs-announce] [issue32915] Running Python 2 with -3 flag doesn't complain about cmp/__cmp__

Trey Hunner report at bugs.python.org
Thu Feb 22 18:41:55 EST 2018


New submission from Trey Hunner <trey at truthful.technology>:

I might be misunderstanding the use of the -3 flag, but it seems like cmp() and __cmp__ should result in warnings being displayed.

----------
components: 2to3 (2.x to 3.x conversion tool)
files: caseless.py
messages: 312604
nosy: trey
priority: normal
severity: normal
status: open
title: Running Python 2 with -3 flag doesn't complain about cmp/__cmp__
versions: Python 2.7
Added file: https://bugs.python.org/file47459/caseless.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32915>
_______________________________________


More information about the New-bugs-announce mailing list