bibanon / BASC-py4chan

Python wrapper for 4chan API. The BA's vastly improved fork of Edgeworth's original.
http://basc-py4chan.readthedocs.org/en/latest/index.html
Do What The F*ck You Want To Public License
55 stars 13 forks source link

Updated Util.py for python3.9 #30

Closed Ph-ill closed 2 years ago

Ph-ill commented 2 years ago

Python update 3.9 broke this part of the program HTMLParser() is now replaced with just html, this restores functionality with python 3.9

antonizoon commented 2 years ago

It's been so long that I guess, does there still need to be Python 2.x compatibility?

However, we do still want to maintain compability with Python 3.6 at minimum because it is used by RHEL8. So your pull request needs to use a switch just like we did to leave the previous call as is for Python 3.8 and lower before we can merge it.

Ph-ill commented 2 years ago

It's been so long that I guess, does there still need to be Python 2.x compatibility?

However, we do still want to maintain compability with Python 3.6 at minimum because it is used by RHEL8. So your pull request needs to use a switch just like we did to leave the previous call as is for Python 3.8 and lower before we can merge it.

Of course, that slipped my mind, I'll close this pull request and replace with one that takes that into consideration promptly.