Issue 1590804: python: Python/ast.c:541: seq_for_testlist: Assertion (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/44197

classification

Title: python: Python/ast.c:541: seq_for_testlist: Assertion
Type: Stage:
Components: Interpreter Core Versions:

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, jaytmiller, loewis
Priority: normal Keywords:

Created on 2006-11-05 13:13 by jaytmiller, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
x.py loewis,2006-11-05 22:23 test case
ast.diff loewis,2006-11-05 22:24 patch
Messages (4)
msg30447 - (view) Author: Jay T Miller (jaytmiller) Date: 2006-11-05 13:13
When I build Python for debug using --with-pydebug on linux platforms (RHEL3 or FC6) I get the following assertion error when I try to install numpy-1.0: [jmiller@localhost numpy-1.0]$ python setup.py install Running from numpy source directory. python: Python/ast.c:541: seq_for_testlist: Assertion `((n)->n_type) == 326 | ((n)->n_type) == 318
msg30448 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-11-05 22:23
Logged In: YES user_id=21627 Thanks for the report. Attached is a simplified test case, and a patch.
msg30449 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-11-05 23:01
Logged In: YES user_id=849994 Wasn't that already fixed with #1588287?
msg30450 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-11-05 23:11
Logged In: YES user_id=21627 Indeed; I hadn't updated my tree. Closing as fixed.
History
Date User Action Args
2022-04-11 14:56:21 admin set github: 44197
2006-11-05 13:13:37 jaytmiller create