Terry J. Reedy added the comment:

Great. Old and new both in at least one release, when possible, is best. I 
should have thought of asking if that would be possible. In this case, I think 
the (undocumented) old should disappear in 3.5.

Since the mistaken 'pattern' name is not documented now, I would not add 
anything to the doc.

I would augment the the warning
 "The 'pattern' keyword parameter name is deprecated."
to briefly explain the deprecation and its timing by saying
 "The erroneous and undocumented 'pattern' keyword parameter name is deprecated 
and will be removed in version 3.5."

The patch did not upload correctly. I just see "Modules/_sre.c |   64 
+++++++++++++++++++++++++++++++++++++++!!!!!!!!!!!!!!!!!!
  1 file changed, 44 insertions(+), 20 modifications(!)" when I open it in a 
new Firefox tab.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20283>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to