[Python-ideas] Re: PYTHONLOGGING env variable

2020-06-05 Thread Steven D'Aprano
I think the first thing that needs to be done, before creating a bpo issue, is to get consensus that it's both a plausible idea and a good idea, and I don't think that the discussion did either. Discussion starts here:

[Python-ideas] Re: Shared Semaphores for synchronisation across unrelated processes

2020-06-05 Thread Vinay Sharma via Python-ideas
Hi, As Barry wrote, I am asking for the ability to use shared semaphores in python across unrelated processes. So, that shared memory used across unrelated processes can be synchronised. Although, I am suggesting this only because I am unable to synchronise shared memory across unrelated

[Python-ideas] Re: PYTHONLOGGING env variable

2020-06-05 Thread Bar Harel
Hey Remi, I've started working on it the other day, but unfortunately had difficulties with my development environment after suffering a hard drive failure. Haven't tried again since then. I've opened a quick bpo - 40886. Since my dev environment is still messed up and VStudio kills me with

[Python-ideas] Re: PYTHONLOGGING env variable

2020-06-05 Thread remi . lapeyre
Did this idea ever went anywhere? I thought I saw a bpo issue for this but I can't find it anymore and it's not present in 3.8 or 3.9 NEWS nor in master as far as I can tell. I think it would be very useful, while it's possible to use argparse to have an argument to set it I've found that many

[Python-ideas] Re: Shared Semaphores for synchronisation across unrelated processes

2020-06-05 Thread Rhodri James
On 05/06/2020 18:56, Jonathan Fine wrote: Hi Rhodri wrote: Again, these are statements. I can take a guess at what Vinay wants, but since that involves a rather large worm can I'd rather they actually stated it outright. I'm puzzled. Reading https://bugs.python.org/issue38035, to me it

[Python-ideas] Re: Shared Semaphores for synchronisation across unrelated processes

2020-06-05 Thread Barry Scott
> On 5 Jun 2020, at 16:18, Vinay Sharma via Python-ideas > wrote: > > Hi, > Python has integrated shared memory into standard library starting from 3.8 > (https://docs.python.org/3/library/multiprocessing.shared_memory.html >

[Python-ideas] Re: Shared Semaphores for synchronisation across unrelated processes

2020-06-05 Thread Jonathan Fine
Hi Rhodri wrote: > Again, these are statements. I can take a guess at what Vinay wants, > but since that involves a rather large worm can I'd rather they actually > stated it outright. > I'm puzzled. Reading https://bugs.python.org/issue38035, to me it seems that Ned Deily, Ido Michael and

[Python-ideas] Re: Automatic notification when your PR test fails or succeeds

2020-06-05 Thread Brett Cannon
This sort of question belongs on core-workflow. BTW, please don't open draft PRs for CPython. They are very distracting. It's best to only send a PR to CPython when you're ready to review it. Otherwise you should be able to check the CI via GitHub Actions on your own fork before sending it out

[Python-ideas] Re: Automatic notification when your PR test fails or succeeds

2020-06-05 Thread Batuhan Taskaya
I don't think this is the right mailing list (core workflow on discuss.python.org would be more suitable IMHO), other than that you are already able to do such a thing for github actions of your own PRs. If you enable a particular setting, you will get fail notifications for actions you've

[Python-ideas] Automatic notification when your PR test fails or succeeds

2020-06-05 Thread Ram Rachum
Hi guys, I'm not sure whether this is the right mailing list for this, because it's more for the Python development process on GitHub than Python itself. If this belongs somewhere else, let me know. When you open a PR to CPython, it would be cool if there was an option to get email notifications

[Python-ideas] Re: Shared Semaphores for synchronisation across unrelated processes

2020-06-05 Thread Rhodri James
On 05/06/2020 17:47, Jonathan Fine wrote: Hi Rhodri wrote: These are very nice statements. What is you actually want? Good question. Vinay provide a link to the issue he opened. In his opening message he wrote: This behaviour works well when the file descriptors of these semaphores can

[Python-ideas] Re: Shared Semaphores for synchronisation across unrelated processes

2020-06-05 Thread Jonathan Fine
Hi Rhodri wrote: > These are very nice statements. What is you actually want? > Good question. Vinay provide a link to the issue he opened. In his opening message he wrote: > This behaviour works well when the file descriptors of these semaphores > can be shared with children processes. > >

[Python-ideas] Re: Shared Semaphores for synchronisation across unrelated processes

2020-06-05 Thread Rhodri James
On 05/06/2020 16:18, Vinay Sharma via Python-ideas wrote: Python has integrated shared memory into standard library starting from 3.8 (https://docs.python.org/3/library/multiprocessing.shared_memory.html ), which provides a

[Python-ideas] Shared Semaphores for synchronisation across unrelated processes

2020-06-05 Thread Vinay Sharma via Python-ideas
Hi, Python has integrated shared memory into standard library starting from 3.8 (https://docs.python.org/3/library/multiprocessing.shared_memory.html ), which provides a user friendly API to access shared memory across