Getting SSL error while connecting from httplib.HTTPSConnection.
Any help would be appreciated.
self.connection.request(method, request, payload, self.headers)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py",
line 1053, in request
self._send_requ
Yes Dieter, I see that it is connecting with 443 port number and service is
running. Is this related to python version or mac?
Regards,
~Piyush
Facebook <https://www.facebook.com/piyushkv1> Twitter
<https://twitter.com/SocializePiyush>
On Sat, Dec 16, 2017 at 1:59 PM, dieter wrot
ssl.OPENSSL_VERSION
'OpenSSL 0.9.8zh 14 Jan 2016'
Regards,
~Piyush
Facebook <https://www.facebook.com/piyushkv1> Twitter
<https://twitter.com/SocializePiyush>
On Mon, Dec 18, 2017 at 2:49 AM, Chris Angelico wrote:
> On Mon, Dec 18, 2017 at 6:28 AM, Piyush Verma <114piy.
Generally we catch exception using
except Exception as e:
But sometimes, we see same type of exception is present with different
message.Is there a way to capture same exception with message
filtering? Please help me to do this.
Regards,
~Piyush
--
https://mail.python.org/mailman/listinfo/python
dom832 wrote:
> On Fri, Jun 3, 2016, at 19:14, Piyush Verma wrote:
>> Generally we catch exception using
>> except Exception as e:
>>
>> But sometimes, we see same type of exception is present with different
>> message.Is there a way to capture same exception with
Hi,
I am using Thread class to create threads.
thread = threading.Thread(target=Fun, args=[arg1, arg2, arg3="val"])
thread.start()
This code is throwing compilation error(Ipython).
In [19]: import threading
In [20]: def Fun(agr1, arg2, arg3=None):
: pass
:
In [21]: thread =
Hi,
I'm facing traceback when using pudb python debugger to debug. Any help to
resolve it.
# python -m pudb file.py
main()
File "/usr/local/lib/python2.7/dist-packages/pudb/run.py", line 30, in
main
steal_output=options.steal_output)
File "/usr/local/lib/python2.7/dist-packages/pudb/
Hi,
What is the behavior when we call thread.interrupt_main() method.
Using this method I have implemented a new method for checking timeout.
359def TimeoutFunc(self):360 '''Function invoked by timer
thread in case of timeout '''361 self.log.debug("Timeout thread
invoked now for