R. David Murray added the comment: I can't get this to fail. The code handles None docstrings correctly (_append_doc is not called if the __doc__ attribute is None).
The only way I can see this error arising would be if the _policybase.pyo file had docstrings stripped, but the policy.pyo file did not. I consider that a bug in .pyo and -O/-OO handling, so I'd like to close this as "works for me". ---------- resolution: -> works for me stage: needs patch -> committed/rejected status: open -> pending _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19626> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com