[issue22730] ensurepip should work with pythonw.exe

2014-10-26 Thread Donald Stufft
Donald Stufft added the comment: This looks OK to me. I'm not a Windows person are there changes in pip that would make sense to make it work without this patch? -- nosy: +Marcus.Smith, pmoore ___ Python tracker <http://bugs.python.org/is

[issue22730] ensurepip should work with pythonw.exe

2014-10-26 Thread Donald Stufft
Donald Stufft added the comment: The development version of pip switches things over to using the Python logging framework instead of a homegrown one which more or less relies on print(). Probably we could detect if we don't have a stdout and just not output anything? People can p

[issue22650] set up and use VM for net access in the test suite

2014-11-03 Thread Donald Stufft
Donald Stufft added the comment: It is configured using salt, see https://github.com/python/psf-salt/blob/master/salt/pythontest/init.sls. A separate domain just makes it easier to do whatever we need with it without needing to worry about getting confused between live sites and test sites

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-09 Thread Donald Stufft
New submission from Donald Stufft: As specified in PEP 477, this backports PEP 453 (ensurepip) to the Python 2.7 branch. Key differences from PEP 453 are: * It is not run by default in the Makefile * There is no venv modules, so downstream can remove it (though are asked to patch it to

[issue22828] Backport ensurepip to 2.7 (PEP 477)

2014-11-09 Thread Donald Stufft
New submission from Donald Stufft: As specified in PEP 477, this backports PEP 453 (ensurepip) to the Python 2.7 branch. Key differences from PEP 453 are: * It is not run by default in the Makefile * There is no venv modules, so downstream can remove it (though are asked to patch it to

[issue22828] Backport ensurepip to 2.7 (PEP 477)

2014-11-09 Thread Donald Stufft
Donald Stufft added the comment: Closing this in favor of http://bugs.python.org/issue22827 -- resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-09 Thread Donald Stufft
Changes by Donald Stufft : -- nosy: +steve.dower ___ Python tracker <http://bugs.python.org/issue22827> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-09 Thread Donald Stufft
Donald Stufft added the comment: Second patch just fixes the docs to specify the correct behavior for 2.7 and it fixes ensurepip.bootstrap() to match the default 2.7 behavior when executing python -m ensurepip. -- Added file: http://bugs.python.org/file37155/pep-477-2.patch

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-09 Thread Donald Stufft
Donald Stufft added the comment: The backport is taken from Python 3.4 so it's the same license as everything else. -- ___ Python tracker <http://bugs.python.org/is

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-09 Thread Donald Stufft
Donald Stufft added the comment: IOW it's literally Lib/unittest/mock.py from the 3.x series. -- ___ Python tracker <http://bugs.python.org/issue22827> ___ ___

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-11 Thread Donald Stufft
Donald Stufft added the comment: I've updated the patch with Nick's comments, except for pulling in the latest versions of the documentation. -- Added file: http://bugs.python.org/file37175/pep-477-3.patch ___ Python tracker <http://bu

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-11 Thread Donald Stufft
Donald Stufft added the comment: Merged in https://hg.python.org/cpython/rev/592a5414fabd, I forgot to mention the issue number. I'm going to leave this open for the docs changes, however the OSX installer and Windows installer changes should be able to be mad

[issue22850] Backport ensurepip Windows installer changes to 2.7

2014-11-11 Thread Donald Stufft
Donald Stufft added the comment: I don't know anything about msi or this script so I can't offer any help there, but thanks! -- ___ Python tracker <http://bugs.python.o

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-20 Thread Donald Stufft
Donald Stufft added the comment: I've attached a patch which I believe updates the 2.x docs with what 3.x has. I ran ``make html`` and the only errors I got were in relation to pyporting which I don't believe has anything to do with this ticket. If someone can sanity check this fo

[issue22850] Backport ensurepip Windows installer changes to 2.7

2014-11-20 Thread Donald Stufft
Donald Stufft added the comment: Is this ticket able to be closed now or is there more to do? -- ___ Python tracker <http://bugs.python.org/issue22850> ___ ___

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-20 Thread Donald Stufft
Donald Stufft added the comment: Note: I removed the references to pyvenv in these docs because 2.7 doesn't have that. -- ___ Python tracker <http://bugs.python.org/is

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-20 Thread Donald Stufft
Donald Stufft added the comment: Updated the docs patch to address Nick's comments. -- Added file: http://bugs.python.org/file37236/pep-477-docs-2.patch ___ Python tracker <http://bugs.python.org/is

[issue22827] Backport ensurepip to 2.7 (PEP 477)

2014-11-20 Thread Donald Stufft
Changes by Donald Stufft : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue22827> ___ ___ Python-bugs-list

[issue22669] Test_venv fails when _ctypes is not available.

2014-11-20 Thread Donald Stufft
Donald Stufft added the comment: Assigning this to myself, it'll get fixed when pip 6.0 is released and I upgrade ensurepip to it. -- assignee: vinay.sajip -> dstufft ___ Python tracker <http://bugs.python.org

[issue19693] "make altinstall && make install" behaviour differs from "make install"

2014-11-20 Thread Donald Stufft
Donald Stufft added the comment: So here's a thought: pip does have a CLI flag --force-reinstall which will uninstall and then reinstall whatever is being installed. If we modified things so that ensurepip supported this flag (or always used it with --upgrade) then it would fix this

[issue22638] ssl module: the SSLv3 protocol is vulnerable ("POODLE" attack)

2014-11-22 Thread Donald Stufft
Donald Stufft added the comment: Right, they did that because Debian has disabled SSLv3 in OpenSSL in Jessie. -- ___ Python tracker <http://bugs.python.org/issue22

[issue22638] ssl module: the SSLv3 protocol is vulnerable ("POODLE" attack)

2014-11-22 Thread Donald Stufft
Donald Stufft added the comment: Yea see: http://sources.debian.net/src/openssl/1.0.2~beta3-1/debian/rules/#L29 The configure options they are running with are: no-idea no-mdc2 no-rc5 no-zlib enable-tlsext no-ssl2 no-ssl3 no-ssl3-method enable-unit-test

[issue22921] SSLContext's check_hostname needlessly intertwined with SNI

2014-11-22 Thread Donald Stufft
New submission from Donald Stufft: The SSLContext().wrap_socket() method allows you to pass in a server_hostname option which will be used for two purposes, it will be used as the server name for SNI and it will be used to verify the server name of the certificate. However currently if the

[issue22921] SSLContext's check_hostname needlessly intertwined with SNI

2014-11-23 Thread Donald Stufft
Donald Stufft added the comment: I tested this patch on Python 3.5 compiled on CentOS 5.11 which does not have SNI enabled. The end result is that you can use server_hostname even when SNI isn't there to enable the SSL certificate checks. Of course the check will fail if the host

[issue22921] SSLContext's check_hostname needlessly intertwined with SNI

2014-11-23 Thread Donald Stufft
Donald Stufft added the comment: Added docs. -- Added file: http://bugs.python.org/file37258/check-hostname-no-sni-with-docs.patch ___ Python tracker <http://bugs.python.org/issue22

[issue22921] SSLContext's check_hostname needlessly intertwined with SNI

2014-11-23 Thread Donald Stufft
Donald Stufft added the comment: A new patch that achieves the same thing in a simpler way at benjamin's suggestion. -- Added file: http://bugs.python.org/file37259/check-hostname-no-sni-with-docs-2.patch ___ Python tracker <http://bugs.py

[issue22921] SSLContext's check_hostname needlessly intertwined with SNI

2014-11-23 Thread Donald Stufft
Donald Stufft added the comment: Uploaded a third patch, this is the same technique as in the -2 patch, except it fixes a missed spot in Lib/ssl.py where I needed a better error message. Additionally this goes through and unskips all of the tests that were marked as depending on HAS_SNI when

[issue22921] SSLContext's check_hostname needlessly intertwined with SNI

2014-11-23 Thread Donald Stufft
Donald Stufft added the comment: Added a patch for Python 2.7 -- Added file: http://bugs.python.org/file37262/check-hostname-no-sni-with-docs-py27.patch ___ Python tracker <http://bugs.python.org/issue22

[issue23025] ssl.RAND_bytes docs should mention os.urandom

2014-12-10 Thread Donald Stufft
Donald Stufft added the comment: I agree completely. This is something that should generally be discouraged all together. See: http://sockpuppet.org/blog/2014/02/25/safely-generate-random-numbers/ -- nosy: +dstufft ___ Python tracker <h

[issue22866] ssl module in 2.7 should provide a way to configure default context options

2014-12-11 Thread Donald Stufft
Donald Stufft added the comment: >> >> BTW: Having a way to change the SSL options globally would be useful >> for Python 3.x as well, since OpenSSL often adds new options and >> it's not unlikely we'll see an OP_NO_TLSv1 option soon, given its >>

[issue23033] Disallow support for a*.example.net, *a.example.net, and a*b.example.net in certificate wildcard handling.

2014-12-11 Thread Donald Stufft
New submission from Donald Stufft: Various browsers[1][2] are dropping support for wild card certificates which are anything but a single "*" alone in the left most position. The other style wildcards were deprecated previously and they should not appear in any public certificate

[issue22669] Test_venv fails when _ctypes is not available.

2014-12-23 Thread Donald Stufft
Donald Stufft added the comment: This should be fixed now as of https://hg.python.org/cpython/rev/651e1862dbed, https://hg.python.org/cpython/rev/651e1862dbed, and https://hg.python.org/cpython/rev/9f60d024e586. -- resolution: -> fixed status: open ->

[issue22669] Test_venv fails when _ctypes is not available.

2014-12-23 Thread Donald Stufft
Donald Stufft added the comment: I'm not sure how to get a link to that, can you link it and I can see if I think it's a permanent error or not? -- ___ Python tracker <http://bugs.python.o

[issue23121] pip.exe breaks if python 2.7.9 is installed under c:\Program Files\Python

2014-12-27 Thread Donald Stufft
Donald Stufft added the comment: If distlib 0.2.0 fixes this, then it should be fixed in pip 6+ when installing from Wheels. If the same problem exists in setuptools then it'll need to get fixed in setuptools (or pip will need to start writing it's own console scripts when insta

[issue23121] pip.exe breaks if python 2.7.9 is installed under c:\Program Files\Python

2015-01-03 Thread Donald Stufft
Donald Stufft added the comment: I do not know what setuptools plans on with regards to distlib sorry. -- ___ Python tracker <http://bugs.python.org/issue23

[issue22256] pyvenv should display a progress indicator while creating an environment

2015-01-03 Thread Donald Stufft
Donald Stufft added the comment: I just noticed this issue. I think all that really needs done here is changing the venv module to use subprocess.check_call instead of subprocess.check_output when calling ensurepip. -- ___ Python tracker <h

[issue23143] Remove some conditional code in _ssl.c

2015-01-03 Thread Donald Stufft
Donald Stufft added the comment: +1, This sounds completely reasonable to do to me. -- ___ Python tracker <http://bugs.python.org/issue23143> ___ ___ Python-bug

[issue23240] pip 6.0.6- pip install command is broken

2015-01-14 Thread Donald Stufft
Donald Stufft added the comment: This is a pip problem and should be filed against the pip issue tracker at https://github.com/pypa/pip/issues. -- ___ Python tracker <http://bugs.python.org/issue23

[issue24418] "make install" will not install pip if already present in user site-packages

2015-06-09 Thread Donald Stufft
Donald Stufft added the comment: We should probably pass ``-s`` to the ensurepip call. Adding 2.7 here as well because I think this will probably affect more than just the Makefile, probably the Windows installers and OSX installers too. -- versions: +Python 2.7

[issue24646] Python accepts SSL certificate that should be rejected on OSX

2015-07-16 Thread Donald Stufft
Donald Stufft added the comment: I think the only way to actually fix this, is to stop using the OpenSSL provided by OSX. -- nosy: +dstufft ___ Python tracker <http://bugs.python.org/issue24

[issue24646] Python accepts SSL certificate that should be rejected on OSX

2015-07-17 Thread Donald Stufft
Donald Stufft added the comment: For what it's worth, the El Capitan Beta's apparently don't ship with OpenSSL headers anymore though they do still ship with the dylibs. -- ___ Python tracker <http://bugs.pyt

[issue24960] Can't use pip or easy_install with embeddable zip file.

2015-09-04 Thread Donald Stufft
Donald Stufft added the comment: This looks more like lib2to3 doesn't support running from a .zip archive. -- ___ Python tracker <http://bugs.python.org/is

[issue25002] Deprecate asyncore/asynchat

2015-09-04 Thread Donald Stufft
Donald Stufft added the comment: I'm all for deprecating asyncore/asynchat but should deprecating them wait until asyncio is no longer provisional? -- nosy: +dstufft ___ Python tracker <http://bugs.python.org/is

[issue23551] IDLE to provide menu link to PIP gui.

2015-09-05 Thread Donald Stufft
Donald Stufft added the comment: pip doesn't really support being called as an API, there's been requests for it before but nobody has yet come forward to specify what parts in particular they need. The practical effect of this is that there's no backwards compatibility promis

[issue23551] IDLE to provide menu link to PIP gui.

2015-09-05 Thread Donald Stufft
Changes by Donald Stufft : -- nosy: +steve.dower ___ Python tracker <http://bugs.python.org/issue23551> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23551] IDLE to provide menu link to PIP gui.

2015-09-05 Thread Donald Stufft
Donald Stufft added the comment: Yea ``pip.main(args)`` won't change. I'm not sure how well parts of pip will handle being in a persistent-ish process, but the API itself will work. -- ___ Python tracker <http://bugs.python.o

[issue23551] IDLE to provide menu link to PIP gui.

2015-09-05 Thread Donald Stufft
Donald Stufft added the comment: There is a "site" config file which works for all installs on that particular machine, there is not a per Python configuration file, though I don't see why we couldn't add one. -- ___ P

[issue23551] IDLE to provide menu link to PIP gui.

2015-09-05 Thread Donald Stufft
Donald Stufft added the comment: Yea, we'd be willing to fix things where we can. I think the biggest problem you'll run into is probably going to be pkg_resources and it's module scoped cache of the sys.path and what item

[issue25003] os.urandom() should call getrandom(2) not getentropy(2)

2015-09-08 Thread Donald Stufft
Donald Stufft added the comment: (A)RC4 and ChaCha are just two stream ciphers that let you encrypt some data, they work by essentially producing a psuedo-random stream of data in a deterministic manner based off of a key, and than that is XOR'd with the data you want to encrypt. arc4r

[issue25003] os.urandom() should call getrandom(2) not getentropy(2)

2015-09-08 Thread Donald Stufft
Donald Stufft added the comment: Oh yea, and (A)RC4 is broken and shouldn't be used for anything anymore, ChaCha is much better and is pretty great. -- ___ Python tracker <http://bugs.python.org/is

[issue24875] pyvenv doesn´t install PIP inside a new venv with --system-site-package

2015-09-15 Thread Donald Stufft
Donald Stufft added the comment: You probably need to either pass --ignore-installed to pip when invoking it inside of venv, or you need to disable system_site_packages (internally to venv) until after pip is installed. -- ___ Python tracker <h

[issue22559] [backport] ssl.MemoryBIO

2015-09-19 Thread Donald Stufft
Donald Stufft added the comment: Now that 3.5 is out, does that mean we can sync 2.7 with the 3.5 ssl again and land this patch? -- ___ Python tracker <http://bugs.python.org/issue22

[issue25515] Always use os.urandom for generating uuid4s

2015-10-29 Thread Donald Stufft
Donald Stufft added the comment: This looks like a good idea to me, faster and more secure seems like a total win. -- ___ Python tracker <http://bugs.python.org/issue25

[issue26021] Missing IPv6 support for pypi.python.org

2016-01-06 Thread Donald Stufft
Donald Stufft added the comment: This isn't a CPython issue and doesn't really belong on the issue tracker. To answer the question though, PyPI will support IPv6 as soon as our CDN provider has support for IPv6 and until they do, it will be IPv4 only. -- resolution: ->

[issue26021] Missing IPv6 support for pypi.python.org

2016-01-06 Thread Donald Stufft
Donald Stufft added the comment: Our provider is Fastly, I don't believe contacting them will do any good though. They are working on getting IPv6 support but there is no ETA at the moment. -- ___ Python tracker <http://bugs.python.org/is

[issue26164] test_with_pip() of test_venv fails on Windows buildbots

2016-01-20 Thread Donald Stufft
Donald Stufft added the comment: Upstream issue for this is https://github.com/pypa/pip/issues/3383. -- ___ Python tracker <http://bugs.python.org/issue26

[issue26170] pip Crash on Unpacking in get_platform() line 119

2016-01-20 Thread Donald Stufft
Donald Stufft added the comment: Hey, This is actually a bug with pip not with CPython and is being tracked by https://github.com/pypa/pip/issues/3408. It's fixed in pip's repository and we'll soon have an 8.0.1 release out to fix it. -- nosy: +dstufft resolution:

[issue26164] test_with_pip() of test_venv fails on Windows buildbots

2016-01-22 Thread Donald Stufft
Donald Stufft added the comment: Yes, it should have been. Sorry forgot this issue was opened. -- ___ Python tracker <http://bugs.python.org/issue26164> ___ ___

[issue26191] pip on Windows doesn't honor Case

2016-01-24 Thread Donald Stufft
Donald Stufft added the comment: If you're trying to use PyCrypto then you need to install PyCrypto, crypto is a different package. Try ``pip install PyCrypto``. -- nosy: +dstufft ___ Python tracker <http://bugs.python.org/is

[issue26252] Add an example to importlib docs on setting up an importer

2016-01-31 Thread Donald Stufft
Changes by Donald Stufft : -- nosy: +dstufft ___ Python tracker <http://bugs.python.org/issue26252> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26610] test_venv.test_with_pip() fails when ctypes is missing

2016-03-22 Thread Donald Stufft
Donald Stufft added the comment: It shouldn't be hard to make ctypes optional in pip, it's only used to check if the OS we're running on is "manylinux" compatible, roughly checking the glibc version number. Worst case we can just conditon that

[issue26798] add BLAKE2 to hashlib

2016-04-18 Thread Donald Stufft
Donald Stufft added the comment: > Right now all the hashlib algorithms are backed by OpenSSL. As far as I know, hashlib ships it's own implementations of anything that is a guaranteed algorithms (currently md5, sha1, and sha2, presumably sha3 too once that gets added). So I g

[issue23551] IDLE to provide menu options for using PIP

2015-02-28 Thread Donald Stufft
Donald Stufft added the comment: I don't know if this should be part of IDLE or not, but I've long wondered if we should make a GUI frontend for pip. To be clear, I'm not against this being in IDLE either, but just saying I've thought about making a pip-gui project in the

[issue23551] IDLE to provide menu options for using PIP

2015-02-28 Thread Donald Stufft
Donald Stufft added the comment: I'm unlikely to have the time or motivation to do this anytime soon (just to be clear). I would be able to advise anyone who does feel like doing it the best ways to interact with pip itself though. -- ___ P

[issue23476] SSL cert verify fail for "www.verisign.com"

2015-03-01 Thread Donald Stufft
Donald Stufft added the comment: There actually *is* an API that can be set that will cause OpenSSL to use the shortest trust path it can, however it's only available in OpenSSL 1.0.2+ which means it'll solve it for a handful of people but not the bulk

[issue23476] SSL cert verify fail for "www.verisign.com"

2015-03-04 Thread Donald Stufft
Changes by Donald Stufft : -- keywords: +needs review resolution: not a bug -> stage: resolved -> patch review status: closed -> open ___ Python tracker <http://bugs.python.or

[issue23593] Update Windows and OS X installer OpenSSL to 1.0.2

2015-03-05 Thread Donald Stufft
Changes by Donald Stufft : -- nosy: +dstufft ___ Python tracker <http://bugs.python.org/issue23593> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23476] SSL cert verify fail for "www.verisign.com"

2015-03-05 Thread Donald Stufft
Donald Stufft added the comment: It was merged to the 2.7 branch, so it'll be released as part of 2.7.10. -- ___ Python tracker <http://bugs.python.org/is

[issue23712] Experiment: Assume that exact unicode hashes are perfect discriminators

2015-03-19 Thread Donald Stufft
Donald Stufft added the comment: I'm not sure what you mean by "Siphash isn't cryptographically secure". One of the key points of Siphash is that it *is* cryptographically secure. It has a smaller space than your typical hash function (MD5, SHA1, SHA2, etc) which m

[issue23712] Experiment: Assume that exact unicode hashes are perfect discriminators

2015-03-19 Thread Donald Stufft
Donald Stufft added the comment: To be clear, I have no opinion on your specific proposal and I don't know if the difference between "cryptographically secure" and "not cryptographically secure" matters for it. I just wanted to be clear that with SipHash an attacker

[issue23801] cgi.FieldStorage has different (wrong?) behavior on Python3 than Python2

2015-03-28 Thread Donald Stufft
New submission from Donald Stufft: While working on PyPI 2.0 (which is currently running Python 3) I discovered that ``setup.py upload`` was causing an exception. After tracing things I determined that the reason for this is that Python 3 fails to handle leading whitespace in a multipart body

[issue23801] cgi.FieldStorage has different (wrong?) behavior on Python3 than Python2

2015-03-28 Thread Donald Stufft
Donald Stufft added the comment: Added a patch that fixes this issue by reading lines until we find the line that is our expected boundary marker. -- keywords: +patch Added file: http://bugs.python.org/file38722/cgi-read-until-boundary.diff

[issue23801] cgi.FieldStorage has different (wrong?) behavior on Python3 than Python2

2015-03-29 Thread Donald Stufft
Donald Stufft added the comment: Added R David Murray to the nosy list because this is kinda similar to the email stuff and there doesn't seem to be anyone better to look at this patch that I can find... -- nosy: +r.david.murray ___ Python tr

[issue23801] cgi.FieldStorage has different (wrong?) behavior on Python3 than Python2

2015-03-29 Thread Donald Stufft
Donald Stufft added the comment: Also adding Berker Peksag because they've touched this module recently :) -- nosy: +berker.peksag ___ Python tracker <http://bugs.python.org/is

[issue23801] cgi.FieldStorage has different (wrong?) behavior on Python3 than Python2

2015-03-29 Thread Donald Stufft
Donald Stufft added the comment: @Benjamin The reason I didn't do that to begin with, was the code currently checks if the first line is a bytes object or not in order to be able to raise an error if it's returning str instead of bytes. I didn't want to redo that check on every

[issue23801] cgi.FieldStorage has different (wrong?) behavior on Python3 than Python2

2015-03-29 Thread Donald Stufft
Donald Stufft added the comment: Thanks everyone for taking a look at this! -- stage: resolved -> ___ Python tracker <http://bugs.python.org/issue23801> ___ _

[issue23801] cgi.FieldStorage has different (wrong?) behavior on Python3 than Python2

2015-03-29 Thread Donald Stufft
Changes by Donald Stufft : -- stage: -> resolved ___ Python tracker <http://bugs.python.org/issue23801> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue23857] Make default HTTPS certificate verification setting configurable via global ini file

2015-04-03 Thread Donald Stufft
Donald Stufft added the comment: I'd really rather not add this to Python itself. If downstream wants to patch their Pythons to do it that is their prerogative. There's some legacy at play here of course, however I don't think that Python upstream is the right place to deal

[issue23857] Make default HTTPS certificate verification setting configurable via global ini file

2015-04-05 Thread Donald Stufft
Donald Stufft added the comment: On it's own I think this switch is a bad idea because it's too big of a hammer. Someone shouldn't accidentally disable TLS verification in pip for instance because they wanted to disable TLS verification for some random tool that only hit i

[issue23857] Make default HTTPS certificate verification setting configurable via global ini file

2015-04-05 Thread Donald Stufft
Donald Stufft added the comment: > Now, I knew how to fix this, but the solution was not > an obvious one. I had to use truss to figure out where OpenSSL > was looking for certificates and the added the Mozilla cert > bundle from our egenix-pyopenssl package to make things work &

[issue23857] Make default HTTPS certificate verification setting configurable via global ini file

2015-04-05 Thread Donald Stufft
Donald Stufft added the comment: > No, I want to be able to easily disable the newly added > checks in 2.7.9+ to get systems such as these behave the > same as with 2.7.8, since without this option, people > using these system are going to be forced to stick with > buggy 2.7.8 s

[issue23857] Make default HTTPS certificate verification setting configurable via global ini file

2015-04-05 Thread Donald Stufft
Donald Stufft added the comment: > I don't consider monkey patching a proper way to configure a Python > installation. The point is that that TLS validation on/off isn't conceptually a Python level configuration option, that's going to be a per application conf

[issue23899] HTTP regression in distutils uploads to chishop

2015-04-10 Thread Donald Stufft
Donald Stufft added the comment: I wonder if it's this? https://github.com/python/cpython/commit/453f86c6977bab18fe4a9c58a4155253375adc8e#diff-ff7dba04c5ad252aa440598d6c88067a -- ___ Python tracker <http://bugs.python.org/is

[issue23686] Update Windows and OS X installer OpenSSL to 1.0.2a

2015-04-13 Thread Donald Stufft
Donald Stufft added the comment: I think 1.0.2 is the only version of OpenSSL that has the ability to short circuit the chain validation which is something that makes it easier for libraries like requests to remove the weak 1024 bit roots from their SSL certificate store. It's also n

[issue16108] Include maintainer information in register/upload

2015-04-16 Thread Donald Stufft
Donald Stufft added the comment: PyPI should already handle it fine, and Warehouse certainly does. -- nosy: +dstufft ___ Python tracker <http://bugs.python.org/issue16

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Donald Stufft
Donald Stufft added the comment: > Perhaps you can point me to some use cases where the triple > platform tag is really useful. If I understand correctly (and ABI isn't my strong suite), it would be useful in the sense that you could utilize it to create a sort of "fat wheel

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Donald Stufft
Donald Stufft added the comment: > Well, it's even more wasteful if you have to download 100MB wheels > with all the different platforms when the dedicated wheel would just > need 1.5MB. I think it's going to vary greatly based on how many platforms you're attemptin

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Donald Stufft
Donald Stufft added the comment: > Whatever you do, you're still going to force all your main users to > download things they don't need, so I don't see the argument of > optimizing downloads or caches. pip caches downloads by default, many systems are starting to utiliz

[issue20179] Derby #10: Convert 50 sites to Argument Clinic across 4 files

2015-05-03 Thread Donald Stufft
Donald Stufft added the comment: I think it's worthwhile to maintain the ability to easily backport patches from 3.x to 2.7, especially given the security sensitive nature of the ssl module. -- ___ Python tracker <http://bugs.python.org/is

[issue24158] Error of the hint of upgrading pip

2015-05-10 Thread Donald Stufft
Donald Stufft added the comment: Hey, This is actually a message that comes from a third party component, pip in this case. I've opened up https://github.com/pypa/pip/issues/2773 with the pip project and suggest that further discussion/tracking happen there. It will be picked up by P

[issue24267] test_venv.EnsurePipTest.test_with_pip triggers version check over network

2015-05-23 Thread Donald Stufft
Donald Stufft added the comment: Yea, I already upgraded pip. I did forget that we'll want to add --disable-pip-version-check to the pip invocation inside of ensurepip. -- ___ Python tracker <http://bugs.python.org/is

[issue27924] ensurepip raises TypeError after pip uninstall

2016-08-31 Thread Donald Stufft
Donald Stufft added the comment: rewheel is definitely some Fedora patches. -- ___ Python tracker <http://bugs.python.org/issue27924> ___ ___ Python-bugs-list m

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-09-06 Thread Donald Stufft
Donald Stufft added the comment: > I don't think "remove de-recommended cypher" qualifies as a security fix for > 3.3 or 3.4. Certainly you're not permitted to add ChaCha20 to 3.3 or 3.4 I think that this is a bad stance to take here. The difference between a secur

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-09-06 Thread Donald Stufft
Donald Stufft added the comment: We should backport OpenSSL 1.1.0 too *shrug*. -- ___ Python tracker <http://bugs.python.org/issue27850> ___ ___ Python-bugs-list m

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-09-06 Thread Donald Stufft
Donald Stufft added the comment: > > The difference between a security feature and a security fix > > is incredibly hard to differentiate. > > I'm not buying this argument. This touches on it http://web.mit.edu/tabbott/www/papers/hotos.pdf but I'm not sure ho

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-09-07 Thread Donald Stufft
Donald Stufft added the comment: > Is switching to a different SSL library without OS vendor support any more > reasonable than switching to a newer python without that same support? There are OSs that ship with Python 3.4 and Li

[issue28022] SSL releated deprecation for 3.6

2016-09-10 Thread Donald Stufft
Donald Stufft added the comment: An implicit global SSL Context? It kinda sounds a bit gross. -- ___ Python tracker <http://bugs.python.org/issue28022> ___ ___

[issue28022] SSL releated deprecation for 3.6

2016-09-10 Thread Donald Stufft
Donald Stufft added the comment: Thinking about that more, it's a bit harder than the Random module as well. The only state the random module has to worry about is the seed and internal state of the RNG. However, many of the arguments to ssl.wrap_socket change the SSLContext options

[issue28552] Distutils fail if sys.executable is None

2016-10-29 Thread Donald Stufft
Donald Stufft added the comment: We re-execute Python to run setup.py. Even from wheels we do it to compile pyc files. Sent from my iPhone > On Oct 29, 2016, at 2:38 PM, R. David Murray wrote: > > > R. David Murray added the comment: > > Yes, you are right; I was think

[issue28574] Update bundled pip

2016-11-01 Thread Donald Stufft
Donald Stufft added the comment: Yea. I worked on trying to get this done over the weekend and I was l left with one issue left. Hoping to get that done in the next day or two. Sent from my iPhone > On Nov 1, 2016, at 1:08 AM, Steve Dower wrote: > > > Steve Dower added

<    2   3   4   5   6   7   8   >