Benjamin Peterson <[EMAIL PROTECTED]> added the comment:

Here's a patch for that. It gives warnings on use of __getslice__,
__delslice__, and __setslice__ and includes tests.
But
it only works on new style classes. I don't think this is a big problem
because users will see the warnings when they switch their classes to
new-style.

----------
keywords: +patch
nosy: +benjamin.peterson
Added file: http://bugs.python.org/file9808/slice_methods_py3kwarn.patch

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2351>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to