configure, close, etc. not called if class has map()?

8 views
Skip to first unread message

Erik Forsberg

unread,
Dec 14, 2009, 5:47:15 AM12/14/09
to dumbo...@googlegroups.com
Hi!

It seems like if your mapper/reducer/combiner class has a
map/reduce/combine function, its configure() and close() functions will
not be called. Is that intended behaviour or a bug?

My map class has a map function since apparently it's faster to call
instance functions than to call __call__, especially when the instance
function pointer is stored in a variable, which is what happens in
core.py.

Thanks,
\EF
--
Erik Forsberg <fors...@opera.com>
Developer, Opera Software - http://www.opera.com/

Klaas Bosteels

unread,
Dec 14, 2009, 6:13:04 AM12/14/09
to dumbo...@googlegroups.com
It should be easy enough to fix, so feel free to consider it a bug and
assign a ticket to me for it :)

-Klaas
> --
>
> You received this message because you are subscribed to the Google Groups "dumbo-user" group.
> To post to this group, send email to dumbo...@googlegroups.com.
> To unsubscribe from this group, send email to dumbo-user+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/dumbo-user?hl=en.
>
>
>

Erik Forsberg

unread,
Dec 14, 2009, 6:17:53 AM12/14/09
to dumbo...@googlegroups.com
On Mon, 14 Dec 2009 12:13:04 +0100
Klaas Bosteels <klaas.b...@gmail.com> wrote:

> It should be easy enough to fix, so feel free to consider it a bug and
> assign a ticket to me for it :)

I like your thinking :-).

https://dumbo.assembla.com/spaces/dumbo/tickets/67

Cheers,
Reply all
Reply to author
Forward
0 new messages