Thanks Steve, that's exactly what I wanted to send when you sent your patches :)
I need to figure out why that patch v2 worked for me, I think I made mess somewhere in my git repo and didn't create the patch properly. Sorry for that.
Patch is attached, I've also added information about cdecimal to plpython documentation.
I'm just wondering how to make integration tests to check when cdecimal is installed and when it is not.
thanks,
Szymon