Message75176
4 problems noted here.
Thanks, Dave.
1,2---problems 1 & 2 concern py<3k references:
http://docs.python.org/dev/3.0/library/multiprocessing.html
1) "apply(func[, args[, kwds]])
Equivalent of the apply() builtin function. It blocks till the result
is ready."
Of course there isn't any longer an "apply" builtin.
2) "imap(func, iterable[, chunksize])
An equivalent of itertools.imap()."
Likewise, there's no "itertools.imap". Perhaps use
itertools.some_sort_of_truncating_wrapper(itertools.zip_longest(...))?
This brings us to the itertools problem.
3,4---problems 3 & 4 concern "izip" in:
http://docs.python.org/dev/3.0/library/itertools.html
This mentions "izip_longest()", but there isn't an "izip_anything" in
py3k itertools. Searching the page for the string "izip" produces two
separate occurrences. izip_longest -> zip_longest but I don't know
how to fix the other one. |
|
Date |
User |
Action |
Args |
2008-10-24 18:47:37 | LambertDW | set | recipients:
+ LambertDW, georg.brandl |
2008-10-24 18:47:36 | LambertDW | set | messageid: <1224874056.75.0.148579483822.issue4196@psf.upfronthosting.co.za> |
2008-10-24 18:47:36 | LambertDW | link | issue4196 messages |
2008-10-24 18:47:35 | LambertDW | create | |
|