mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Merge 3.5 (Issue #19235)
This commit is contained in:
commit
bb215e2300
31 changed files with 101 additions and 69 deletions
|
@ -497,8 +497,9 @@ pattern_error(Py_ssize_t status)
|
|||
{
|
||||
switch (status) {
|
||||
case SRE_ERROR_RECURSION_LIMIT:
|
||||
/* This error code seems to be unused. */
|
||||
PyErr_SetString(
|
||||
PyExc_RuntimeError,
|
||||
PyExc_RecursionError,
|
||||
"maximum recursion limit exceeded"
|
||||
);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue