[issue40355] The ast module fails to reject certain malformed nodes

2020-05-06 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40355] The ast module fails to reject certain malformed nodes

2020-05-05 Thread miss-islington
miss-islington added the comment: New changeset 2a3b876b0286b22a9058510d9e51dc4d60eeb89a by Miss Islington (bot) in branch '3.8': bpo-40355: Improve error messages in ast.literal_eval with malformed Dict nodes (GH-19868)

[issue40355] The ast module fails to reject certain malformed nodes

2020-05-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset c21c51235aa8061da6b0593d6f857f42fd92fd8b by Curtis Bucher in branch 'master': bpo-40355: Improve error messages in ast.literal_eval with malformed Dict nodes (GH-19868)

[issue40355] The ast module fails to reject certain malformed nodes

2020-05-05 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +19262 pull_request: https://github.com/python/cpython/pull/19947 ___ Python tracker

[issue40355] The ast module fails to reject certain malformed nodes

2020-05-02 Thread Curtis Bucher
Change by Curtis Bucher : -- keywords: +patch nosy: +curtisbucher nosy_count: 4.0 -> 5.0 pull_requests: +19181 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19868 ___ Python tracker

[issue40355] The ast module fails to reject certain malformed nodes

2020-04-21 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: See https://bugs.python.org/msg360767 for ast.unparse's point of view regarding malformed nodes. -- nosy: +BTaskaya, pablogsal ___ Python tracker

[issue40355] The ast module fails to reject certain malformed nodes

2020-04-21 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- nosy: +remi.lapeyre ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40355] The ast module fails to reject certain malformed nodes

2020-04-21 Thread Brandt Bucher
New submission from Brandt Bucher : There are several places in the ast module where the use of zip is allowing malformed nodes to have unpaired children silently thrown away. A couple of short examples: >>> from ast import Constant, Dict, literal_eval, unparse >>> nasty_dict =