This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wyz23x2
Recipients wyz23x2
Date 2020-07-09.01:59:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594259955.25.0.153567227259.issue41251@roundup.psfhosted.org>
In-reply-to
Content
__future__.barry_as_FLUFL turns x!=y into x<>y.
But the doc by help() says:
Help on _Feature in module __future__ object:                                                                                                                                                                                                               class _Feature(builtins.object)
--snip--
|  getMandatoryRelease(self)                                                                                                  |      Return release in which this feature will become mandatory.                                                            |                                                                                                                             |      This is a 5-tuple, of the same form as sys.version_info, or, if                                                        |      the feature was dropped, is None. 
--snip--

Since <> is dropped, __future__.barry_as_FLUFL.getMandatoryRelease() should be None. But it instead returns (4, 0, 0, 'alpha', 0), which
means it will become default in Python 4 and drop != (!= is invalid
after the __future__ import).
That shouldn't be right.
History
Date User Action Args
2020-07-09 01:59:15wyz23x2setrecipients: + wyz23x2
2020-07-09 01:59:15wyz23x2setmessageid: <1594259955.25.0.153567227259.issue41251@roundup.psfhosted.org>
2020-07-09 01:59:15wyz23x2linkissue41251 messages
2020-07-09 01:59:15wyz23x2create