usage of functools.partial in in parallelism

Michael Selik michael.selik at gmail.com
Mon Aug 1 03:13:47 EDT 2016


On Sun, Jul 31, 2016 at 5:47 AM Sivan Greenberg <sivan at vitakka.co> wrote:
> That's exactly the answer I was looking for. Thanks.
>> I got used too much I guess to solving problems the OOP way, e.g. my code
> wraps the session.get invocation with a class to pack together the
> arguments and data and also took care of parallelism using gevent, from
> within the class.
>> While a bit more verbose (or god forbid..unpythonic?) I find it much nore
> readable in my taste and easier to pass on to the next code maintainer in
> the heritage.
>
You might benefit from watching the talk "Stop Writing Classes"
https://www.youtube.com/watch?v=o9pEzgHorH0


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /