If you have poles on the contour, what do you do about them?
Why wouldn't you be completely free to make a new contour that goes around the old one and cuts around the point(s).
Maybe im missing something about the question ;x
The contour integral is not defined if you have poles on the contour itself. But if you are trying to compute some real integral chose a contour which avoids this.
Separate names with a comma.