New submission from Serhiy Storchaka: Several warnings are emitted when run Python 2.7 tests with -Wd -3 options.
1. "DeprecationWarning: <> not supported in 3.x; use !=" and "DeprecationWarning: dict.has_key() not supported in 3.x; use the in operator" in Tools/scripts/fixcid.py. 2. "DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x" in Lib/test/pickletester.py. 3. "SyntaxWarning: tuple parameter unpacking has been removed in 3.x" in Lib/lib-tk/turtle.py. Proposed patch fixes these warnings. ---------- components: Tests files: tests_py3k_warns.patch keywords: patch messages: 279268 nosy: benjamin.peterson, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Py3k warnings in Python 2.7 tests versions: Python 2.7 Added file: http://bugs.python.org/file45197/tests_py3k_warns.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28515> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com