Message148127
| Author |
amaury.forgeotdarc |
| Recipients |
PyryP, amaury.forgeotdarc, ezio.melotti, rhettinger, vstinner |
| Date |
2011年11月22日.16:28:14 |
| SpamBayes Score |
0.0071373596 |
| Marked as misclassified |
No |
| Message-id |
<1321979295.37.0.834768057774.issue13454@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Also, a check for NULL would not hurt in tee_next():
diff -r 1e0e821d2626 Modules/itertoolsmodule.c
--- a/Modules/itertoolsmodule.c Fri Nov 04 22:17:45 2011 +0100
+++ b/Modules/itertoolsmodule.c Tue Nov 22 17:24:42 2011 +0100
@@ -475,6 +475,8 @@
if (to->index >= LINKCELLS) {
link = teedataobject_jumplink(to->dataobj);
+ if (link == NULL)
+ return NULL;
Py_DECREF(to->dataobj);
to->dataobj = (teedataobject *)link;
to->index = 0; |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年11月22日 16:28:15 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, rhettinger, vstinner, ezio.melotti, PyryP |
| 2011年11月22日 16:28:15 | amaury.forgeotdarc | set | messageid: <1321979295.37.0.834768057774.issue13454@psf.upfronthosting.co.za> |
| 2011年11月22日 16:28:14 | amaury.forgeotdarc | link | issue13454 messages |
| 2011年11月22日 16:28:14 | amaury.forgeotdarc | create |
|