[Python-Dev] Re: Inline links in Misc/NEWS entries

2019-08-14 Thread Kyle Stanley
> Also, for IDLE, news entries to idlelib/NEWS.txt > where markup, as opposed to unicode, is noise. Interesting, I actually wasn't aware of the distinction for idlelib/NEWS. I can imagine that Sphinx constructs such as :func:, :meth:, and :class: would not be nearly as useful there. However, I can

[Python-Dev] Re: An f-string issue [Was: Re: Re: What to do about invalid escape sequences]

2019-08-14 Thread Glenn Linderman
On 8/14/2019 8:09 AM, Random832 wrote: On Sat, Aug 10, 2019, at 19:54, Glenn Linderman wrote: Because of the "invalid escape sequence" and "raw string" discussion, when looking at the documentation, I also noticed the following description for f-strings: Escape sequences are decoded like in or

[Python-Dev] Re: What to do about invalid escape sequences

2019-08-14 Thread Glenn Linderman
On 8/14/2019 8:02 AM, Random832 wrote: On Mon, Aug 12, 2019, at 15:15, Terry Reedy wrote: Please no more combinations. The presence of both legal and illegal combinations is already a mild nightmare for processing and testing. idlelib.colorizer has the following re to detest legal combinations

[Python-Dev] Re: Snapshot formats in tracemalloc vs profiler

2019-08-14 Thread Victor Stinner
That looks pretty cool! I'm really happy that PEP 445 hooks are reused for something different than tracemalloc ;-) Victor Le mer. 14 août 2019 à 20:12, Yonatan Zunger a écrit : > > Update: Thanks to Victor's advice and the PEP445 hooks, I put together a > pretty comprehensive logging/sampling

[Python-Dev] Re: What to do about invalid escape sequences

2019-08-14 Thread Eric V. Smith
On 8/14/2019 11:02 AM, Random832 wrote: On Mon, Aug 12, 2019, at 15:15, Terry Reedy wrote: Please no more combinations. The presence of both legal and illegal combinations is already a mild nightmare for processing and testing. idlelib.colorizer has the following re to detest legal combination

[Python-Dev] Re: Snapshot formats in tracemalloc vs profiler

2019-08-14 Thread Yonatan Zunger
Update: Thanks to Victor's advice and the PEP445 hooks, I put together a pretty comprehensive logging/sampling heap profiler for Python, and it works great. The package is now available via pip for anyone who needs it! On Thu, Jun 27, 2019 at 4:21 PM Yonatan Zu

[Python-Dev] Re: An f-string issue [Was: Re: Re: What to do about invalid escape sequences]

2019-08-14 Thread Random832
On Sat, Aug 10, 2019, at 19:54, Glenn Linderman wrote: > Because of the "invalid escape sequence" and "raw string" discussion, > when looking at the documentation, I also noticed the following > description for f-strings: > > > Escape sequences are decoded like in ordinary string literals (excep

[Python-Dev] Re: What to do about invalid escape sequences

2019-08-14 Thread Random832
On Mon, Aug 12, 2019, at 15:15, Terry Reedy wrote: > Please no more combinations. The presence of both legal and illegal > combinations is already a mild nightmare for processing and testing. > idlelib.colorizer has the following re to detest legal combinations > > stringprefix = r"(?i:r|u|

[Python-Dev] Re: Inline links in Misc/NEWS entries

2019-08-14 Thread Terry Reedy
On 8/13/2019 6:31 PM, Kyle Stanley wrote: The primary purpose of me creating this topic was because there seems to be some sentiment that it's perfectly fine to exclusively use plaintext in the news entries. Especially in cases where authors have rejected suggestions to adding the Sphinx marku