Giter Club home page Giter Club logo

corefoundationasyncio's People

Contributors

alberthier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ramnes

corefoundationasyncio's Issues

Question regarding concurrent.futures

Hi!

First let me say a huge thank you for sharing corefoundationasyncio: I had been looking for a way to use asyncio in PyObjC-based Cocoa apps for a while and this is gold. It's working really well for me.

I have an issue with using concurrent.futures.ProcessPoolExecutor, that I use with loop.run_in_executor(). It's mostly working just fine, but in some situations that I haven't quite pinned down yet (but seem repeatable), a sub-process will fail like this: concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

Now, I read your note about the selector implementation, and how it's not compatible with a GUI app. I know concurrent.futures.ProcessPoolExecutor uses the selector module, so I was wondering (without understanding much about the subject in general, I should add) if that may be hinting at the root of my problem. Should I perhaps avoid concurrent.futures.ProcessPoolExecutor and solve my multi-processing needs some other ways, perhaps with the subprocess module?

Thanks for any clues, and thanks again for bringing asyncio to Cocoa!

missing pyproject.toml triggers a deprecation warning from pip

trying to install corefoundationasyncio on python3.11 with pip22.3 triggers the following warning:

DEPRECATION: corefoundationasyncio is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559

the warning points to the following discussion: pypa/pip#8559

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.