FYI to others - a workaround for this issue is to not use r.DOTALL or r.S. You have to change your regexes wherever you have a . match to be (.|\n|\r). This is not a 100% foolproof workaround, as there are other newline-esque characters that are rarely used, but it should hold you over until there is an upgraded python runtime on google's servers.
On Wednesday, July 10, 2013 12:21:03 PM UTC-4, Kinesh Patel wrote: > > It appears this problem is fixed on 64 bit builds, but broken on 32 bit > builds. > > http://bugs.python.org/issue17998 > > On Wednesday, July 10, 2013 12:17:42 PM UTC-4, Kinesh Patel wrote: >> >> Or perhaps use a version of python that doesn't have a release critical >> bug. I believe this has been patched already by the python community. >> >> On Wednesday, July 10, 2013 9:57:32 AM UTC-4, Michael Sander wrote: >>> >>> This appears to be a Python bug that was introduced in Python version >>> 2.7.5. I am guessing that when google upgraded to 1.8.1, it also upgraded >>> Python which broke this behavior. This is causing failures in my production >>> code. Google -- please revert to 1.8.1 ASAP! >>> >>> On Wednesday, July 10, 2013 1:32:43 AM UTC-4, Mitul Golakiya wrote: >>>> >>>> Google had automatically migrated My Apps GAE SDK version to 1.8.2 from >>>> 1.8.1... >>>> And now getting the same issue after migrating from 1.8.1 to 1.8.2... >>>> >>>> Is there any option, by which I can specify my app's GAE SDK version ??? >>>> >>>> On Wednesday, July 10, 2013 1:03:39 AM UTC+5:30, Kinesh Patel wrote: >>>>> >>>>> >>>>> Getting exceptions on the instances that have the new SDK (1.8.2) in >>>>> Python 2.7 >>>>> >>>>> nightloop/mailbot/parser.py", line 23, in _strip_suffix >>>>> result = re.findall(regex, body, re.S|re.I) >>>>> File >>>>> "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/re.py", >>>>> line 177, in findall >>>>> return _compile(pattern, flags).findall(string) >>>>> RuntimeError: internal error in regular expression engine >>>>> >>>>> App is currently broken because of it..... >>>>> >>>> -- 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. For more options, visit https://groups.google.com/groups/opt_out.
