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 — gh-111201: Remove readline dependency from the PyREPL by lysnikolaou · Pull Request #119262 · python/cpython

Conversation

@lysnikolaou

@lysnikolaou lysnikolaou commented May 20, 2024 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
  • Issue: A new Python REPL #111201

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@lysnikolaou
pythongh-111201: Remove readline dependency from the PyREPL
e51dc14
@bedevere-app bedevere-app Bot added the awaiting core review label May 20, 2024
@bedevere-app bedevere-app Bot mentioned this pull request May 20, 2024
A new Python REPL #111201
Closed
7 tasks done
@lysnikolaou
lysnikolaou requested review from ambv and pablogsal May 20, 2024 20:29
@lysnikolaou lysnikolaou added the topic-repl Related to the interactive shell label May 20, 2024
blurb-it Bot and others added 2 commits May 20, 2024 20:31
@blurb-it
📜🤖 Added by blurb_it.
184d724
@lysnikolaou
Merge branch 'main' into pyrepl-remove-readline
c4838ae
@ambv
ambv enabled auto-merge (squash) May 21, 2024 18:53
@ambv
ambv disabled auto-merge May 21, 2024 20:19
@ambv
ambv merged commit 561ff1f into python:main May 21, 2024
@bedevere-app bedevere-app Bot removed the awaiting core review label May 21, 2024
@lysnikolaou lysnikolaou added the needs backport to 3.13 only security fixes label May 21, 2024
@miss-islington-app

miss-islington-app Bot commented May 21, 2024

Copy link
Copy Markdown

Thanks @lysnikolaou for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@miss-islington-app

miss-islington-app Bot commented May 21, 2024

Copy link
Copy Markdown

Sorry, @lysnikolaou and @ambv, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 561ff1fa710493dee8c6482f990bd17535b27040 3.13
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@miss-islington-app miss-islington-app Bot assigned ambv May 21, 2024
lysnikolaou added a commit to lysnikolaou/cpython that referenced this pull request May 22, 2024
@lysnikolaou
[3.13] pythongh-111201: Remove readline dependency from the PyREPL (p…
7a9afc5
…ythonGH-119262)

(cherry picked from commit 561ff1f)

Co-authored-by: Lysandros Nikolaou <[email protected]>
@bedevere-app

bedevere-app Bot commented May 22, 2024

Copy link
Copy Markdown

GH-119403 is a backport of this pull request to the 3.13 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label May 22, 2024
lysnikolaou added a commit that referenced this pull request May 22, 2024
@lysnikolaou
[3.13] gh-111201: Remove readline dependency from the PyREPL (GH-119262…
ac91636
…) (#119403)

(cherry picked from commit 561ff1f)
@bedevere-bot

bedevere-bot commented May 22, 2024

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot iOS ARM64 Simulator 3.13 has failed when building commit ac91636.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/1386/builds/72) and take a look at the build logs.
  4. Check if the failure is related to this commit (ac91636) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/1386/builds/72

Failed tests:

  • test_socketserver

Failed subtests:

  • test_UnixDatagramServer - test.test_socketserver.SocketServerTest.test_UnixDatagramServer

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):
  File "/Users/buildbot/Library/Developer/XCTestDevices/9C960735-F7A1-480F-9787-7AD43982830A/data/Containers/Bundle/Application/7D8D4A2B-9A9A-473C-AECA-3DB701263F70/iOSTestbed.app/python/lib/python3.13/test/test_socketserver.py", line 222, in test_UnixDatagramServer
    self.run_server(socketserver.UnixDatagramServer,
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                    socketserver.DatagramRequestHandler,
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                    self.dgram_examine)
                    ^^^^^^^^^^^^^^^^^^^
  File "/Users/buildbot/Library/Developer/XCTestDevices/9C960735-F7A1-480F-9787-7AD43982830A/data/Containers/Bundle/Application/7D8D4A2B-9A9A-473C-AECA-3DB701263F70/iOSTestbed.app/python/lib/python3.13/test/support/threading_helper.py", line 66, in decorator
    return func(*args)
  File "/Users/buildbot/Library/Developer/XCTestDevices/9C960735-F7A1-480F-9787-7AD43982830A/data/Containers/Bundle/Application/7D8D4A2B-9A9A-473C-AECA-3DB701263F70/iOSTestbed.app/python/lib/python3.13/test/test_socketserver.py", line 133, in run_server
    testfunc(svrcls.address_family, addr)
    ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/buildbot/Library/Developer/XCTestDevices/9C960735-F7A1-480F-9787-7AD43982830A/data/Containers/Bundle/Application/7D8D4A2B-9A9A-473C-AECA-3DB701263F70/iOSTestbed.app/python/lib/python3.13/test/test_socketserver.py", line 160, in dgram_examine
    buf = data = receive(s, 100)
                 ~~~~~~~^^^^^^^^
  File "/Users/buildbot/Library/Developer/XCTestDevices/9C960735-F7A1-480F-9787-7AD43982830A/data/Containers/Bundle/Application/7D8D4A2B-9A9A-473C-AECA-3DB701263F70/iOSTestbed.app/python/lib/python3.13/test/test_socketserver.py", line 43, in receive
    raise RuntimeError("timed out on %r" % (sock,))
