I am running 2.5.4 on 9.10 and don't get the deprecation warning and
never have with appengine and I have.

As for MD5 being hacked, yep but the ramifications of that are
dependent on why it is being used.
If you are using it to generate hashes to compare files that only you
have access too then I would suggest there is little or no risk.
So that isn't exactly sweeping things under the rug.

And as for 2.6.4 yes it runsappengine fine in dev, and your code base
will work
in prod right up until you start using any code with the "with"
statement for instance.

There are more than a few postings in this group where people cant get
things to work
purely because they have been using 2.6.x

Rgds

T


On Apr 10, 11:32 am, 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.
>
> Joe
>
> On Apr 8, 10:06 pm, Wooble <[email protected]> wrote:
>
>
>
> > App Engine runs on python 2.5, where md5 is not deprecated.  It's
> > unlikely google will "fix" this, since the error is caused by you
> > using an unsupported python version.
>
> > On Apr 8, 4:13 pm, JoeM <[email protected]> wrote:> Hello,
>
> > > This post is directed to the appengine developers who work for Google.
>
> > > In the past I have, on my local appengine server, fixed source code
> > > to
> > > eliminate use of deprecated code.  But going forward I see it is much
> > > better if the fix is made at the source of the distribution.
>
> > > I am running Ubuntu 9.10 on my desktop system where I run the local
> > > appengine server and I get the message below when I start the server.
>
> > > /home/joe/google_appengine_1.3.2/google/appengine/tools/appcfg.py:41:
> > > DeprecationWarning: the sha module is deprecated; use the hashlib
> > > module instead
> > >   import sha
> > > /home/joe/google_appengine_1.3.2/google/appengine/tools/
> > > dev_appserver_login.py:33: DeprecationWarning: the md5 module is
> > > deprecated; use hashlib instead
> > >   import md5
>
> > > Joe

-- 
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.

Reply via email to