New submission from wyz23x2 <[email protected]>:
__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.
----------
messages: 373369
nosy: wyz23x2
priority: normal
severity: normal
status: open
title: __future__.barry_as_FLUFL.getMandatoryRelease() is wrong
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue41251>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com