Author eric.snow
Recipients belopolsky, corona10, eric.snow, georg.brandl, p-ganssle, shihai1991, vstinner
Date 2020-05-06.16:03:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588781007.08.0.610742338201.issue40058@roundup.psfhosted.org>
In-reply-to
Content
FYI, with the following additions in Lib/test/test_datetime.py...

   before = set(sys.modules)
   try:
       pure_tests = import_fresh_module(TESTS, fresh=['datetime', '_strptime'],
                                     blocked=['_datetime'])
       _pure = set(sys.modules)
       fast_tests = import_fresh_module(TESTS, fresh=['datetime',
                                                      '_datetime', '_strptime'])
       _fast = set(sys.modules)
       print(f'added (pure): {sorted(_pure-before)}')
       print(f'added (fast): {sorted(_fast-before)}')
       print('---')
   finally:
      ...

I get the following output running "./python -m test test_datetime test_datetime":

   0:00:00 load avg: 0.52 Run tests sequentially
   0:00:00 load avg: 0.52 [1/2] test_datetime
   added (pure): ['_decimal', '_strptime', '_testcapi', 'decimal', 'numbers', 'test.datetimetester']
   added (fast): ['_decimal', '_strptime', '_testcapi', 'decimal', 'numbers', 'test.datetimetester']
   ---
   0:00:05 load avg: 0.52 [2/2] test_datetime
   added (pure): ['_datetime', '_strptime', 'datetime']
   added (fast): ['_datetime', '_strptime', 'datetime']
   ---
   [snipped]

That definitely tells a story. :)  Unfortunately, for now I don't have any more time to investigate.  Sorry.
History
Date User Action Args
2020-05-06 16:03:27eric.snowsetrecipients: + eric.snow, georg.brandl, belopolsky, vstinner, p-ganssle, corona10, shihai1991
2020-05-06 16:03:27eric.snowsetmessageid: <1588781007.08.0.610742338201.issue40058@roundup.psfhosted.org>
2020-05-06 16:03:27eric.snowlinkissue40058 messages
2020-05-06 16:03:26eric.snowcreate