On Saturday, May 4, 2013 7:24:04 PM UTC-5, NP wrote: > Finally, the Key IDs for my datastore entities are automatically > generated. I noticed that for python 2.7, these IDs are very long (they are > 16 digits long on my development server) whereas they are shorter on python > 2.5 (6 digits long). Is there something I can do to reduce the length in > 2.7 or is this the expected behavior in 2.7?
The longer datastore entity IDs are not from Python 2.7, they're due to App Engine switching over to scattered ID allocation: https://groups.google.com/forum/?fromgroups=#!topic/google-appengine/YlCZ3z7lwdI . On the local datastore, you can switch to sequential allocation by setting a system property: https://developers.google.com/appengine/docs/java/tools/devserver#Using_the_Datastore (scroll down to Specifying the Automatic ID Allocation Policy ). On Saturday, May 4, 2013 7:24:04 PM UTC-5, NP wrote: > > My app is currently deployed on GAE using python 2.5. > > I have made changes to the code and it is now running on python 2.7 and > lxml. Before deploying the 2.7 code, I wanted to find out if there are any > specific things I should watch out for/check for. > > Secondly, since we can deploy different versions of our code, is it > possible for me to have both the 2.5 and 2.7 codes (as different versions) > or is there a requirement that all versions of your app must use the same > python version? I was thinking of deploying the 2.7 as a different version > and watching how it performed before deleting the 2.5 version. > > Yes, you can have a Python 2.5 version and a Python 2.7 version in a single application ID. ----------------- -Vinny P Technology & Media Advisor Chicago, IL My Go side project: http://invalidmail.com/ -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
