[issue28515] Py3k warnings in Python 2.7 tests

2016-10-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you David for your advise. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue28515] Py3k warnings in Python 2.7 tests

2016-10-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 77571b528f6a by Serhiy Storchaka in branch '2.7': Issue #28515: Fixed py3k warnings. https://hg.python.org/cpython/rev/77571b528f6a -- nosy: +python-dev ___ Python tracker

[issue28515] Py3k warnings in Python 2.7 tests

2016-10-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file45198/tests_py3k_warns_2.patch ___ Python tracker ___

[issue28515] Py3k warnings in Python 2.7 tests

2016-10-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, this work just great! And even generate appropriate error message. -- ___ Python tracker ___

[issue28515] Py3k warnings in Python 2.7 tests

2016-10-23 Thread R. David Murray
R. David Murray added the comment: I don't think it should ever be necessary to raise unhashable type from a __hash__ method. Can't you just set it to None? -- nosy: +r.david.murray ___ Python tracker

[issue28515] Py3k warnings in Python 2.7 tests

2016-10-23 Thread Serhiy Storchaka
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.