Coder Social home page Coder Social logo

Fixes for small problems on Win64 about pyzmq HOT 3 CLOSED

zeromq avatar zeromq commented on May 22, 2024
Fixes for small problems on Win64

from pyzmq.

Comments (3)

minrk avatar minrk commented on May 22, 2024

Thanks for the heads up.

First, the exc_info bug should go to exc_info()[1], not remove the index. sys.exc_info is a function that returns exception info, and I had one type where I tried to index on the function itself, rather that the result. It's behavior is not platform dependent, I just forgot some parentheses.

Yes, Cython does have size_t, but I'm not certain that's what we want here. The traditional way to check against two types is:
isinstance(s, (int,long))

I had to do something slightly more tricky than that in order to preserve Python 3 compatibility, since all ints are longs there, so the long name doesn't exist anymore.

I just pushed these two fixes to a branch
http://github.com/minrk/pyzmq/tree/i46

Can you get that version and let me know if it fixes your problems?

from pyzmq.

minrk avatar minrk commented on May 22, 2024

Fix sys.exc_info typo in ioloop, and typecheck for int/long in poll.

Closed by 359c6e9

from pyzmq.

ggRalf avatar ggRalf commented on May 22, 2024

Sorry for the delay. I'm still fighting with git.
I repeated your changed manually and everything seems to work fine, now.

Thanks!

from pyzmq.

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.