asweigart / pyperclip

Python module for cross-platform clipboard functions.
https://pypi.python.org/pypi/pyperclip
BSD 3-Clause "New" or "Revised" License
1.65k stars 196 forks source link

1.9.0 release breaks python 2 compatibility #268

Open bentom08 opened 1 month ago

bentom08 commented 1 month ago

The 1.9.0 release introduced 2 f-strings into __init__.py on lines 484 and 491. When pyperclip is imported in a Python 2 environment, these lines cause a syntax error

r-barnes commented 1 month ago

Thank goodness. Python 2 reached EOL on January 1, 2020.