[Python-Dev] Possible bug in base64.decode: linebreaks are not ignored

2018-01-03 Thread Oleg Sivokon
Hello, I've tried reading various RFCs around Base64 encoding, but I couldn't make the ends meet. Yet there is an inconsistency between base64.decodebytes() and base64.decode() in that how they handle linebreaks that were used to collate the encoded text. Below is an example of what I'm talki

[Python-Dev] Why is Python for Windows compiled with MSVC?

2018-01-31 Thread Oleg Sivokon
Hello list. I'll give some background before asking my question in more detail. I've been tasked with writing some infrastructure code that needs to talk to Kubernetes. (Kubernetes is a popular software for managing and automating virtualization / containerization of cloud services). One of t

Re: [Python-Dev] Why is Python for Windows compiled with MSVC?

2018-02-01 Thread Oleg Sivokon
> so why shouldn’t the one with the most users? Because it makes compilation difficult, and cross-compilatin completely impossible? Why is it difficult: a package maintainer needs to (1) buy MS Windows (2) create a special workflow for compiling on a different machine. This is both costly an

Re: [Python-Dev] Why is Python for Windows compiled with MSVC?

2018-02-01 Thread Oleg Sivokon
> I would also point out that CPython (distutils, specifically) supported mingw builds (that's the original mingw 32-bit version) for a long time. Support for that bit-rotted as the mingw project fragmented with various 64-bit versions, and slow progress from the mingw project(s) for supporting new

[Python-Dev] https://bugs.python.org/issue33127 breaks pip / easy_install / pipenv etc in corporate networks on MS Windows using self-signed certificates

2018-04-17 Thread Oleg Sivokon
It is common practice in corporate networks that connect MS Windows machines to redirect all (encrypted included) traffic through company's router. For this purpose routers are usually configured to act as a CA. However, the certificate issued by such "CA" will of course not be found in the ce

Re: [Python-Dev] https://bugs.python.org/issue33127 breaks pip / easy_install / pipenv etc in corporate networks on MS Windows using self-signed certificates

2018-04-22 Thread Oleg Sivokon
On 17Apr2018 0246, Oleg Sivokon wrote: > It is common practice in corporate networks that connect MS Windows ... > If you are referring to Python on Windows, this was never true. We've > always relied on OpenSSL and at best will read locally installed > certificates (and