Backport PR #37613 on branch 1.1.x: BUG: read-only values in cython funcs
Backport PR #37613

will update milestones on PR and associated issues once this is green-ish. Will also need to update release notes on master. (move from 1.2 to 1.1.5)