On Sat, Sep 5, 2020 at 10:00 AM Steven D'Aprano wrote:
> By the way, the numpy inf is a float, so literally the same value and
> type as the proposed inf/Infinity builtin. The only way you could
> tell them apart is by identity tests.
>
which is the case for any other float -- or, indeed any oth
On 7/09/20 6:03 am, Christopher Barker wrote:
Would that require that it be a keyword? I don't think so, couldn't it
be "just a name" in most contexts, like "True" was in py2, which did
work in ast.literal_eval()?
There could be a special bytecode that looks it up as a name, and
if that doesn'
On Mon, Sep 7, 2020 at 9:47 AM Greg Ewing wrote:
>
> On 7/09/20 6:03 am, Christopher Barker wrote:
> > Would that require that it be a keyword? I don't think so, couldn't it
> > be "just a name" in most contexts, like "True" was in py2, which did
> > work in ast.literal_eval()?
>
> There could be