Issue 1550714: itertools.tee raises SystemError (original) (raw)

Issue1550714

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.

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

classification

Title: itertools.tee raises SystemError
Type: Stage:
Components: Library (Lib) Versions: Python 2.5

process

Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: belopolsky, nnorwitz
Priority: normal Keywords:

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

Messages (4)
msg29727 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2006-09-01 19:20
>>> from itertools import tee >>> tee([],-1) Traceback (most recent call last): File "", line 1, in SystemError: Objects/tupleobject.c:32: bad argument to internal function This should be a ValueError instead. (Still present in trunk:51513M)
msg29728 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-09-02 02:26
Logged In: YES user_id=33168 this needs a check. i've got a patch that i'll check in in a bit.
msg29729 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-09-02 02:58
Logged In: YES user_id=33168 Thanks for the report! Committed revision 51684. 2.6
msg29730 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-09-05 02:31
Logged In: YES user_id=33168 Committed revision 51722. for 2.5 This also affects 2.4 if anyone wants to backport.
History
Date User Action Args
2022-04-11 14:56:19 admin set github: 43923
2006-09-01 19:20:51 belopolsky create