[issue43681] doctest forgets previous imports

2022-01-10 Thread Nikita Sobolev
Nikita Sobolev added the comment: Ethan, I've tried to reproduce this, but it seems that example you attached is not valid. `Flag` is never imported at all. The same with `auto`. Should it be: ``` >>> from enum import auto, Flag, STRICT ``` the first time? As you said, it only happens in

[issue43681] doctest forgets previous imports

2021-03-31 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue43681] doctest forgets previous imports

2021-03-31 Thread Ethan Furman
Ethan Furman added the comment: Note that this only appears to be a problem under CI. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue43681] doctest forgets previous imports

2021-03-31 Thread Ethan Furman
New submission from Ethan Furman : In the Python 3.10 Doc/library/enum.rst file was the following: .. class:: FlagBoundary *FlagBoundary* controls how out-of-range values are handled in *Flag* and its subclasses. .. attribute:: STRICT Out-of-range values cause a :exc:`ValueErr