I have several mission critical services running in P2.7. About 13,000 lines of 
python code.

To get a feel for what P3.7 would be like, I used the new environment to create 
a couple new services. It was not fun. Everything about the new environment is 
10x more complicated, working with a local database is well neigh impossible, 
and the new code patterns are different enough from the old code patterns, that 
I’m looking at a line-by-line rewrite.

For example, to delete something from google.appengine.ext.db

        model.delete()

To delete something from google.cloud.ndb

        model.key.delete()

It’s a small change, but since Python is not compiled, nothing is going to help 
me find that other than rigorous search and runtime errors.

All told, I think migrating all my services from P2.7 to P3.7 is going to take 
at least a couple person-months of labor. It’s a nightmare.

Google completely botched this. They should have created polyfills so we can 
just deal with the few language change issues, but not have to switch to an 
entirely different set of services.

-Joshua

> On May 5, 2020, at 4:17 PM, 'Charlie Engelke' via Google App Engine 
> <[email protected]> wrote:
> 
> I'd still like to here anyone's stories involving migrating their App Engine 
> apps from Python 2.7 to Python 3.7. Have you migrated yet? Planning to do so 
> soon? Not going to move to the new platform?
> 
> And any particular pain points? Things that would have helped? 
> 
> Thanks,
> 
> Charlie
> 
> On Friday, May 1, 2020 at 2:18:33 PM UTC-7 Charlie Engelke wrote:
> Have you recently migrated from App Engine for Python 2.7 to App Engine for 
> Python 3.7? Are you working on migrating now, or planning to soon? Or maybe 
> you are using App Engine for Python 2.7 and aren't planning such a migration.
> 
> In each of those cases, I'd like to hear how things went or are going for 
> you, pain points you encounter, things that went easily, and anything else 
> you have to share. I'm working on creating some new code samples to help with 
> this, and your stories will be a big help.
> 
> Thanks,
> 
> Charlie
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-appengine/850cd6fa-77a4-436d-8d7e-40eab67f84eb%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/google-appengine/850cd6fa-77a4-436d-8d7e-40eab67f84eb%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6A942BC1-FD7E-4D35-816A-3B1B53F75886%40gmail.com.

Reply via email to