Undefined symbols for Mac OS 10.14.4 build

2019-05-26 Thread Mark Turner
Hi, I’m trying to build CPython 3.8 from source on Mac OS 10.14.4 and running into undefined symbols problem at the linker stage.The commands I’m using are: ./configure --with-pydebug make -s -j2 The undefined symbols are listed below. I’ve found that if I modify pyconfig.h by changing #define

Re: How to use ssh-agent in windows in python?

2019-05-26 Thread Cameron Simpson
On 27May2019 08:22, Fc Zwtyds wrote: Thank you very much for your detailed answer. I will try to learn how to capture and parse the output of "ssh-agent -s" and learn how to talk to the agent. The output of "ssh-agent -s" is Bourne shell variable assignment syntax. You need to parse that an

Re: How to use ssh-agent in windows in python?

2019-05-26 Thread Fc Zwtyds
在 2019-05-27 7:13, Cameron Simpson 写道: On 26May2019 22:55, Fc Zwtyds wrote:  I am using cygwin on Windows 8.1. These two commands work fine in  cygwin: ssh-agent -s ssh-add ~/.ssh /id_rsa No, they run without error (apparently). That is  an entirely different thing. In particular, "ssh-ag

Re: How to use ssh-agent in windows in python?

2019-05-26 Thread Fc Zwtyds
在 2019-05-27 0:27, MRAB 写道: On 2019-05-26 15:55, Fc Zwtyds wrote: Hi,     I am using cygwin on Windows 8.1. These two commands work fine in cygwin: ssh-agent -s ssh-add ~/.ssh /id_rsa     I tried to use them on windows cmd and it worked fine. Now I am going to use python to write code to imple

Re: How to use ssh-agent in windows in python?

2019-05-26 Thread Cameron Simpson
On 26May2019 22:55, Fc Zwtyds wrote: I am using cygwin on Windows 8.1. These two commands work fine in cygwin: ssh-agent -s ssh-add ~/.ssh /id_rsa No, they run without error (apparently). That is an entirely different thing. In particular, "ssh-agent -s" starts an agent but unless you m

Re: More CPUs doen't equal more speed

2019-05-26 Thread Bob van der Poel
On Sun, May 26, 2019 at 11:05 AM Grant Edwards wrote: > On 2019-05-23, Chris Angelico wrote: > > On Fri, May 24, 2019 at 5:37 AM Bob van der Poel > wrote: > >> > >> I've got a short script that loops though a number of files and > >> processes them one at a time. I had a bit of time today and f

Re: More CPUs doen't equal more speed

2019-05-26 Thread Chris Angelico
On Mon, May 27, 2019 at 4:24 AM Grant Edwards wrote: > > On 2019-05-26, Chris Angelico wrote: > > > Sometimes, the "simple" and "obvious" code, the part that clearly has > > no bugs in it, is the part that has the problem. :) > > And in this case, the critical part of the code that was actually >

Re: More CPUs doen't equal more speed

2019-05-26 Thread Grant Edwards
On 2019-05-26, Chris Angelico wrote: > Sometimes, the "simple" and "obvious" code, the part that clearly has > no bugs in it, is the part that has the problem. :) And in this case, the critical part of the code that was actually serializing everything wasn't shown. One strives to post problem d

Re: More CPUs doen't equal more speed

2019-05-26 Thread Chris Angelico
On Mon, May 27, 2019 at 4:06 AM Grant Edwards wrote: > > On 2019-05-23, Chris Angelico wrote: > > On Fri, May 24, 2019 at 5:37 AM Bob van der Poel wrote: > >> > >> I've got a short script that loops though a number of files and > >> processes them one at a time. I had a bit of time today and fig

Re: More CPUs doen't equal more speed

2019-05-26 Thread Grant Edwards
On 2019-05-23, Chris Angelico wrote: > On Fri, May 24, 2019 at 5:37 AM Bob van der Poel wrote: >> >> I've got a short script that loops though a number of files and >> processes them one at a time. I had a bit of time today and figured >> I'd rewrite the script to process the files 4 at a time by

Re: Why Python has no equivalent of JDBC of Java?

2019-05-26 Thread Christian Gollwitzer
Am 21.05.19 um 14:27 schrieb Adriaan Renting: Java was meant to be generic, run anywhere and abstract and hide differences in its underlying infrastructure. This has led to the Java VM, and also JDBC I guess. Python was more of a script interpreted C-derivative, much closer to the bare metal, an

Re: How to use ssh-agent in windows in python?

2019-05-26 Thread MRAB
On 2019-05-26 15:55, Fc Zwtyds wrote: Hi, I am using cygwin on Windows 8.1. These two commands work fine in cygwin: ssh-agent -s ssh-add ~/.ssh /id_rsa I tried to use them on windows cmd and it worked fine. Now I am going to use python to write code to implement the above command. os.syst

Re: Implementing C++'s getch() in Python

2019-05-26 Thread eryk sun
On 5/25/19, Paul Moore wrote: > > On Windows, the msvcrt module exposes getch: > https://docs.python.org/3.7/library/msvcrt.html#msvcrt.getch I suggest using msvcrt.getwch instead of msvcrt.getch. Both functions are limited to the basic multilingual plane (BMP, i.e. U+ -- U+), but getch i

Re: Implementing C++'s getch() in Python

2019-05-26 Thread Shakti Kumar
On Sun, 26 May 2019 at 20:23, wrote: > > I've run getpass() on IDLE, Spyder, PyCharm and Mu. All with negative results. > > As Random832 pointed out, these IDEs cannot handle the stdout/stdin with getpass You should use a normal terminal (command prompt) on your windows for running this program.

How to use ssh-agent in windows in python?

2019-05-26 Thread Fc Zwtyds
Hi, I am using cygwin on Windows 8.1. These two commands work fine in cygwin: ssh-agent -s ssh-add ~/.ssh /id_rsa I tried to use them on windows cmd and it worked fine. Now I am going to use python to write code to implement the above command. os.system('ssh-agent -s') os.system('ssh-add id_

Re: Implementing C++'s getch() in Python

2019-05-26 Thread binoythomas1108
I've run getpass() on IDLE, Spyder, PyCharm and Mu. All with negative results. -- https://mail.python.org/mailman/listinfo/python-list

Re: Why Python has no equivalent of JDBC of Java?

2019-05-26 Thread Bischoop
On 2019-05-19, Marco Sulla wrote: >blablabla >blablablalbla >blablalblalbalblabla There's no perfect language mate, in some one is easier in other not, normal surprised you notice it so late. -- https://mail.python.org/mailman/listinfo/python-list