New submission from Serhiy Storchaka: As far as socked enums are platform depending, pickling them by value makes not much sense. Here is a patch which makes AddressFamily and SocketType members be pickled by name.
---------- components: Library (Lib) files: socket_enums_pickle_by_name.patch keywords: patch messages: 211559 nosy: barry, eli.bendersky, ethan.furman, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Pickle socket enums by names type: behavior versions: Python 3.4, Python 3.5 Added file: http://bugs.python.org/file34140/socket_enums_pickle_by_name.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20680> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com