Re: If you are running 32-bit 3.6 on Windows, please test this

2017-08-30 Thread Steven D'Aprano
On Wed, 30 Aug 2017 20:46:54 -0400, Terry Reedy wrote: > On 8/30/2017 1:35 PM, Terry Reedy wrote: >> https://stackoverflow.com/questions/45965545/math-sqrt-domain-error- when-square-rooting-a-positive-number [...] > Three people have reported that math.sqrt(1.3) works in 32 bit Python on > 64-bit

Re: If you are running 32-bit 3.6 on Windows, please test this

2017-08-30 Thread Terry Reedy
On 8/30/2017 1:35 PM, Terry Reedy wrote: https://stackoverflow.com/questions/45965545/math-sqrt-domain-error-when-square-rooting-a-positive-number reports the following: - Microsoft Windows [Version 10.0.16251.1002] (c) 2017 Microsoft Corporation. All rights reserved. C:\Users\Adam>python

Re: If you are running 32-bit 3.6 on Windows, please test this

2017-08-30 Thread Chris Angelico
On Thu, Aug 31, 2017 at 6:24 AM, Ian Kelly wrote: > In the Stack Overflow thread, rosuav wrote: >> Quick smoke-test: can you show the value of math.__file__ please? Editing >> your question to add that would eliminate a particular class of issue (or >> reveal the problem, perhaps). > > (Replying

Re: If you are running 32-bit 3.6 on Windows, please test this

2017-08-30 Thread Ian Kelly
In the Stack Overflow thread, rosuav wrote: > Quick smoke-test: can you show the value of math.__file__ please? Editing > your question to add that would eliminate a particular class of issue (or > reveal the problem, perhaps). (Replying here because SO requires 50 reputation to comment, and the

Re: If you are running 32-bit 3.6 on Windows, please test this

2017-08-30 Thread 20/20 Lab
On 08/30/2017 10:35 AM, Terry Reedy wrote: https://stackoverflow.com/questions/45965545/math-sqrt-domain-error-when-square-rooting-a-positive-number reports the following: - Microsoft Windows [Version 10.0.16251.1002] (c) 2017 Microsoft Corporation. All rights reserved. C:\Users\Adam>pyth

Re: If you are running 32-bit 3.6 on Windows, please test this

2017-08-30 Thread Jerry Hill
On Wed, Aug 30, 2017 at 1:48 PM, MRAB wrote: > > On 2017-08-30 18:35, Terry Reedy wrote: >> >> https://stackoverflow.com/questions/45965545/math-sqrt-domain-error-when-square-rooting-a-positive-number >> >> reports the following: >> - >> Microsoft Windows [Version 10.0.16251.1002] >> (c) 2017

Re: If you are running 32-bit 3.6 on Windows, please test this

2017-08-30 Thread MRAB
On 2017-08-30 18:35, Terry Reedy wrote: https://stackoverflow.com/questions/45965545/math-sqrt-domain-error-when-square-rooting-a-positive-number reports the following: - Microsoft Windows [Version 10.0.16251.1002] (c) 2017 Microsoft Corporation. All rights reserved. C:\Users\Adam>python Py

If you are running 32-bit 3.6 on Windows, please test this

2017-08-30 Thread Terry Reedy
https://stackoverflow.com/questions/45965545/math-sqrt-domain-error-when-square-rooting-a-positive-number reports the following: - Microsoft Windows [Version 10.0.16251.1002] (c) 2017 Microsoft Corporation. All rights reserved. C:\Users\Adam>python Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017,

RE: pip which should be installed with Python3.62 doesn't workinwindows

2017-08-30 Thread Bear Light
On 2017-08-30 14:34, MRAB wrote: > Just installed Python 3.6.2 using the "executable installer". Pip was included. Yeah, I did. Actually I tried a few times, every time the install of ver. 3.6.2 seems to succeed but it didn’t. Since Python 3.5.4 is working good now, I’m okay with that. Thanks

Re: pip which should be installed with Python3.62 doesn't work inwindows

2017-08-30 Thread MRAB
On 2017-08-30 14:34, MRAB wrote: On 2017-08-30 04:47, Bear Light wrote: Thanks for help but it doesn’t work. (cmd) C:\Users\user>py -3.6 -m pip install regex C:\Program Files\Python36\python.exe: No module named pip The picture that I attached showed similar result. Though you can see the opti

Re: pip which should be installed with Python3.62 doesn't work inwindows

2017-08-30 Thread MRAB
On 2017-08-30 04:47, Bear Light wrote: Thanks for help but it doesn’t work. (cmd) C:\Users\user>py -3.6 -m pip install regex C:\Program Files\Python36\python.exe: No module named pip The picture that I attached showed similar result. Though you can see the option of installing pip during python

trouble consuming null data from wsdl with suds.client

2017-08-30 Thread kevinalejandromolina
i was trying to consume the service but i always have the same error, look over the error message, and i am think that the error is, the suds library does not support null values on the attributes. >>> r=client.service.WSOBTENERINTERRUPCIONWEB(1,1) Traceback (most recent call last): File "",

RE: pip which should be installed with Python3.62 doesn't workinwindows

2017-08-30 Thread Bear Light
I finally solve the problem with Python”3.5.4” The pip-related files are correctly installed into “scripts”, and I can use the pip command now. I try to install Python “3.6.2” which was released on 2017-07-17 again, and then there’s still no files in “scripts”. I still don’t know why but at leas

Re: Latency for API call to a Python Function

2017-08-30 Thread dieter
shazianu...@gmail.com writes: > I have an issue with one piece of code in Python that when my API using > Nginx/Uwsgi/EC2 AWS calls this function it causes latency. In those cases, I proceed as follows: * structure the code in a way that it can be called in an interactive Python interpreter