Visitar URL original
is twisted support going away? · Issue #803 · bpython/bpython · GitHub
Skip to content

is twisted support going away? #803

Description

@glyph

I've been using bpython for a long time due to its twisted support. I notice that the urwid backend is going away. Are there plans for replacing twisted support with asyncio?

Activity

  1. supakeen commented on Apr 11, 2020

    @supakeen
    Member

    Hey glyph, I am planning on not removing these backends until their unique features are available in the main backend. A big part of the deprecation messages is that we can gather information on differences and usecases for the various current backends and consolidate them.

  2. thomasballinger commented on Apr 13, 2020

    @thomasballinger
    Member

    I'd be interested in what support would be ideal for you @glyph, is it good embed behavior + twisted event loop? Just the event loop integration?

    Edit: (in order to assess whether there is a way to support your use case with curtsies or whether maintaining the urwid version is important for that)

  3. glyph commented on Apr 13, 2020

    @glyph
    Author

    Hey glyph, I am planning on not removing these backends until their unique features are available in the main backend.

    This is great to hear, thank you!

  4. glyph commented on Apr 13, 2020

    @glyph
    Author

    I'd be interested in what support would be ideal for you @glyph, is it good embed behavior + twisted event loop? Just the event loop integration?

    I have some janky stuff that connects it to the event loop in my python startup. It looks like this:

    https://gist.github.com/glyph/e02303b61ca6fec0f0bc504b7f5fe52e

    Mainly I just want the event loop integration though, so that I have the ability to build something like that.

  5. added this to the release-0.21 milestone on Aug 25, 2020
  6. thomasballinger commented on Nov 9, 2021

    @thomasballinger
    Member

    @glyph is this still something you're using? This topic came up again and since your name was mentioned I wanted to check.

    I ought to look into reactor support for Curtsies, it's driving the event loop right now.

  7. glyph commented on Nov 9, 2021

    @glyph
    Author

    I still use it almost every day, but I certainly understand if the maintenance burden is too intense. If we fixed https://twistedmatrix.com/trac/ticket/9968 you could do standard asyncio support and get twisted for free.

  8. glyph commented on Nov 9, 2021

    @glyph
    Author

    (I care about Twisted's reactors, because I actually use bpython with cfreactor on the mac, and on the rare occasions when I'm still using a Linux GUI, gireactor so I can run the event loop and display GUI elements but still interact with them from a terminal, rather than simply doing network I/O.)

  9. thomasballinger commented on Nov 9, 2021

    @thomasballinger
    Member

    There are still no plans to remove Urwid until this is available somewhere else, just thinking about the somewhere else part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions