contacts module - updates to contacts don't immediately show up
Was playing around with the contacts module via Pythonista over the weekend and noticed the following. If you read the modification_date field in a contact to determine when that contact has changed, you won't see updates to the contacts immediately.
For example, if you run your script and have it print out the modification_date field for a contact, then switch to your contacts and make a change, then switch back to pythonista and run your script again, the modification_date is unchanged.
You have to terminate Pythonista (remove it from memory) and then run it again. Once you do this, the modification_date shows the updated value.
It appears that Pythonista may be caching this or is not being notified or is not aware of modifications to contacts while its running (not while a script is running but while Pythonista itself is running).