[issue39625] Traceback needs more details

2020-02-13 Thread Andrew Wall
New submission from Andrew Wall : I encountered a question on Stackoverflow where, unusually, a Traceback was given in full, but I couldn't diagnose the problem. It was like this: Traceback (most recent call last): File "soFailedTraceback.py", line 15, in c = C(C1(&qu

[issue31253] Python fails to parse commented out code

2017-08-22 Thread Andrew Wall
Andrew Wall added the comment: My lazy way of programming is to piece together lines of code, going round and round commenting and uncommenting sections until I get something that works. My new lazy way of commenting out larger chunks of code will be: r''' ... several lines of code

[issue31253] Python fails to parse commented out code

2017-08-22 Thread Andrew Wall
New submission from Andrew Wall: Python can parse and run this code: log = list(r'..\Unknown\*.txt') but not this: ''' log = list(r'..\Unknown\*.txt') ''' -- components: Interpreter Core messages: 300670 nosy: quamrana priority: normal severity: normal status: open title: Python