Giter Club home page Giter Club logo

Comments (3)

stricaud avatar stricaud commented on August 26, 2024

Seems to be a Python 3.3 issue we don't reproduce with 3.1 or 3.2

from faup.

sebdraven avatar sebdraven commented on August 26, 2024

In python 3.2 we have a another error :

Traceback (most recent call last):
File "test.py", line 11, in
data = f.get()
File "/Documents/python/workspace/Faup/faup/src/lib/bindings/python/pyfaup/faup.py", line 145, in get
retval["subdomain"] = self.get_subdomain()
File "Documents/python/workspace/Faup/faup/src/lib/bindings/python/pyfaup/faup.py", line 61, in get_subdomain
self.tldex._extract(self.get_host())
File "/Documents/python/workspace/Faup/faup/src/lib/bindings/python/pyfaup/tldextract.py", line 94, in _extract
registered_domain, tld = self._get_tld_extractor().extract(host)
File "/Documents/python/workspace/Faup/faup/src/lib/bindings/python/pyfaup/tldextract.py", line 121, in _get_tld_extractor
tlds = frozenset(binascii.a2b_qp(tld) for tld_source in tld_sources for tld in tld_source())
File "/Documents/python/workspace/Faup/faup/src/lib/bindings/python/pyfaup/tldextract.py", line 121, in
tlds = frozenset(binascii.a2b_qp(tld) for tld_source in tld_sources for tld in tld_source())
TypeError: 'str' does not support the buffer interface

from faup.

stricaud avatar stricaud commented on August 26, 2024

Fixed. That was not easy. Sebdraven has done an amazing job there!

from faup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.