[issue9216] FIPS support for hashlib

2017-01-17 Thread Ian Cordasco
Ian Cordasco added the comment: So I see the argument on both sides of this discussion. Having those optional arguments for all the functions seems like an obvious blocker. If a submodule is a blocker, what if we provide a context-manager to signal this? -- nosy: +icordasc

[issue27649] multiprocessing on Windows does not properly manage class attributes

2016-07-29 Thread Ian Cordasco
Ian Cordasco added the comment: Why did you remove Python 3.3? It's still affected by this behaviour. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue27649] multiprocessing on Windows does not properly manage class attributes

2016-07-29 Thread Ian Cordasco
New submission from Ian Cordasco: In trying to add support for multiprocessing on Windows in Flake8, I found that the behaviour of the module is significantly different than on Unix. If you have a class that has class-level attributes on Unix, and you change them, put the class into a Queue

[issue27568] "HTTPoxy", use of HTTP_PROXY flag supplied by attacker in CGI scripts

2016-07-29 Thread Ian Cordasco
Changes by Ian Cordasco <graffatcolmin...@gmail.com>: -- nosy: +icordasc ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27568> ___

[issue24667] OrderedDict.popitem() raises KeyError

2015-07-19 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24667 ___ ___ Python-bugs

[issue24363] httplib fails to handle semivalid HTTP headers

2015-06-02 Thread Ian Cordasco
Ian Cordasco added the comment: Also I'm marking this as affecting 3.3, 3.4, and 3.5. I haven't tested against 3.5, but it definitely fails on 3.4. I hope to be able to test against 3.5.0b2 tonight -- versions: +Python 3.3, Python 3.4, Python 3.5

[issue24363] httplib fails to handle semivalid HTTP headers

