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
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
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/