GithubHelp home page GithubHelp logo

python3 broken backtrace + typo about pudb HOT 6 CLOSED

inducer avatar inducer commented on August 25, 2024
python3 broken backtrace + typo

from pudb.

Comments (6)

asmeurer avatar asmeurer commented on August 25, 2024

That's actually not a typo. That's how you have to do it for Python 2.4 and 2.5 support. But it doesn't work in Python 3. I don't know if there's a way around it.

from pudb.

asmeurer avatar asmeurer commented on August 25, 2024

See http://docs.python.org/3/howto/pyporting.html#capturing-the-currently-raised-exception.

from pudb.

inducer avatar inducer commented on August 25, 2024

The real issue is that I thought the installation script for pudb contained an invocation of 2to3, which should've made this issue disappear, but it did not. Fixed in 4f913f6. Please reopen if there's still an issue.

from pudb.

asmeurer avatar asmeurer commented on August 25, 2024

That's because you decided to use a single code base. If you switch to 2to3, there is a lot of code that can be simplified. I think you can probably delete the py3compat file completely.

from pudb.

asmeurer avatar asmeurer commented on August 25, 2024

See #1.

from pudb.

inducer avatar inducer commented on August 25, 2024

Wow. Goes to show how little I remember of the cr*p I said years ago. :) Re-fixed by 4059aeb.

from pudb.

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.