This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: recursion limit exceeded when importing .pyc module
Type: behavior Stage:
Components: Interpreter Core Versions: Python 3.0
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: amaury.forgeotdarc Nosy List: amaury.forgeotdarc, bhy
Priority: normal Keywords:

Created on 2008-05-24 10:50 by bhy, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit bhy, 2008-05-24 10:49 a huge module used to show the problem
Messages (3)
msg67290 - (view) Author: Haoyu Bai (bhy) Date: 2008-05-24 10:49
To reproduce the bug, save the uploaded, then import the module

$ python3 -c 'import huge'
$ python3 -c 'import huge'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ValueError: recursion limit exceeded

But there's no such problem in Python 2.5.2.
msg67366 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2008-05-26 07:37
It's a bug in marshal.c: near the end of r_object(), there is an extra
"return v" that should be removed.
msg67398 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2008-05-26 21:42
Corrected as r63731.
Thanks for the report!
Date User Action Args
2022-04-11 14:56:34adminsetgithub: 47206
2008-05-26 21:42:25amaury.forgeotdarcsetstatus: open -> closed
resolution: fixed
messages: + msg67398
2008-05-26 07:37:42amaury.forgeotdarcsetassignee: amaury.forgeotdarc
messages: + msg67366
nosy: + amaury.forgeotdarc
2008-05-24 10:50:07bhycreate