Re: How to configure trusted CA certificates for SSL client?

2017-02-07 Thread MeV
On Tuesday, February 7, 2017 at 9:42:54 AM UTC-8, Yang, Gang CTR (US) wrote: > My question is where does SSL client code get the trusted CA certificates > from, from Python or the underlying OS? What configuration do I need in order > for the SSL client to conduct the SSL handshake successfully?

Re: Coding issue with XML for word document

2017-02-07 Thread Pavol Lisy
On 2/7/17, Steven D'Aprano wrote: > On Mon, 06 Feb 2017 17:00:25 -0800, accessnewbie wrote: [...] >> But when I try to bold, it bombs. It does not seem to like either of >> these (+ myText + "") (separately or together) appended on the >> end. > > How are you trying to bold? If you're programming

Re: best way to ensure './' is at beginning of sys.path?

2017-02-07 Thread Chris Angelico
On Wed, Feb 8, 2017 at 8:22 AM, Pavol Lisy wrote: >>> How about graphic and video designers? Just how well does hg cope with >>> gigabytes of video data? >> >> I've no idea, but I know that git can handle large amounts of data. >> (There are a couple of extensions that make it easier.) > > But the

Re: best way to ensure './' is at beginning of sys.path?

2017-02-07 Thread Pavol Lisy
On 2/6/17, Chris Angelico wrote: > On Mon, Feb 6, 2017 at 1:19 PM, Steve D'Aprano > wrote: [...] >> How about graphic and video designers? Just how well does hg cope with >> gigabytes of video data? > > I've no idea, but I know that git can handle large amounts of data. > (There are a couple of

Re: What's with all the messages from @f38.n261.z1

2017-02-07 Thread Random832
On Tue, Feb 7, 2017, at 15:08, Michael Torrie wrote: > Seems like we're getting a bunch of messages on the mailing list that > appear to be copies of real member posts that are saying they are from > @f38.n261.z1? They don't appear to be deliberate impersonations. Some > misconfigured server refl

Re: Strategies when hunting for dictionary corruption

2017-02-07 Thread Skip Montanaro
Thanks all. I am stuck on 2.7 for the foreseeable future, so the DEBUG_PYDICT won't help. I think we're set though. for the moment, we seem to have moved past that bug (might have just been ordering in the pybind11 wrapper). Skip On Tue, Feb 7, 2017 at 12:35 PM, Ethan Furman wrote: > On 02/06/20

What's with all the messages from @f38.n261.z1

2017-02-07 Thread Michael Torrie
Seems like we're getting a bunch of messages on the mailing list that appear to be copies of real member posts that are saying they are from @f38.n261.z1? They don't appear to be deliberate impersonations. Some misconfigured server reflecting messages back to the list perhaps? -- https://mail.py

Re: search for a data in my browser via script

2017-02-07 Thread kelvidpang
From: kelvidpang@f38.n261.z1 From: kelvidp...@gmail.com On Monday, 6 February 2017 22:43:17 UTC+8, Meeran Rizvi wrote: > Hello guys, > Here i am writing a script which will open my chrome browser and opens the URL www.google.com. > But how to search for a data via script. > for example i need to

Re: How to add months to a date (datetime object)?

2017-02-07 Thread John_Gordon
From: John_Gordon@f38.n261.z1 From: John Gordon In "Deborah Swanson" writes: > bajimicb...@gmail.com wrote, on February 02, 2017 2:44 AM > > > > for start of month to the beginning of next month > > > > from datetime import timedelta > > from dateutil.relativedelta import relativedelta > > >

Re: Coding issue with XML for word document

2017-02-07 Thread Deborah_Swanson
From: Deborah_Swanson@f38.n261.z1 From: "Deborah Swanson" I don't see any Python in your code. The python.org list isn't generally familiar with Microsoft proprietary code, which is often quite different from other versions. Try asking this question in Microsoft's Office/Word Document forums. Go

RE: Coding issue with XML for word document

2017-02-07 Thread Deborah Swanson
Cute, whoever you are. Very cute. (I know how to sign up for fake email addresses too.) > -Original Message- > From: Python-list > [mailto:python-list-bounces+python=deborahswanson.net@python.o > rg] On Behalf Of Deborah_Swanson@f38.n261.z1 > Sent: Monday, February 06, 2017 9:52 AM > To:

Re: search for a data in my browser via script

2017-02-07 Thread kelvidpang
From: kelvidp...@gmail.com On Monday, 6 February 2017 22:43:17 UTC+8, Meeran Rizvi wrote: > Hello guys, > Here i am writing a script which will open my chrome browser and opens the URL www.google.com. > But how to search for a data via script. > for example i need to search for 'Rose' in google.c

Re: How to add months to a date (datetime object)?

2017-02-07 Thread John_Gordon
From: John Gordon In "Deborah Swanson" writes: > bajimicb...@gmail.com wrote, on February 02, 2017 2:44 AM > > > > for start of month to the beginning of next month > > > > from datetime import timedelta > > from dateutil.relativedelta import relativedelta > > > > end_date = start_date + relat

Re: Coding issue with XML for word document

2017-02-07 Thread Deborah_Swanson
From: "Deborah Swanson" I don't see any Python in your code. The python.org list isn't generally familiar with Microsoft proprietary code, which is often quite different from other versions. Try asking this question in Microsoft's Office/Word Document forums. Good luck! accessnew...@gmail.com w

Re: Strategies when hunting for dictionary corruption

2017-02-07 Thread Ethan Furman
On 02/06/2017 04:56 AM, Skip Montanaro wrote: I'm wrapping some C++ libraries using pybind11. I asked one of the core-devs about it, and he suggested: Python 3.6 got a new C define in Objects/dictobjet.c which might help to track the bug: /* Uncomment to check the dict content in _PyDict_Ch

How to configure trusted CA certificates for SSL client?

2017-02-07 Thread Yang, Gang CTR (US)
Hi, I'm using Python 3.X (3.5 on Windows 2008 and 3.4 on CentOS 6.7) and encountered an SSL client side CA certificates issue. The issue came up when a third-party package (django-cas-ng) tried to verify the CAS service ticket (ST) by calling CAS server using requests.get(...) and failed with

How to configure SSL client trusted CA certificates?

2017-02-07 Thread gangyang7
Hi, I'm using Python 3.X (3.5 on Windows 2008 and 3.4 on CentOS 6.7) and encountered an SSL client side CA certificates issue. The issue came up when a third-party package (django-cas-ng) tried to verify the CAS service ticket (ST) by calling CAS server using requests.get(...) and failed with

Re: Strategies when hunting for dictionary corruption

2017-02-07 Thread Erik
On 06/02/17 12:56, Skip Montanaro wrote: Is there a better way to approach this problem? (I also have valgrind at my disposal, but am not very skilled in its use.) valgrind is what I was going to suggest. You have to compile Python with extra flags to get it to integrate well with valgrind tho

Re: Strategies when hunting for dictionary corruption

2017-02-07 Thread dieter
Skip Montanaro writes: > I'm wrapping some C++ libraries using pybind11. On the pybind11 side of > things, I've written a simple type converter between Python's datetime.date > objects and our internal C++ date objects. The first thing the type > converter needs to do is to insure that the dateti

Re: search for a data in my browser via script

2017-02-07 Thread Meeran Rizvi
On Monday, February 6, 2017 at 8:13:17 PM UTC+5:30, Meeran Rizvi wrote: > Hello guys, > Here i am writing a script which will open my chrome browser and opens the > URL www.google.com. > But how to search for a data via script. > for example i need to search for 'Rose' in google.com via script. >