2015-06-02 Thread Ian Cordasco
Ian Cordasco added the comment: FWIW, the proper section to reference now is 3.2 in RFC 7230 (https://tools.ietf.org/html/rfc7230#section-3.2) -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24363

[issue24107] Add support for retrieving the certificate chain

2015-05-01 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24107 ___ ___ Python-bugs

[issue23989] Add recommendation to use requests to the documentation, per summit

2015-04-17 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23989 ___ ___ Python-bugs

[issue23794] http package should support HTTP/2

2015-03-27 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23794 ___ ___ Python-bugs

[issue23794] http package should support HTTP/2

2015-03-27 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +Lukasa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23794 ___ ___ Python-bugs-list

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

2015-03-01 Thread Ian Cordasco
Ian Cordasco added the comment: So it seems like https://rt.openssl.org/Ticket/Display.html?user=guestpass=guestid=3621 includes a fix that we may be able to update Python to use (safely) by default. If we don't then this will continue to be an issue. Other references: - https

[issue23481] SSL module should not offer RC4 based cipher suites for clients by default

2015-02-18 Thread Ian Cordasco
Ian Cordasco added the comment: It's clearly no longer acceptable to include RC4 when the IETF has felt it necessary to publish an RFC prohibiting its usage. -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue23155] unittest: object has no attribute '_removed_tests'

2015-01-04 Thread Ian Cordasco
Ian Cordasco added the comment: Keep in mind, this could also be a problem with NetBSD's distribution of python. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23155

[issue23155] unittest: object has no attribute '_removed_tests'

2015-01-04 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23155 ___ ___ Python-bugs

[issue19494] urllib2.HTTPBasicAuthHandler (or urllib.request.HTTPBasicAuthHandler) doesn't work with GitHub API v3 and similar

2014-10-09 Thread Ian Cordasco
Ian Cordasco added the comment: This behaviour is allowed by the RFC but not encouraged. There's a difference between MUST, SHOULD, and MAY Sending this pre-emptively could well cause unexpected errors for users. Changing the default even in 3.5 will make writing compatible code difficult

[issue19494] urllib2.HTTPBasicAuthHandler (or urllib.request.HTTPBasicAuthHandler) doesn't work with GitHub API v3 and similar

2014-09-01 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19494 ___ ___ Python-bugs

[issue19494] urllib2.HTTPBasicAuthHandler (or urllib.request.HTTPBasicAuthHandler) doesn't work with GitHub API v3 and similar

2014-09-01 Thread Ian Cordasco
Ian Cordasco added the comment: However, one sticking point is whether that optimization may also have adverse effects in terms of security (since we would always be sending auth headers, even when the server doesn't ask for it...). Antoine's concern has always been a concern of mine

[issue21039] pathlib strips trailing slash

2014-08-08 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21039 ___ ___ Python-bugs

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2014-07-25 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3566 ___ ___ Python-bugs-list

[issue21308] PEP 466: backport ssl changes

2014-07-24 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21308 ___ ___ Python-bugs

[issue17849] Missing size argument in readline() method for httplib's class LineAndFileWrapper

2014-06-30 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17849 ___ ___ Python-bugs

[issue10721] Remove HTTP 0.9 server support

2014-06-26 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10721 ___ ___ Python-bugs

[issue10510] distutils upload/register should use CRLF in HTTP requests

2014-06-20 Thread Ian Cordasco
Ian Cordasco added the comment: Bumping this once more. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10510 ___ ___ Python-bugs-list mailing

[issue10510] distutils upload/register should use CRLF in HTTP requests

2014-05-26 Thread Ian Cordasco
Ian Cordasco added the comment: Per discussion on twitter (https://twitter.com/merwok_/status/468518605135835136) I'm bumping this to make sure it's merged. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10510

[issue21540] PEP 8 should recommend is not and not in

2014-05-20 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21540 ___ ___ Python-bugs

[issue17994] Change necessary in platform.py to support IronPython

2014-05-18 Thread Ian Cordasco
Ian Cordasco added the comment: I missed the fact that the user gave me the information from sys.version: https://stackoverflow.com/questions/16545027/ironpython-error-in-url-request?noredirect=1#comment23847257_16545027 I'll throw together a failing test with this and run it against 2.7

[issue10510] distutils upload/register should use CRLF in HTTP requests

2014-04-27 Thread Ian Cordasco
Ian Cordasco added the comment: I've attached a patch that should fix this issue. Please review and let me know if changes are necessary. -- keywords: +patch Added file: http://bugs.python.org/file35067/compliant_distutils.patch ___ Python tracker

[issue10510] distutils upload/register should use CRLF in HTTP requests

2014-04-22 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10510 ___ ___ Python-bugs

[issue19514] Merge duplicated _Py_IDENTIFIER identifiers in C code

2013-11-07 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19514 ___ ___ Python-bugs

[issue17994] Change necessary in platform.py to support IronPython

2013-05-16 Thread Ian Cordasco
New submission from Ian Cordasco: Stemming from a StackOverflow question[1] and a conversation with Marc-Andre Lemburg via email, I'm filing this issue without any easy way of confirming it myself. It seems that the logic in platform.python_implementation() has been obsoleted by a change

[issue12458] Tracebacks should contain the first line of continuation lines

2013-04-29 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12458 ___ ___ Python-bugs

[issue13655] Python SSL stack doesn't have a default CA Store

2013-02-05 Thread Ian Cordasco
Ian Cordasco added the comment: Éric's suggestion is also implemented in python-requests if I remember correctly. It allows for user-specified PEM files and tries to find the operating system bundle. This would be a wonderful inclusion in the standard library. -- nosy: +icordasc

[issue12779] Update packaging documentation

2013-02-04 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc, larry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12779 ___ ___ Python

[issue6761] Class calling

2013-02-04 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6761 ___ ___ Python-bugs-list

[issue17124] import subprocess hangs for ~25 seconds, 700+ files in dir - py 2.7.3, 2.6.6

2013-02-04 Thread Ian Cordasco
Ian Cordasco added the comment: As a further note, on python 2.6, I just touched a file called time.py, and in the interpreter imported subprocess. It didn't hang because the file was empty but it did generate a pyc file. This is almost certainly the root of your problem. I doubt

[issue17124] import subprocess hangs for ~25 seconds, 700+ files in dir - py 2.7.3, 2.6.6

2013-02-04 Thread Ian Cordasco
Ian Cordasco added the comment: Could you give us the contents of your time.py file? I wonder if there's something in that file that is causing the import to hang. It's the only reason I can think of as to why the time.pyc file shows up. Also, if you want to check before-hand, make a new

[issue17124] import subprocess hangs for ~25 seconds, time.py file in dir - py 2.7.3, 2.6.6

2013-02-04 Thread Ian Cordasco
Ian Cordasco added the comment: Dave, at some point during the import of subprocess the time module is apparently imported. Because of how imports work, it is importing your local copy instead of the standard library version. I would wager money that if you ran time python time.py (on your

[issue17091] thread.lock.acquire docstring bug

2013-02-03 Thread Ian Cordasco
Ian Cordasco added the comment: Was this already taken care of? http://docs.python.org/2/library/thread.html?highlight=thread.lock#thread.lock.acquire and http://docs.python.org/3.3/library/_thread.html?highlight=thread.lock#_thread.lock.acquire don't make any mention of returning None

[issue17091] thread.lock.acquire docstring bug

2013-02-03 Thread Ian Cordasco
Ian Cordasco added the comment: Thanks. I couldn't find it in the source but I just found Modules/_threadmodule.c I tested the method from the interpreter to confirm the changes I was making to the docstring. Attached is a diff that covers the change. -- Added file: http