Message139100
It turned out that although the addinfourl instance had the `__iter__` attribute in `addbase.__init__` correctly assigned, `__iter__` wasn't found by the `iter` builtin. It seems that `iter` always tries to use the `__iter__` method of the _class_ and doesn't look at the instance.
Riccardo Attilio Galli and I made the attached patch. The patch also fixes a corresponding `TypeError` for "file://" URLs, not just "ftp://" URLs. |
|
Date |
User |
Action |
Args |
2011-06-25 16:37:52 | sschwarzer | set | recipients:
+ sschwarzer, jhylton, facundobatista, orsenthil, ajaksu2, jwilk, zanella, pl, Arfrever, marduk, flox, santoso.wijaya, bbrazil |
2011-06-25 16:37:52 | sschwarzer | set | messageid: <1309019872.55.0.743837456138.issue4608@psf.upfronthosting.co.za> |
2011-06-25 16:37:52 | sschwarzer | link | issue4608 messages |
2011-06-25 16:37:51 | sschwarzer | create | |
|