[RELEASE] Python 3.8.0b2 is now available for testing

2019-07-04 Thread Łukasz Langa
After a few days of delay, but somewhat cutely timed with the US Independence Day, I present you Python 3.8.0b2: https://www.python.org/downloads/release/python-380b2/ This release is the second of four planned beta release previews. Beta

Re: Multiprocessing and memory management

2019-07-04 Thread Thomas Jollans
On 03/07/2019 18.37, Israel Brewster wrote: > I have a script that benefits greatly from multiprocessing (it’s generating a > bunch of images from data). Of course, as expected each process uses a chunk > of memory, and the more processes there are, the more memory used. The amount > used per pr

Re: Handle foreign character web input

2019-07-04 Thread Peter J. Holzer
On 2019-07-03 18:13:20 -0500, Igor Korot wrote: > But as I said, imaging the following situation: > > You are somewhere in Germany and you have a German version of OS > (any OS) > . > You also have a German keyboard (hardware) with German keys. > > Now you are assigned to go to some international

Re: What's wrong on using Popen's communicate method?

2019-07-04 Thread Terry Reedy
On 7/3/2019 7:57 PM, jf...@ms4.hinet.net wrote: I have the test0.py below. I expect to see 'abcd' showing in the notepad window: - import subprocess as sp p0 = sp.Popen('notepad.exe', stdin=sp.PIPE) p0.communicate(input=b'abcd') - But nothing happens. The notepad is completely emp