FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

'bpython.cli.FakeStdin' don't have fileno() method · Issue #232 · bpython/bpython · GitHub

Repository navigation

'bpython.cli.FakeStdin' don't have fileno() method #232

Description

'bpython.cli.FakeStdin' should have fileno() method


Activity

  1. ikanobori commented on Jul 4, 2014

    ContributorAuthor

    Fixed by PR 21.


    Original Comment By: Sebastian Ramacher

  2. thomasballinger commented on Jul 7, 2014

    Member

    This has been reverted because it caused a bug with input() in Python 3.

    I asked hndrewaall on Bitbucket (who originally raise this issue) why they needed it - said

    It solved an issue I had while using fabric under bpython. I doubt an irrelevant one would work, but I also had so many other issues with fabric + bpython that I'm not sure special consideration for that use case is justified. Indeed, it is quite possible that I should be coming up with patches on the fabric side :)

  3. RichardBronosky commented on Apr 20, 2015

    I ran into this also. http://stackoverflow.com/questions/29757251/get-the-path-of-the-current-tty-in-python/29757597#29757597 I'm using ioctl http://stackoverflow.com/questions/29614264/unable-to-fake-terminal-input-with-termios-tiocsti/29616465#29616465 to send commands to a alternate local tty to solve the 'live demo typing' problem. The project is at https://github.com/RichardBronosky/ttysend but the use of fileno() has not been committed yet.

  4. thomasballinger commented on Apr 21, 2015

    Member

    For a workaround, you might use sys.__stdout__ which isn't faked.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL