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.

classification
Title: itertools.tee raises SystemError
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: belopolsky
Priority: normal Keywords:

Created on 2006-09-01 21:17 by belopolsky, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg29731 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2006-09-01 21:17
>>> from itertools import tee
>>> tee([],-1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SystemError: Objects/tupleobject.c:32: bad argument to
internal function

This should be a ValueError instead.

(Still present in trunk:51513M)
msg29732 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2006-09-01 21:18
Logged In: YES 
user_id=835142

SF glitch
History
Date User Action Args
2022-04-11 14:56:19adminsetgithub: 43924
2006-09-01 21:17:31belopolskycreate