Re: Obsolete method in the html module

2018-06-09 Thread Terry Reedy

On 6/9/2018 4:07 AM, Vincent Vande Vyvre wrote:

In Python-3.7.0b5 we can find at the end of html/parser.py:

     def unescape(self, s):
     warnings.warn('The unescape method is deprecated and will be 
removed '

   'in 3.5, use html.unescape() instead.',
   DeprecationWarning, stacklevel=2)
     return unescape(s)


https://bugs.python.org/issue33813

--
Terry Jan Reedy


--
https://mail.python.org/mailman/listinfo/python-list


Obsolete method in the html module

2018-06-09 Thread Vincent Vande Vyvre

Not really important, just a comment.

In Python-3.7.0b5 we can find at the end of html/parser.py:

    def unescape(self, s):
    warnings.warn('The unescape method is deprecated and will be 
removed '

  'in 3.5, use html.unescape() instead.',
  DeprecationWarning, stacklevel=2)
    return unescape(s)

Vincent

(send at 08:07 GMT)

--
https://mail.python.org/mailman/listinfo/python-list