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 satisfied (use --upgrade
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/Werkzeug-0.9.6.tar.gz#md5
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/pip/_vendor/distlib
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()
if line
Changes by Wilberto Morales wilbertomorales...@gmail.com:
--
title: codeop possible flow erro - codeop possible flow error
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18949
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 right thing for these.'
So