Message299402
| Author |
Stefan Pochmann |
| Recipients |
Stefan Pochmann |
| Date |
2017年07月28日.16:03:22 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1501257802.36.0.460267167585.issue31071@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Python 3.6 makes it sound like maps aren't iterable:
>>> map(str, *map(int, [[]]))
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
map(str, *map(int, [[]]))
TypeError: type object argument after * must be an iterable, not map
More, including a likely explanation, in my question and its answer here:
https://stackoverflow.com/q/45363330/1672429
Apparently the TypeError from int([]) gets mistaken for a TypeError indicating non-iterability of the map object. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年07月28日 16:03:22 | Stefan Pochmann | set | recipients:
+ Stefan Pochmann |
| 2017年07月28日 16:03:22 | Stefan Pochmann | set | messageid: <1501257802.36.0.460267167585.issue31071@psf.upfronthosting.co.za> |
| 2017年07月28日 16:03:22 | Stefan Pochmann | link | issue31071 messages |
| 2017年07月28日 16:03:22 | Stefan Pochmann | create |
|