[issue29998] Pickling and copying ImportError doesn't preserve name and path

2017-04-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue29998] Pickling and copying ImportError doesn't preserve name and path

2017-04-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e63f8f293a96ceebf06de15b4e1c97dbbff0f6a8 by Serhiy Storchaka in branch '3.5': bpo-29998: Pickling and copying ImportError now preserves name and path (#1010) (#1043) https://github.com/python/cpython/commit/e63f8f293a96ceebf06de15b4e1c97dbbff0f

[issue29998] Pickling and copying ImportError doesn't preserve name and path

2017-04-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset af685f9050416da8050e0ec11a8dff9afd4130e7 by Serhiy Storchaka in branch '3.6': bpo-29998: Pickling and copying ImportError now preserves name and path (#1010) (#1042) https://github.com/python/cpython/commit/af685f9050416da8050e0ec11a8dff9afd413

[issue29998] Pickling and copying ImportError doesn't preserve name and path

2017-04-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1196 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue29998] Pickling and copying ImportError doesn't preserve name and path

2017-04-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1195 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue29998] Pickling and copying ImportError doesn't preserve name and path

2017-04-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b785396ab451b0c9d6ae9ee5a9e56c810209a6cb by Serhiy Storchaka in branch 'master': bpo-29998: Pickling and copying ImportError now preserves name and path (#1010) https://github.com/python/cpython/commit/b785396ab451b0c9d6ae9ee5a9e56c810209a6cb

[issue29998] Pickling and copying ImportError doesn't preserve name and path

2017-04-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1178 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue29998] Pickling and copying ImportError doesn't preserve name and path

2017-04-05 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Pickling and copying ImportError doesn't preserve name and path attributes. >>> import copy, pickle >>> e = ImportError('test', name='n', path='p') >>> e.name 'n' >>> e.path 'p' >>> e2 = pickle.loads(pickle.dumps(e, 4)) >>> e2.name >>> e2.path >>> e2 = copy.