Re: [Python-Dev] Criticism of execfile() removal in Python3

2014-06-19 Thread Paul Moore
On 19 June 2014 20:39, Joseph Martinot-Lagarde wrote: > Another way is to open the file in binary, then exec() checks itself if an > encoding is defined in the file. This is what is used in spyder: > > exec(open(file, 'rb').read()) > > Here is the discussion for reference: > https://bitbucket.org/

Re: [Python-Dev] Criticism of execfile() removal in Python3

2014-06-19 Thread Joseph Martinot-Lagarde
Le 15/06/2014 05:15, Steve Dower a écrit : So is exec(tokenize.open(file).read()) the actual replacement for execfile()? Not too bad, but still not obvious (or widely promoted - I'd never heard of it). Another way is to open the file in binary, then exec() checks itself if an encoding is define

Re: [Python-Dev] Issue 21671: CVE-2014-0224 OpenSSL upgrade to 1.0.1h on Windows required

2014-06-19 Thread Yates, Andy (CS Houston, TX)
Thanks for all the good information. We ended up building _ssl and _hashlib and dropping those into the existing Python on our build server. That seems to be working fine. >From my perspective ssl libraries are a special case. I think I could handle >any other included library having a flaw