You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/ned-deily'closed_at=<Date2017-07-28.07:11:45.562>created_at=<Date2016-09-12.04:14:30.094>labels= ['OS-mac', '3.7']
title='test_startup_imports of test_site fails on OS X due to new import of enum in re'updated_at=<Date2017-07-28.07:11:45.560>user='https://github.com/ned-deily'
bpo-28082, for 3.6.0b1, modified the re module to use enum.IntFlag. As described in bpo-19325, on interpreter startup site.py imports sysconfig which, on OS X, imports _osx_support which imports, among other things, re. Now that re imports enum, a number of collections modules are also imported at startup on OS X which can have a negative performance impact. test_startup_imports of test_site was designed to catch situations like this ... and does.
For 3.6.0b1, I'm going to skip the failing part of the test on OS X only. For 3.6.0b2, I'll plan to revive languishing bpo-19325 to at least try to remove the usage of re and then re-enable the skipped test.
New changeset c22bd58 by Ned Deily in branch 'master': bpo-28095: Re-enable temporarily disabled part of test_startup_imports on macOS (bpo-2927) c22bd58
The changes for bpo-29585 to speed up startup removed the import of _osx_support, and of re, from site.py so the disabled test does not fail in 3.7 and is now re-enabled. It's not appropriate to try to backport the startup speedup changes to 3.6, so the disabled portion of the test remains disabled on 3.6.x macOS.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: