Message252443
| Author | john.black.3k |
|---|---|
| Recipients | NeilGirdhar, Rosuav, Yury.Selivanov, belopolsky, berker.peksag, ethan.furman, gvanrossum, john.black.3k, ncoghlan, python-dev, r.david.murray, rhettinger, schlamar, scoder, serhiy.storchaka, vstinner, yselivanov |
| Date | 2015-10-07.01:43:49 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1444182229.59.0.769852073991.issue22906@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Please ignore my previous comment - now I understood what is going on. The `its` generator is a one-shot iterator so is exhausted the first time the while loop is run. Therefore, on subsequent loops, only empty tuples are yielded. Still learning about generators... :) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-10-07 01:43:49 | john.black.3k | set | recipients: + john.black.3k, gvanrossum, rhettinger, ncoghlan, belopolsky, scoder, vstinner, r.david.murray, ethan.furman, Yury.Selivanov, python-dev, schlamar, Rosuav, berker.peksag, serhiy.storchaka, yselivanov, NeilGirdhar |
| 2015-10-07 01:43:49 | john.black.3k | set | messageid: <1444182229.59.0.769852073991.issue22906@psf.upfronthosting.co.za> |
| 2015-10-07 01:43:49 | john.black.3k | link | issue22906 messages |
| 2015-10-07 01:43:49 | john.black.3k | create | |