Skip to content

Commit

Permalink
Prepare release of 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Nov 8, 2014
1 parent 9c8d28a commit 8cf4f97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ is more important to get things right, than to be consistent with previous
versions. Use this changelog to see what changed in a new release, because this
might include API breaking changes.

Up for the next release
-----------------------
New in v0.6.0
-------------

* If there are comments in a game before the first move, these are now assigned
to `Game.comment` instead of `Game.starting_comment`. `Game.starting_comment`
Expand Down
4 changes: 3 additions & 1 deletion chess/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

__email__ = "[email protected]"

__version__ = "0.5.0"
__version__ = "0.6.0"

import collections
import re
Expand Down Expand Up @@ -419,6 +419,7 @@ def l45(b):
[ BB_PAWN_ATTACKS[1][i] | BB_PAWN_F1[1][i] | BB_PAWN_F2[1][i] for i in SQUARES ]
]


try:
from gmpy2 import popcount as pop_count
from gmpy2 import bit_scan1 as bit_scan
Expand All @@ -439,6 +440,7 @@ def bit_scan(b, n=0):
else:
return l - r - 1


POLYGLOT_RANDOM_ARRAY = [
0x9D39247E33776D41, 0x2AF7398005AAA5C7, 0x44DB015024623547, 0x9C15F73E62A76AE2,
0x75834465489C0C89, 0x3290AC3A203001BF, 0x0FBBAD1F61042279, 0xE83A908FF2FB60CA,
Expand Down

0 comments on commit 8cf4f97

Please sign in to comment.