GithubHelp home page GithubHelp logo

Python 3.x Support about requests HOT 14 CLOSED

psf avatar psf commented on July 21, 2024
Python 3.x Support

from requests.

Comments (14)

merwok avatar merwok commented on July 21, 2024

Are you going to use 2to3 at build-time, or manually maintain two branches, or support both lines from a single codebase?

from requests.

kennethreitz avatar kennethreitz commented on July 21, 2024

@merwok: support both from the same codebase, ideally (this is what I do for tablib).

from requests.

merwok avatar merwok commented on July 21, 2024

Okay. I guess you’ll have a small compat module, like six (look for it on PyPI if you don’t know what it is), and sprinkle the ugly b function everywhere to have sane bytes/string separation.

from requests.

kennethreitz avatar kennethreitz commented on July 21, 2024

https://github.com/kennethreitz/tablib/blob/develop/tablib/compat.py :D

from requests.

mlen108 avatar mlen108 commented on July 21, 2024

Hey, if you don't mind my asking - is there any progress on it?

from requests.

kennethreitz avatar kennethreitz commented on July 21, 2024

Yes, great progress! The feature/rewrite branch has urllib2 and poster removed, and has a nice new codebasethat will be wonderfully simple to port to 3.x :)

from requests.

kennethreitz avatar kennethreitz commented on July 21, 2024

Requests v0.8.x has been released for several weeks now, which uses urllib3. Getting closer!

from requests.

fafhrd91 avatar fafhrd91 commented on July 21, 2024

Hey, is there any progress on py3 compatibility?

from requests.

piotr-dobrogost avatar piotr-dobrogost commented on July 21, 2024

Well, kind of... Team behind pip installer may pretty soon decide to use requests instead of what they currently have and when this happens the pressure for porting will be enormous :)

from requests.

jezdez avatar jezdez commented on July 21, 2024

Actually, no pressure from us, really, take your time, get this right the first time.

from requests.

kennethreitz avatar kennethreitz commented on July 21, 2024

@jezdez nothing wrong with some motivation :)

from requests.

kennethreitz avatar kennethreitz commented on July 21, 2024

✨ 🍰 ✨

from requests.

kennethreitz avatar kennethreitz commented on July 21, 2024

IT IS FINISHED

from requests.

oemmerson avatar oemmerson commented on July 21, 2024

Awesome, thank you!

from requests.

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.