[issue28967] copy.copy fails on threading.local subclass

2016-12-15 Thread Ned Deily
Ned Deily added the comment: Thanks for raising the issue, Jelle. And thanks for the analysis, Serhiy. It doesn't sound like a release blocker for 3.6.0. Is it worth addressing at all? -- assignee: ned.deily -> priority: release blocker -> normal versions: +Python 3.7 _

[issue28967] copy.copy fails on threading.local subclass

2016-12-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: copy.copy() didn't work correctly with threading.local in 3.x. It just silently created an empty instance (even not properly initialized, since __init__ is bypassed). Now it correctly raises TypeError. copy.copy() looks working in 2.7 because it copied the i

[issue28967] copy.copy fails on threading.local subclass

2016-12-13 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: This might be due to issue22995. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue28967] copy.copy fails on threading.local subclass

2016-12-13 Thread Jelle Zijlstra
New submission from Jelle Zijlstra: Calling copy.copy on a threading.local subclass copies attributes over correctly in Python 2.7, but creates an empty object in Python 3.3-3.5 and fails with a pickle-related error in 3.6. Marking this as a release blocker and assigning to Ned because this ap