[Python-ideas] Add asyncSetUpClass and asyncTearDown to IsolatedAsyncioTestCase

2020-12-23 Thread Andres Torres
Title says it all. This might have been an oversight while making this class. If not please let me know why it was not included! Thank you for considering my request! Andres 🙃 ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe sen

[Python-ideas] Re: Capture manylinux environment set-up in pyproject.toml

2020-12-23 Thread Christopher Barker
just one note: > 3. `system_runtime_dependencies` I think this is a great idea but out of scope. This work should focus on build dependencies to avoid scope creep It's not just scope creep. If a system (pip in this case) cannot provide those dependencies [*], then it really doesn't make sense to

[Python-ideas] Re: Should PEP 637 legalize "obj[]"?

2020-12-23 Thread David Mertz
On Wed, Dec 23, 2020 at 11:16 PM Brandt Bucher wrote: > I didn't participate in the mailing list discussions for PEP 637, but I > have become somewhat involved in the reference implementation and final > revisions. While reviewing the PEP, I noticed what I think is a missed > opportunity to final

[Python-ideas] Should PEP 637 legalize "obj[]"?

2020-12-23 Thread Brandt Bucher
I didn't participate in the mailing list discussions for PEP 637, but I have become somewhat involved in the reference implementation and final revisions. While reviewing the PEP, I noticed what I think is a missed opportunity to finally allow empty subscripting (`obj[]`). It seems to me to be a

[Python-ideas] Re: Capture manylinux environment set-up in pyproject.toml

2020-12-23 Thread Chris Antonellis
lasizoillo wrote: > > > > The manylinux project does not specify a way to > > record "environment set > > up" information required to build wheels from certain packages. > > Some packages require that the stock manylinux environment be modified by > > installing system dependencies, setting environ

[Python-ideas] Using "&" to combine different annotations (replacement for typing.Annotated)

2020-12-23 Thread Paul Sokolovsky
Hello, Some time ago we discussed with Steven D'Aprano how "const" annotation would be combined with other annotations: https://mail.python.org/archives/list/python-...@python.org/message/SQTOWJ6U5SGNXOOXZB53KBTK7O5MKMMZ/ I mentioned that while current way is to use `typing.Annotated`: spam: Ann

[Python-ideas] Post: Vague possibility of tracing context manager function calls [with lock objects]

2020-12-23 Thread Mohamad Kanj
Hi, Any new scope entered or exited could be traced by defining a custom tracing function and setting it using the sys module through sys.settrace() or sys.setprofile()

[Python-ideas] Re: Capture manylinux environment set-up in pyproject.toml

2020-12-23 Thread lasizoillo
> > The manylinux project does not specify a way to record "environment set > up" information required to build wheels from certain packages. > > Some packages require that the stock manylinux environment be modified by > installing system dependencies, setting environment variables, modifying > th

[Python-ideas] Re: Possibility to decorate single code line or code block?

2020-12-23 Thread Paul Sokolovsky
Hello, On Sat, 19 Dec 2020 21:24:40 +0300 Paul Sokolovsky wrote: > Hello, > > On Sat, 19 Dec 2020 03:52:46 +0100 > Marco Sulla wrote: > > > Maybe it's a crazy idea, but what if we could decorate a single line > > of code? > > > For example: > > > > @Timer > > a = time_consuming_function(