New submission from Michael Orlitzky <mich...@orlitzky.com>:

The attached file contains a huge, ugly expression that can be parsed in 
python-2.7 but not python-3.x (I've tested 3.7, 3.8, and 3.9). With the 3.x 
versions, I get

  $ python3 DPT_defn 
  RecursionError: maximum recursion depth exceeded during compilation

Python-2.7, on the other hand, is able to parse & compile much larger 
expressions -- this example was whittled down until it was roughly minimal.

----------
components: Interpreter Core
files: DPT_defn
messages: 383084
nosy: mjo
priority: normal
severity: normal
status: open
title: RecursionError when parsing unwieldy expression (regression from 2.7 -> 
3.x)
versions: Python 3.9
Added file: https://bugs.python.org/file49683/DPT_defn

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42649>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to