Fix memory leak in _errors.pyx
Avoid exceptions in control flow in _objects.pyx
Merge remote-tracking branch 'andrew/issue_257'