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
{{ message }}
Repository navigation
Python 2 future import can leak between modules #11740
If I comment out the from __future__ import, the test case passes. It looks like the __future__ import leaks from m2 to m1. This was introduced in #11276.
Since we are close to creating a release brach, and the fix may be non-trivial, I'm going to revert #11276 to avoid a regression. The PR can be merged again once the issue has been fixed.
Activity
Revert "Imporves `__div__` with `__future__` import on py2 (#11276)"
sobolevn commentedon Dec 14, 2021
Ok, I will take a look why future imports leak and re-create this PR with your test. Thanks!
Revert "Imporves `__div__` with `__future__` import on py2 (#11276)" (#…
Revert "Imporves `__div__` with `__future__` import on py2 (python#11276
Use `__truediv__` for python2 with `__future__` import, refs #11740 (#…