GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 'bpython.cli.FakeStdin' don't have fileno() method · Issue #232 · bpython/bpython

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

New issue
Copy link
New issue
Copy link
Closed
Closed
'bpython.cli.FakeStdin' don't have fileno() method#232
Copy link
Labels
bug

Description

@ikanobori
ikanobori
opened on Jul 4, 2014
Issue body actions

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


  • Bitbucket: https://bitbucket.org/bobf/bpython/issue/232
  • Originally Reported By: Anonymous
  • Originally Created At: 2012-10-22T11:42:08.347

Activity

  1. ikanobori commented on Jul 4, 2014

    @ikanobori
    ikanobori
    on Jul 4, 2014
    ContributorAuthor
    More actions

    Fixed by PR 21.


    Original Comment By: Sebastian Ramacher

  2. ikanobori
    closed this as completedon Jul 4, 2014
  3. thomasballinger commented on Jul 7, 2014

    @thomasballinger
    thomasballinger
    on Jul 7, 2014
    Member
    More actions

    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 :)

  4. RichardBronosky commented on Apr 20, 2015

    @RichardBronosky
    RichardBronosky
    on Apr 20, 2015
    More actions

    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.

  5. thomasballinger commented on Apr 21, 2015

    @thomasballinger
    thomasballinger
    on Apr 21, 2015
    Member
    More actions

    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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.