Re:More intuitive partial function application in Python
by wirthjason on Monday February 21, 2022 @01:48AM
(#30412620)
Can these be serialized? One of my main uses for partial is passing things to multiprocessing pool.map. People often reach for lambda but it cannot be pickled/serialized so it fails.
[ Parent
| on HN ]
Re:More intuitive partial function application in Python
by cgrimm1994 on Monday February 21, 2022 @09:16AM
(#30416094)
I'll look into this soon. I honestly wasn't expecting this much traffic on what essentially was a weekend project, so I'll need to spend a bit of time making the code less insane and testing for things like pickle-ability.