Ezio Melotti added the comment: DeprecationWarning: Base class for warnings about deprecated features. UserWarning: Base class for warnings generated by user code. RuntimeWarning: Base class for warnings about dubious runtime behavior. FutureWarning: Base class for warnings about constructs that will change semantically in the future.
I think FutureWarning would be a good choice here, since we are going to change the semantics of a construct (before zero-width pattern didn't split -> in the future they will). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22818> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com