RuntimeError: timed out on <socket.socket fd=33, family=1, type=2, proto=0, laddr=./test_python_5zh11swb.sock>


Traceback (most recent call last):
  File "/Users/buildbot/Library/Developer/XCTestDevices/9C960735-F7A1-480F-9787-7AD43982830A/data/Containers/Bundle/Application/7D8D4A2B-9A9A-473C-AECA-3DB701263F70/iOSTestbed.app/python/lib/python3.13/threading.py", line 1039, in _bootstrap_inner
    self.run()
    ~~~~~~~~^^
  File "/Users/buildbot/Library/Developer/XCTestDevices/9C960735-F7A1-480F-9787-7AD43982830A/data/Containers/Bundle/Application/7D8D4A2B-9A9A-473C-AECA-3DB701263F70/iOSTestbed.app/python/lib/python3.13/threading.py", line 990, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/buildbot/Library/Developer/XCTestDevices/9C960735-F7A1-480F-9787-7AD43982830A/data/Containers/Bundle/Application/7D8D4A2B-9A9A-473C-AECA-3DB701263F70/iOSTestbed.app/python/lib/python3.13/socketserver.py", line 240, in serve_forever
    self._handle_request_noblock()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Users/buildbot/Library/Developer/XCTestDevices/9C960735-F7A1-480F-9787-7AD43982830A/data/Containers/Bundle/Application/7D8D4A2B-9A9A-473C-AECA-3DB701263F70/iOSTestbed.app/python/lib/python3.13/socketserver.py", line 320, in _handle_request_noblock
    self.handle_error(request, client_address)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/buildbot/Library/Developer/XCTestDevices/9C960735-F7A1-480F-9787-7AD43982830A/data/Containers/Bundle/Application/7D8D4A2B-9A9A-473C-AECA-3DB701263F70/iOSTestbed.app/python/lib/python3.13/socketserver.py", line 318, in _handle_request_noblock
    self.process_request(request, client_address)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/buildbot/Library/Developer/XCTestDevices/9C960735-F7A1-480F-9787-7AD43982830A/data/Containers/Bundle/Application/7D8D4A2B-9A9A-473C-AECA-3DB701263F70/iOSTestbed.app/python/lib/python3.13/socketserver.py", line 349, in process_request
    self.finish_request(request, client_address)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/buildbot/Library/Developer/XCTestDevices/9C960735-F7A1-480F-9787-7AD43982830A/data/Containers/Bundle/Application/7D8D4A2B-9A9A-473C-AECA-3DB701263F70/iOSTestbed.app/python/lib/python3.13/socketserver.py", line 362, in finish_request
    self.RequestHandlerClass(request, client_address, self)
    ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/buildbot/Library/Developer/XCTestDevices/9C960735-F7A1-480F-9787-7AD43982830A/data/Containers/Bundle/Application/7D8D4A2B-9A9A-473C-AECA-3DB701263F70/iOSTestbed.app/python/lib/python3.13/socketserver.py", line 763, in __init__
    self.finish()
    ~~~~~~~~~~~^^
  File "/Users/buildbot/Library/Developer/XCTestDevices/9C960735-F7A1-480F-9787-7AD43982830A/data/Containers/Bundle/Application/7D8D4A2B-9A9A-473C-AECA-3DB701263F70/iOSTestbed.app/python/lib/python3.13/socketserver.py", line 858, in finish
    self.socket.sendto(self.wfile.getvalue(), self.client_address)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 54] Connection reset by peer
ERROR
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lysnikolaou

lysnikolaou commented May 22, 2024

Copy link
Copy Markdown
Member Author

Buildbot failure appears to be unrelated.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@JelleZijlstra JelleZijlstra mentioned this pull request May 28, 2024
backport a9a74da 3.13 #119642
Closed
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
@lysnikolaou @estyxx
pythongh-111201: Remove readline dependency from the PyREPL (python#1…
a16e672
…19262)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@pablogsal pablogsal Awaiting requested review from pablogsal pablogsal is a code owner
@ambv ambv Awaiting requested review from ambv ambv is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@ambv ambv

Labels

topic-repl Related to the interactive shell

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@lysnikolaou @bedevere-bot @ambv
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.