Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 673
    • Issues 673
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyPy
  • pypypypy
  • Merge requests
  • !644

unix_console's polled fd need to retry to errno.EWOULDBLOCK

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Bitbucket Importer requested to merge topic/kashirin-alex/unix_consolepy-edited-online-with-bitbuc-1556000991814/bitbucket-pr-644 into branch/default Apr 23, 2019
  • Overview 9
  • Commits 0
  • Changes 0

Created originally on Bitbucket by kashirin-alex (Alex Kashirin)

unix_console.py edited online with Bitbucket

Solution to Error:

Python 2.7.13 (8cdda8b8cdb8, Apr 22 2019, 17:50:23)
[PyPy 7.1.1 with GCC 8.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.

Traceback (most recent call last):
File "/opt/pypy2/lib_pypy/_pypy_interact.py", line 42, in interactive_console
run_multiline_interactive_console(mainmodule, future_flags=future_flags)
File "/opt/pypy2/lib_pypy/pyrepl/simple_interact.py", line 70, in run_multiline_interactive_console
returns_unicode=True)
File "/opt/pypy2/lib_pypy/pyrepl/readline.py", line 271, in multiline_input
return reader.readline(returns_unicode=returns_unicode)
File "/opt/pypy2/lib_pypy/pyrepl/reader.py", line 604, in readline
self.handle1()
File "/opt/pypy2/lib_pypy/pyrepl/reader.py", line 561, in handle1
event = self.console.get_event(block)
File "/opt/pypy2/lib_pypy/pyrepl/unix_console.py", line 427, in get_event
self.push_char(os.read(self.input_fd, 1))
OSError: [Errno 11] Resource temporarily unavailable

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: topic/kashirin-alex/unix_consolepy-edited-online-with-bitbuc-1556000991814/bitbucket-pr-644