You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tostring method has been deprecated since Python 3.2 and was
removed altogether in 3.9. In Python 3.2 the method was renamed
to "tobytes"
Will closepdfminer#641
* array.array.tostring -> array.array.tobytes
The tostring method has been deprecated since Python 3.2 and was
removed altogether in 3.9. In Python 3.2 the method was renamed
to "tobytes"
Will close#641
* changelog entry
* test for tobytes
* Fix CHANGELOG.md
* Update CHANGELOG.md to PR that I can push on
* Simplify tests
Co-authored-by: Forest Gregg <fgregg@uchicago.edu>
Bug report
The
ccit.py
module has call to the methodtostring
of Python's array.array. This method has been deprecated since Python 3.2 and was removed altogether in Python 3.9.This means that if the this module is used, the library will fail due to
AttributeError
if using Python 3.9 or higher.The method call should be replaced with a call to
tobytes
The
ccit
module is the only place where this method is called.The text was updated successfully, but these errors were encountered: