I was wondering whether for most examples it is more \'pythonic\' to use lambda or the partial function?
For example, I might want to apply imap on some list, like add 3
lambda is certainly many times more common. Unless you're doing functional programming in an academic setting, you should probably steer away from functools.
This is pythonic. No library needed, or even builtins, just a simple generator expression.
( x + 3 for x in my_list )
This creates a generator, similar to imap. If you're going to make a list out of it anyway, use a list comprehension instead:
[ x + 3 for x in my_list ]