Re: Decoratored functions parsed differently by ast stdlib between 3.7 and 3.8

2021-05-03 Thread Mike Lee Williams
On Monday, May 3, 2021 at 10:41:14 AM UTC-7, Terry Reedy wrote: > > Answering my own question: the behavior was changed by > > https://github.com/python/cpython/pull/9731. > Since this patch, Mark Shannon has revised line numbering and tracing > and replaced the internal lineno data structure. Yo

Re: Decoratored functions parsed differently by ast stdlib between 3.7 and 3.8

2021-04-30 Thread Mike Lee Williams
On Friday, April 30, 2021 at 7:55:10 PM UTC-7, Mike Lee Williams wrote: > This trivial bit of code is parsed differently by the ast module between > python > 3.7 and python 3.8. I'm trying to figure out what changed and why, and once I > know that, if it's possible and d

Decoratored functions parsed differently by ast stdlib between 3.7 and 3.8

2021-04-30 Thread Mike Lee Williams
AST, but none of the changes look relevant as they all refer to typing https://docs.python.org/3/whatsnew/3.8.html#ast So: what changed? Why? Can I and should I try to get the old behavior back? Thanks! Mike Lee Williams -- https://mail.python.org/mailman/listinfo/python-list