JHUISI / charm

Charm: A Framework for Rapidly Prototyping Cryptosystems
http://charm-crypto.io
GNU Lesser General Public License v3.0
542 stars 166 forks source link

Fix downcaseTokens issue in policytree.py with pyparsing >=2.4.1 #252

Closed raghavkaul closed 4 years ago

raghavkaul commented 4 years ago

In Pyparsing 2.4.1, downcaseTokens is moved to pyparsing_common, breaking imports in policytree.py.

An alternative fix is to update policytree.py to use the pyparsing_common.downcaseTokens import, but that might involve a permanent bump to the pyparsing version (which is the correct fix, but less conservative).

fixes #249