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.

Author Anton.Afanasyev
Recipients Anton.Afanasyev, pitrou, rhettinger
Date 2014-04-29.06:27:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Hi Antoine,
my test works for me. It can be either
>>> a = [1, 2, 3]
>>> a = iter([1, 2, 3])
, no matter: both objects will be +1 referenced after taking
>>> b = islice(a, 1)
My test failed without patch and passed with one.

But your test is more straightforward, thanks.
Attaching patches with your test.
Date User Action Args
2014-04-29 06:27:03Anton.Afanasyevsetrecipients: + Anton.Afanasyev, rhettinger, pitrou
2014-04-29 06:27:03Anton.Afanasyevsetmessageid: <>
2014-04-29 06:27:03Anton.Afanasyevlinkissue21321 messages
2014-04-29 06:27:02Anton.Afanasyevcreate