[issue43521] Allow `ast.unparse` to handle NaNs and empty sets

2021-03-18 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43521] Allow `ast.unparse` to handle NaNs and empty sets

2021-03-18 Thread miss-islington
miss-islington added the comment: New changeset e8e341993e3f80a3c456fb8e0219530c93c13151 by Miss Islington (bot) in branch '3.9': bpo-43521: Allow ast.unparse with empty sets and NaN (GH-24897) https://github.com/python/cpython/commit/e8e341993e3f80a3c456fb8e0219530c93c13151 -- ___

[issue43521] Allow `ast.unparse` to handle NaNs and empty sets

2021-03-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +23685 pull_request: https://github.com/python/cpython/pull/24921 ___ Python tracker ___ __

[issue43521] Allow `ast.unparse` to handle NaNs and empty sets

2021-03-18 Thread miss-islington
miss-islington added the comment: New changeset 08ff4369afca84587b1c82034af4e9f64caddbf2 by Kodi Arfer in branch 'master': bpo-43521: Allow ast.unparse with empty sets and NaN (GH-24897) https://github.com/python/cpython/commit/08ff4369afca84587b1c82034af4e9f64caddbf2 -- nosy: +miss

[issue43521] Allow `ast.unparse` to handle NaNs and empty sets

2021-03-17 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue43521] Allow `ast.unparse` to handle NaNs and empty sets

2021-03-16 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: The reason that we weren't support these cases was there were simply no way achieve them by parsing code so we simply ignored (empty sets etc). Though considering that you have a decent use case in hy, I'd agree that these small additions are viable. -

[issue43521] Allow `ast.unparse` to handle NaNs and empty sets

2021-03-16 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue43521] Allow `ast.unparse` to handle NaNs and empty sets

2021-03-16 Thread Kodiologist
Change by Kodiologist : -- keywords: +patch pull_requests: +23662 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24897 ___ Python tracker ___

[issue43521] Allow `ast.unparse` to handle NaNs and empty sets

2021-03-16 Thread Kodiologist
New submission from Kodiologist : `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