just my $.02
Kinda depends on the situation. Moldings etc... the painters, unless you're covering your a$$. (bad miter, running miter) They fill the holes and caulk so they sand and prep everything for paint.
I aim to have my work good enough so that it is good painted or not. It's not always the case, but I don't expect the painters to fix my work.
A lot depends on the attitude and pride the painter has as much as the carpenter.
I've been working with the same painters for 12 years so we're comfortable calling each other out.
I've learned to treat the painters well, they will go an extra mile for you....don't slop a gallon of putty on a window stool and expect them to sand it!