[issue18949] codeop possible flow erro

2013-09-06 Thread Wilberto Morales
New submission from Wilberto Morales: I think the way this loop in /Lib/codeop.py is wrong def _maybe_compile(compiler, source, filename, symbol): # Check for source consisting of only blank lines and comments for line in source.split("\n"): line = line.strip()

[issue18949] codeop possible flow error

2013-09-06 Thread Wilberto Morales
Changes by Wilberto Morales : -- title: codeop possible flow erro -> codeop possible flow error ___ Python tracker <http://bugs.python.org/issue18949> ___ _

[issue18949] codeop possible flow error

2013-09-06 Thread Wilberto Morales
Wilberto Morales added the comment: I can't provide a example but reading the source comments it seems wrong. 'First, check if the source consists entirely of blank lines and comments; if so, replace it with 'pass', because the built-in parser doesn't always do the ri

[issue22311] Pip 404's

2014-08-31 Thread Wilberto Morales
New submission from Wilberto Morales: I know that issues like this one are usually on the users(my) fault, but I think pip might be broken this time for real. Every time I run pip install, a 404 error is raised: (venv) /tmp wil >>> pip install flask Requirement already satis

[issue22311] Pip 404's

2014-08-31 Thread Wilberto Morales
Wilberto Morales added the comment: Good to know I'm not the only one. In the comments above, scratch the "/" after .gz. Looks like it's just a redirect adding it. This is the actual url generated. https://pypi.python.org/simple/packages/source/W/Werkzeug/Werkz

[issue22311] Pip 404's

2014-08-31 Thread Wilberto Morales
Wilberto Morales added the comment: Also I see PIP is it's own project. Should I migrate the issue? It won't be as easy as I thought to fix. >>> git diff diff --git a/pip/_vendor/distlib/locators.py b/pip/_vendor/distlib/locators.py index 07bc1fd..b7ef31a 100644 --- a/