David Parks <davidpark...@gmail.com> added the comment:
An answer came in over the stack overflow question. https://stackoverflow.com/questions/58019939/attributeerror-str-object-has-no-attribute-errno/58084380#58084380 The issue is that OSError implements a custom __reduce__ function which needs to be override by the subclass when the arguments to the subclass are different than the parent. So no bug, just pickle subtlety. Passing it back to the aiohttp repo for a fix there. https://github.com/aio-libs/aiohttp/issues/4077 ---------- resolution: -> not a bug status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38254> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com