Code Monkey home page Code Monkey logo

Comments (6)

HerringtonDarkholme avatar HerringtonDarkholme commented on July 22, 2024 1

There seems no easy way to implement this in Python3, if we don't want to drop support for 3.3-. Pyhton's standard library is poor, asycio is not available until 3.4. For compatibility we can use process.stdout.readline but it will still hang if process underlying has no output at all. But even if we do use asyncio it will require a huge rewriting.

from denite.nvim.

Shougo avatar Shougo commented on July 22, 2024

Yes. It is already on the todo list.

from denite.nvim.

carlitux avatar carlitux commented on July 22, 2024

@Shougo maybe convert to generator the gather_candidates methods then add lines to denite buffer with some kind of events or callbacks.

Maybe something more complex is to use async and generators but we need python 3.5

from denite.nvim.

Shougo avatar Shougo commented on July 22, 2024

I have implemented the asynchronous.
But Popen.communicate() does not return the incremental output.

from denite.nvim.

tjdevries avatar tjdevries commented on July 22, 2024

@Shougo I will take a look at it today and try and submit a PR. I have some time today.

from denite.nvim.

Shougo avatar Shougo commented on July 22, 2024

I will use Vim8/neovim job API for it.

from denite.nvim.

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.