Message217474
| 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 |
<1398752823.28.0.548808771878.issue21321@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Hi Antoine,
my test works for me. It can be either
>>> a = [1, 2, 3]
or
>>> 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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年04月29日 06:27:03 | Anton.Afanasyev | set | recipients:
+ Anton.Afanasyev, rhettinger, pitrou |
| 2014年04月29日 06:27:03 | Anton.Afanasyev | set | messageid: <1398752823.28.0.548808771878.issue21321@psf.upfronthosting.co.za> |
| 2014年04月29日 06:27:03 | Anton.Afanasyev | link | issue21321 messages |
| 2014年04月29日 06:27:02 | Anton.Afanasyev | create |
|