[Python-ideas] Re: pathlib.Path(...).json() (again)

2021-07-09 Thread Christopher Barker
On Fri, Jul 9, 2021 at 6:21 PM Steven D'Aprano wrote: > Has anything changed since the last time it was discussed? If nothing > has changed, and there are no new arguments in favour of the change, why > do you think the result will be any different? > Note: one thing that has not been rejected,

[Python-ideas] Re: pathlib.Path(...).json() (again)

2021-07-09 Thread Steven D'Aprano
Hi Thomas, On Fri, Jul 09, 2021 at 05:54:27PM -, Thomas Grainger wrote: > It's been brought up a few times eg: > https://github.com/python/cpython/pull/12465 > > but I really think it's time to be re-considered. Has anything changed since the last time it was discussed? If nothing has

[Python-ideas] pathlib.Path(...).json() (again)

2021-07-09 Thread Thomas Grainger
It's been brought up a few times eg: https://github.com/python/cpython/pull/12465 but I really think it's time to be re-considered. Specifically I love being able to use `asyncio.to_thread(pathlib.Path(...).read_text, encoding="utf8")` It does exactly the right thing for me! It's great

[Python-ideas] Re: disallow assignment to unknown ssl.SSLContext attributes

2021-07-09 Thread Thomas Grainger
> if we find time to implement it for 3.11. https://www.python.org/dev/peps/pep-0543/#configuration was Withdrawn would this need a new PEP? ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to