-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop Python 3.3 from .manylinux-install.sh #21
Conversation
This was overlooked when dd38abc dropped Python 3.3 from the other files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
A very strange failure on Appveyor for Python 2.7 (32-bit only).
Note that while "appveyor/branch" failed, "appveyor/pr" succeeded, so this failure appears to be non-deterministic?! |
Well the test case is called |
Yup, that error will happen when the randomly sized list turns out to be 0. for size in [10, 20, 50, 100, 200]:
l = list(range(random.randint(1, size), size + random.randint(1, size)))
l_0, deltas = encode_deltas(l) In that case, def encode_deltas(l):
"""Encode deltas in list *l* using a :class:`RiceCode` of size 6."""
if len(l) == 1:
return l[0], [] |
Under what cicrumstances can l = list(range(random.randint(1, size), size + random.randint(1, size))) produce an empty list? The smallest case seems to be when the 1st randint returns the largest possible value and the second the smallest, which turns it into EDIT: my brain, since it's not the input list that's size 0, it's the returned value. |
Sorry, I misspoke. I meant size one, not size 0. The code snippet is correct. |
Anyway, this is a separate bug: #22. |
This was overlooked when dd38abc
dropped Python 3.3 from the other files.