Terry Reedy wrote:
On 2/28/2011 3:51 PM, Ethan Furman wrote:
The deprecation warning has gone away in 3.2,

No, still there:
def encodestring(s):
    """Legacy alias of encodebytes()."""
    import warnings
warnings.warn("encodestring() is a deprecated alias, use encodebytes()",
                  DeprecationWarning, 2)
    return encodebytes(s)

In 3.2, DeprecationWarnings are turned off by default so as to not annoy users who can do nothing about them and developers who do not want to do anything at the moment. I presume the doc for warnings says how to turn them back on.


Ah, thank you!

~Ethan~
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to