[Python-Dev] Re: Repr: where to place the address and additional info?

2020-05-29 Thread Ivan Pozdeev via Python-Dev
If you are going to give details, you'd better use the "equivalent expression" kind of repr. As I explained earlier in the "Enum._convert should change __repr__", the angle brackets repr doesn't actually give any information that the user can rely upon except the type and the address. On 29.05.

[Python-Dev] Re: Repr: where to place the address and additional info?

2020-05-29 Thread MRAB
On 2020-05-29 21:02, Serhiy Storchaka wrote: The default repr of Python object is formatted using the following pattern: <{typename} object at {address:#x}> And many custom reprs use similar patterns, but add some additional type specific information. The type name first, followed by deta

[Python-Dev] Repr: where to place the address and additional info?

2020-05-29 Thread Serhiy Storchaka
The default repr of Python object is formatted using the following pattern: <{typename} object at {address:#x}> And many custom reprs use similar patterns, but add some additional type specific information. The type name first, followed by details and address. All is surrounded by angle qu

[Python-Dev] Summary of Python tracker Issues

2020-05-29 Thread Python tracker
ACTIVITY SUMMARY (2020-05-22 - 2020-05-29) Python tracker at https://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues counts and deltas: open7487 ( +9) closed 45080 (+80) total 52567 (+89) Open issues wi

[Python-Dev] Re: PEG parser and raw strings

2020-05-29 Thread Serhiy Storchaka
28.05.20 22:26, Vito De Tullio пише: Hi. Just a question about the new PEG parser: will it support lone slash in raw strings? the fact that r'\' doesn't work as expected it's a strange exception to remember. As others said, this is a part of the tokenizer. I once experimented with changing th