Issue 28028: Convert warnings to SyntaxWarning in parser (original) (raw)

Issue28028

Created on 2016-09-08 19:23 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg275122 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2016-09-08 19:23
AST parser converts UnicodeError and ValueError raised during parsing string literal to SyntaxError. Maybe make it converting warnings (see ) to SyntaxWarning?
msg279651 - (view) Author: Anilyka Barry (abarry) * (Python triager) Date: 2016-10-29 03:47
Cross-ping from #28128 I think it would be best to solve this issue, solving both #28128 and any future warning-introducing feature or deprecation. I've marked this issue as a dependency for #28128 as well as upping the priority. There are less than 7 weeks before the final 3.6.0 release and I would like to get as much mileage out of this before then. Thanks :)
msg304801 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-10-23 12:58
Closed because I don't see ways to do this.
History
Date User Action Args
2022-04-11 14:58:36 admin set github: 72215
2017-10-23 12:58:50 serhiy.storchaka set status: open -> closedresolution: wont fixmessages: + stage: needs patch -> resolved
2016-10-31 23:42:24 ned.deily set messages: -
2016-10-31 23:37:08 python-dev set nosy: + python-devmessages: +
2016-10-31 15:50:59 serhiy.storchaka set versions: - Python 3.6
2016-10-31 15🔞30 abarry unlink issue28128 dependencies
2016-10-31 15🔞22 abarry set priority: high -> normal
2016-10-29 03:47:00 abarry set priority: normal -> highversions: + Python 3.7nosy: + ncoghlan, eric.smith, ned.deily, martin.pantermessages: + stage: needs patch
2016-10-29 03:46:58 abarry link issue28128 dependencies
2016-09-08 19:31:03 abarry set nosy: + abarry
2016-09-08 19:23:04 serhiy.storchaka create