Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:ilanschnell/bitarray

  • Loading branch information...
commit 5ea057ec6b62420e9232e42aeb689662e664284a 2 parents 1d33af8 + e9e458e
Ilan Schnell authored
Showing with 2 additions and 24 deletions.
  1. +1 −20 TODO
  2. +1 −4 update_readme.py
View
21 TODO
@@ -16,7 +16,7 @@ gcc -bundle -undefined dynamic_lookup -g -arch x86_64 -arch x86_64 \
#!/bin/bash
-for PY in 2.5 2.6 2.7 3.2
+for PY in 2.4 2.5 2.6 2.7 3.1 3.2
do
PYBIN=$HOME/$PY/bin/python
rm -rf $HOME/$PY/lib/python$PY/site-packages
@@ -77,22 +77,3 @@ static char bytereverse_trans[256] = {
0x0f, 0x8f, 0x4f, 0xcf, 0x2f, 0xaf, 0x6f, 0xef,
0x1f, 0x9f, 0x5f, 0xdf, 0x3f, 0xbf, 0x7f, 0xff,
};
-
-static int bitcount_lookup[256] = {
- 0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4,
- 1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
- 1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
- 2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
- 1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
- 2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
- 2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
- 3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7,
- 1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
- 2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
- 2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
- 3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7,
- 2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
- 3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7,
- 3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7,
- 4, 5, 5, 6, 5, 6, 6, 7, 5, 6, 6, 7, 6, 7, 7, 8,
-};
View
5 update_readme.py
@@ -6,7 +6,7 @@
import bitarray
-fo = None
+fo = StringIO()
def write_changelog():
@@ -79,10 +79,7 @@ def write_all(data):
def main():
- global fo
-
data = open('README.rst').read()
- fo = StringIO()
write_all(data)
new_data = fo.getvalue()
fo.close()
Please sign in to comment.
Something went wrong with that request. Please try again.