Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > 3.1 -> 3.2: base64 lost deprecation warning

Reply
Thread Tools

3.1 -> 3.2: base64 lost deprecation warning

 
 
Ethan Furman
Guest
Posts: n/a
 
      02-28-2011
Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
--> import base64
--> base64.encodestring(b'this is a test')
__main__:1: DeprecationWarning: encodestring() is a deprecated alias,
use encodebytes()
b'dGhpcyBpcyBhIHRlc3Q=\n'


Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit
(Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
--> import base64
--> base64.encodestring(b'another test')
b'dGhpcyBpcyBhIHRlc3Q=\n'


The deprecation warning has gone away in 3.2, but the function
remains... does anyone know if this was intentional?

~Ethan~
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
warning: [deprecation] in java.util.Date(java.lang.String) has been deprecated BoBi Java 3 12-15-2006 04:51 AM
MCSBNGP+++ Public apology on behalf of Frisbee(R) (with bonus self-deprecation) /* MCSBNGP+++ #270-290-291-293-294-298-299# */ MCSE 21 07-29-2005 05:09 PM
How to set -deprecation in Sun Studio 5 Ray Mitchell Java 1 11-09-2003 08:02 PM
RE: FCNTL module deprecation warning Tony Meyer Python 0 07-15-2003 11:40 PM
FCNTL module deprecation warning Meyer, Tony Python 2 07-15-2003 02:25 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57