On Apr 9, 11:32 pm, JoeM <[email protected]> wrote: > I checked and saw that since I upgraded to Ubuntu 9.10 the Python has > been changed to Python 2.6.4. However your theory about lack of > Python > 2.5 being the cause of the deprecation messages is refuted by the fact > that when > I ran with Python 2.5.4 I got the same deprecation warnings for md5 > only much more of them. > I fixed my 2.5.4 as advised and they went away. > > In any event now that it is known that md5 has been hacked it should > be fixed not swept > under any rug. > > Just an FYI Google appengine runs fine with Python 2.6.4.
md5 isn't deprecated in python 2.6 because it's been hacked; hashlib consolidates the scattered hashing modules into 1. It still lets you use md5. also: [~] % python Python 2.5.4 (r254:67916, Jul 7 2009, 23:51:24) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import md5 >>> ^D [~] % python2.6 Python 2.6.2 (r262:71600, Jul 17 2009, 11:51:35) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import md5 __main__:1: DeprecationWarning: the md5 module is deprecated; use hashlib instead >>> YMMV. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
