recipy icon indicating copy to clipboard operation
recipy copied to clipboard

How to patch dynamically-created methods?

Open robintw opened this issue 9 years ago • 0 comments

It seems like PIL (via pillow) does some clever stuff to get things like Image.save to work - basically by redirecting (re-binding?) them to things like PIL.TiffImagePlugin.TiffImageFile.save.

Do we need to patch each of these plugin ones differently?

robintw avatar Sep 19 '16 14:09 robintw