[New-bugs-announce] [issue42521] Debug (-d) mode not working in 3.9

anthony shaw report at bugs.python.org
Tue Dec 1 06:15:39 EST 2020


New submission from anthony shaw <anthony.p.shaw at gmail.com>:

I noticed since the new parser implementation, the debug mode in the tokeniser is no longer working.

This is the case for 3.9.0 and also 3.9.1rc1. Running python3.9 with a simple application like this:

 # Demo application
 def my_function():
   proceed

Does not output anything

> python3.9 -d ~/PycharmProjects/cpython-book-samples/13/test_tokens.py

> 
Produces no output

Whereas python3.10 (the latest alpha) outputs the expected results

----------
messages: 382236
nosy: anthony shaw, lys.nikolaou, pablogsal
priority: normal
severity: normal
status: open
title: Debug (-d) mode not working in 3.9
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42521>
_______________________________________


More information about the New-bugs-announce mailing list