gesomax / httplib2

Automatically exported from code.google.com/p/httplib2
0 stars 0 forks source link

DeprecationWarning with python 2.6 #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. start python.exe (version 2.6 or 2.6 stackless)
2. import httplib2  

It gives your DeprecationWarning, because md5 and sha should be changed to 
hashlib.
In python 3.0 there is no more md5 or sha.

>>> import httplib2
httplib2\__init__.py:29: DeprecationWarning: the md5 module is deprecated; 
use hashlib instead
  import md5
httplib2\__init__.py:44: DeprecationWarning: the sha module is deprecated; 
use the hashlib module instead
  import sha

Original issue reported on code.google.com by eino.mak...@gmail.com on 19 Dec 2008 at 4:10

GoogleCodeExporter commented 8 years ago
this patch fix this issue :
http://code.google.com/p/httplib2/issues/detail?id=39

Original comment by bchesn...@gmail.com on 23 Dec 2008 at 10:37

GoogleCodeExporter commented 8 years ago
will this patch be in the next release?  any idea when that will be?

Original comment by cgoldberg on 9 Feb 2009 at 6:47

GoogleCodeExporter commented 8 years ago

Original comment by joe.gregorio@gmail.com on 9 Feb 2009 at 10:19

GoogleCodeExporter commented 8 years ago
Issue 48 has been merged into this issue.

Original comment by joe.gregorio@gmail.com on 26 Jul 2009 at 2:14