diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2641b0940..59cd223f6 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -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` diff --git a/chess/__init__.py b/chess/__init__.py index 067b641e3..90c32ddda 100644 --- a/chess/__init__.py +++ b/chess/__init__.py @@ -20,7 +20,7 @@ __email__ = "niklas.fiekas@tu-clausthal.de" -__version__ = "0.5.0" +__version__ = "0.6.0" import collections import re @@ -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 @@ -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,