[Python-Dev] cpython: Issue #19209: Remove import of copyreg from the os module to speed up (original) (raw)

Christian Heimes christian at python.org
Sat Oct 12 13:55:27 CEST 2013


Am 12.10.2013 01:32, schrieb Nick Coghlan:

diff --git a/Lib/test/testsite.py b/Lib/test/testsite.py --- a/Lib/test/testsite.py +++ b/Lib/test/testsite.py @@ -431,10 +431,13 @@ modules = eval(stdout.decode('utf-8')) self.assertIn('site', modules)

+ # http://bugs.python.org/issue19205 remods = {'re', 'sre', 'srecompile', 'sreconstants', 'sreparse'} self.assertFalse(modules.intersection(remods)) - + # http://bugs.python.org/issue9548 self.assertNotIn('locale', modules) This looks like it snuck in from a separate patch.

No harm done. It seems like a good idea to document the reason for the test cases so I added links the links at the same time.



More information about the Python-Dev mailing list