Python: fixed make_writable.
Merge pull request #512 from shaitan/master

Python: fixed make_writable.