Message349741
This is a related issue to bug 34269, in the sense that it is also due to the caching added by the fix for bug 30962.
In this case, the bug is triggered by setting the public 'level' attribute of a logging.Logger object, instead of calling the setLevel() method. Although this was probably never a good idea, prior to Python3.7 it worked as expected. Now it renders the level out of sync with the cache, leading to inconsistent results that are hard to debug.
An example in the wild: https://review.opendev.org/676450 |
|
Date |
User |
Action |
Args |
2019-08-14 19:46:10 | zaneb | set | recipients:
+ zaneb |
2019-08-14 19:46:10 | zaneb | set | messageid: <1565811970.47.0.529067236549.issue37857@roundup.psfhosted.org> |
2019-08-14 19:46:10 | zaneb | link | issue37857 messages |
2019-08-14 19:46:10 | zaneb | create | |
|