Giter Site home page Giter Site logo

Python3 support about snakeviz HOT 8 CLOSED

jiffyclub avatar jiffyclub commented on September 26, 2024
Python3 support

from snakeviz.

Comments (8)

embray avatar embray commented on September 26, 2024

👍

I haven't had time to work on Snakeviz in a while so it hasn't been a priority. But I use Python 3.4 now as my default Python so when I do go work on it Python3-ification would definitely be a first step. Let me see if I can do that soon.

from snakeviz.

embray avatar embray commented on September 26, 2024

Also, using Python 2 to read Python 3 profiles and vice versa is a separate issue, and could be tricky. I'll have to do some research as to what the state of the art is in that. Might end writing a converter for cProfile output to a more cross-compatible format.

from snakeviz.

cblair avatar cblair commented on September 26, 2024

Cool. Python2 to read Python3 profiles is probably a big task. Doing either that task, or having separate Python 2 and 3 versions would probably be fine. Both might be overkill. : )

Maybe one of us lazy developers can actually help out, too.

from snakeviz.

jiffyclub avatar jiffyclub commented on September 26, 2024

Don't hold me to it, but I think Python 3 support will be pretty easy. Should give it a try one of these evenings.

from snakeviz.

cblair avatar cblair commented on September 26, 2024

Consider this patch, I think this should be python2.x compatible, but someone will have to test it. Works for python3.

cblair@2b190da

from snakeviz.

cdeil avatar cdeil commented on September 26, 2024

@cblair - It would be great if you could turn your branch into a pull request. (I'd also like to use this on Python 3.)

from snakeviz.

ganwell avatar ganwell commented on September 26, 2024

I was able to install snakeviz from git using 2to3 -w .; python setup.py install. It seems to work with python3 as well as with python2.

from snakeviz.

jiffyclub avatar jiffyclub commented on September 26, 2024

Think this should be addressed in 6b5c38a. New release coming soon.

from snakeviz.

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.