[New-bugs-announce] [issue43521] Allow `ast.unparse` to handle NaNs and empty sets

Kodiologist report at bugs.python.org
Tue Mar 16 15:39:06 EDT 2021


New submission from Kodiologist <nonce0010lep at arfer.net>:

`ast.unparse` throws an error on an empty set, and it produces `nan` for NaN, which isn't a legal Python literal.

PR to follow shortly.

----------
messages: 388872
nosy: Kodiologist
priority: normal
severity: normal
status: open
title: Allow `ast.unparse` to handle NaNs and empty sets
type: enhancement
versions: Python 3.10, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43521>
_______________________________________


More information about the New-bugs-announce mailing list