erikrose / parsimonious

The fastest pure-Python PEG parser I can muster
MIT License
1.8k stars 126 forks source link

Remove six and python 2 compatibility code #192

Closed lucaswiman closed 2 years ago

lucaswiman commented 2 years ago

Now that support for python 2 has been dropped in https://github.com/erikrose/parsimonious/commit/e9290561d88f81fea256caba6b7dae3ef52f56f7 by @lonnen, Python 2 compatibility code can be removed. This includes all usages of six. six.iter{keys,items,values} can be replaced with the ordinary dict methods, six.text_type can be replaced by str, and most of the other imports can just be removed. See https://github.com/erikrose/parsimonious/pull/89/files for places where they were originally added.

lonnen commented 2 years ago

this PR should resolve things: https://github.com/erikrose/parsimonious/pull/194

lonnen commented 2 years ago

resolved