Serhiy Storchaka added the comment: Committed patch covers a large part of this issue, but not all.
Following patch emits py3k warning for unicode.decode(). For now unicode(u'a', 'ascii') is forbidden, but u'a'.decode('ascii') is allowed in 2.7. The risk of false positive in this patch is lower than in emitting warning on str.encode(), but is larger than in just committed patch. ---------- Added file: http://bugs.python.org/file39576/issue19543_unicode_decode.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19543> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com