[issue2351] Using __(get|set|del)slice__ needs a Py3K warning

Brett Cannon report at bugs.python.org
Sun Aug 24 02:28:05 CEST 2008


Brett Cannon <brett at python.org> added the comment:

I reviewed the patch and made some changes (which I uploaded). Mostly
changed the punctuation of the warning, made sure that PyErr_WarnPy3k()
was used for all cases, and simplified the code for the test.

Assigning to Benjamin for him to decide if he likes the changes to his
patch (which I probably should have done in Rietveld in hindsight =).

----------
assignee:  -> benjamin.peterson
keywords:  -26backport
type:  -> behavior
Added file: http://bugs.python.org/file11232/slice_warnings.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2351>
_______________________________________


More information about the Python-bugs-list mailing list