Message140479
+1 for a new exception type to indicate "this may technically be legal Python, but this Python implementation cannot handle it correctly"
Whatever exception type we add, it would be nice to also be able to use it if someone eventually fixes the compiler recursion crasher, so I'd like to paint this particular bikeshed as the more general "SyntaxLimitError".
Possible docs phrasing:
exception:: SyntaxLimitError
Raised when the compilation and code generation process encounters an error due to internal limitations of the current implementation (e.g. the CPython parser has an upper limit on the number of nested sets of parentheses it can handle in a single expression, but no such limitation exists in the Python language reference).
This is a subclass of :exc:`SyntaxError`. |
|
Date |
User |
Action |
Args |
2011-07-16 07:56:42 | ncoghlan | set | recipients:
+ ncoghlan, loewis, terry.reedy, marienz, pitrou, benjamin.peterson, Trundle, eric.snow |
2011-07-16 07:56:42 | ncoghlan | set | messageid: <1310803002.01.0.261332996509.issue11343@psf.upfronthosting.co.za> |
2011-07-16 07:56:41 | ncoghlan | link | issue11343 messages |
2011-07-16 07:56:40 | ncoghlan | create | |
|