Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-111201: A new Python REPL#111567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ambv merged 88 commits intopython:mainfrompablogsal:pyrepl
May 5, 2024
Merged

gh-111201: A new Python REPL#111567

ambv merged 88 commits intopython:mainfrompablogsal:pyrepl
May 5, 2024

Conversation

pablogsal
Copy link
Member

@pablogsalpablogsal commentedOct 31, 2023
edited by bedevere-appbot
Loading

Eclips4, jezdez, hugovk, neutrinoceros, danielhollas, tusharsadhwani, erlend-aasland, henryiii, soof-golan, and furkanonder reacted with rocket emoji
@bedevere-appbedevere-appbot mentioned this pull requestOct 31, 2023
7 tasks
Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

You add many env vars. Can you document them in Doc/using/cmdline.rst?

Usually, env var names start with PYTHON. Should the variables be renamed?

Also, Python ignores env var starting with PYTHON if sys.flags.ignore_environment.

manually.

Note that there is also a built-in module _minimal_curses which will
hide this one if compiled in.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Is it part of this PR? If not, do you consider adding it or not?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Yes, sounds like this comment was carried over from pypy but doesn't apply here.

@pablogsal
Copy link
MemberAuthor

@vstinner the PR is still draft, please wait until we mark it as finished before reviewing as most of this code may change

@pablogsalpablogsalforce-pushed thepyrepl branch 3 times, most recently fromc34adb8 to702b59eCompareApril 28, 2024 14:47
Copy link
Member

@hugovkhugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Please also add a What's New entry.

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@pablogsal
Copy link
MemberAuthor

Please also add a What's New entry.

There is already one (Misc/NEWS.d/next/Core and Builtins/2024-04-28-00-41-17.gh-issue-111201.cQsh5U.rst)

pablogsaland others added2 commitsMay 5, 2024 12:21
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@pablogsal
Copy link
MemberAuthor

@hugovk@JelleZijlstra I have implemented your suggestions. If you have some time, do you mind reviewing again?

Copy link
Member

@hugovkhugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Docs changes look good.

One suggestion: this PR adds the main docs to the tutorial, we should probably add something to the reference, but this could be a followup.

Please also add a What's New entry.

There is already one (Misc/NEWS.d/next/Core and Builtins/2024-04-28-00-41-17.gh-issue-111201.cQsh5U.rst)

That's the changelog, this change definitely needs highlighting inhttps://docs.python.org/3.13/whatsnew/3.13.html but it can also be in a followup PR.

pablogsal and ambv reacted with thumbs up emoji
Copy link
Contributor

@cfbolzcfbolz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Cool to see this!

Just to check, was it intentional that you didn't portPyPy's_pyrepl tests? There's not a huge amount of tests there, admittedly.

I am philosophically a little bit worried that people will start using and relying on_pyrepl internal details, which are now slightly different between PyPy and CPython, right? This could lead to PyPy's life getting somewhat harder in this area. As usual, it's hard to stop people from doing that, of course.

self.restore()
yield
finally:
for arg in ("msg", "ps1", "ps2", "ps3", "ps4", "paste_mode"):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

why is there a discrepancy between howprev_state is constructed (which usesfields(self) and how it is used in the finally block (listing the attributes explicitly)?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

It evolved into this, which you're right would now be cleaner to just reuse the list of fields.

I originally started with justdict(__dict__) but when I added typing withslots=True the__dict__ was gone so I modified it to usefields() instead.

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@ambvambv merged commitf27f8c7 intopython:mainMay 5, 2024
@bedevere-bot
Copy link

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

Hi! The buildbotAMD64 FreeBSD 3.x has failed when building commitf27f8c7.

What do you need to do:

  1. Don't panic.
  2. Checkthe 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/1223/builds/3012) and take a look at the build logs.
  4. Check if the failure is related to this commit (f27f8c7) 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/1223/builds/3012

Failed tests:

  • test_pyrepl

Failed subtests:

  • test_push_without_key_in_keymap - test.test_pyrepl.TestUnivEventQueue.test_push_without_key_in_keymap
  • test_flush_buf - test.test_pyrepl.TestUnivEventQueue.test_flush_buf
  • test_push_with_key_in_keymap - test.test_pyrepl.TestUnivEventQueue.test_push_with_key_in_keymap
  • test_insert - test.test_pyrepl.TestUnivEventQueue.test_insert
  • test_get - test.test_pyrepl.TestUnivEventQueue.test_get
  • test_push_special_key - test.test_pyrepl.TestUnivEventQueue.test_push_special_key
  • test_empty - test.test_pyrepl.TestUnivEventQueue.test_empty
  • test_push_with_keymap_in_keymap - test.test_pyrepl.TestUnivEventQueue.test_push_with_keymap_in_keymap
  • test_push_with_keymap_in_keymap_and_escape - test.test_pyrepl.TestUnivEventQueue.test_push_with_keymap_in_keymap_and_escape
  • test_push_unrecognized_escape_sequence - test.test_pyrepl.TestUnivEventQueue.test_push_unrecognized_escape_sequence

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

==

Click to see traceback logs
Traceback (most recent call last):  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_pyrepl.py", line643, intest_push_without_key_in_keymap    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_pyrepl.py", line613, intest_empty    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_pyrepl.py", line653, intest_push_with_keymap_in_keymap    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_pyrepl.py", line668, intest_push_with_keymap_in_keymap_and_escape    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_pyrepl.py", line633, intest_push_with_key_in_keymap    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_pyrepl.py", line625, intest_insert    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_pyrepl.py", line691, intest_push_unrecognized_escape_sequence    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_pyrepl.py", line607, intest_get    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_pyrepl.py", line682, intest_push_special_key    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_pyrepl.py", line619, intest_flush_buf    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:fileno

@bedevere-bot
Copy link

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

Hi! The buildbotARM Raspbian 3.x has failed when building commitf27f8c7.

What do you need to do:

  1. Don't panic.
  2. Checkthe 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/424/builds/7064) and take a look at the build logs.
  4. Check if the failure is related to this commit (f27f8c7) 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/424/builds/7064

Failed tests:

  • test_pyrepl

Failed subtests:

  • test_push_without_key_in_keymap - test.test_pyrepl.TestUnivEventQueue.test_push_without_key_in_keymap
  • test_flush_buf - test.test_pyrepl.TestUnivEventQueue.test_flush_buf
  • test_push_with_key_in_keymap - test.test_pyrepl.TestUnivEventQueue.test_push_with_key_in_keymap
  • test_insert - test.test_pyrepl.TestUnivEventQueue.test_insert
  • test_get - test.test_pyrepl.TestUnivEventQueue.test_get
  • test_push_special_key - test.test_pyrepl.TestUnivEventQueue.test_push_special_key
  • test_empty - test.test_pyrepl.TestUnivEventQueue.test_empty
  • test_push_with_keymap_in_keymap - test.test_pyrepl.TestUnivEventQueue.test_push_with_keymap_in_keymap
  • test_push_with_keymap_in_keymap_and_escape - test.test_pyrepl.TestUnivEventQueue.test_push_with_keymap_in_keymap_and_escape
  • test_push_unrecognized_escape_sequence - test.test_pyrepl.TestUnivEventQueue.test_push_unrecognized_escape_sequence

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

==

Click to see traceback logs
Traceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_pyrepl.py", line691, intest_push_unrecognized_escape_sequence    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_pyrepl.py", line625, intest_insert    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_pyrepl.py", line613, intest_empty    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_pyrepl.py", line653, intest_push_with_keymap_in_keymap    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_pyrepl.py", line607, intest_get    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_pyrepl.py", line682, intest_push_special_key    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_pyrepl.py", line643, intest_push_without_key_in_keymap    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_pyrepl.py", line668, intest_push_with_keymap_in_keymap_and_escape    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_pyrepl.py", line633, intest_push_with_key_in_keymap    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_pyrepl.py", line619, intest_flush_buf    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:fileno

@bedevere-bot
Copy link

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

Hi! The buildbotaarch64 Debian Clang LTO + PGO 3.x has failed when building commitf27f8c7.

What do you need to do:

  1. Don't panic.
  2. Checkthe 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/1084/builds/4264) and take a look at the build logs.
  4. Check if the failure is related to this commit (f27f8c7) 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/1084/builds/4264

Failed tests:

  • test_pyrepl

Failed subtests:

  • test_push_without_key_in_keymap - test.test_pyrepl.TestUnivEventQueue.test_push_without_key_in_keymap
  • test_flush_buf - test.test_pyrepl.TestUnivEventQueue.test_flush_buf
  • test_push_with_key_in_keymap - test.test_pyrepl.TestUnivEventQueue.test_push_with_key_in_keymap
  • test_insert - test.test_pyrepl.TestUnivEventQueue.test_insert
  • test_get - test.test_pyrepl.TestUnivEventQueue.test_get
  • test_push_special_key - test.test_pyrepl.TestUnivEventQueue.test_push_special_key
  • test_empty - test.test_pyrepl.TestUnivEventQueue.test_empty
  • test_push_with_keymap_in_keymap - test.test_pyrepl.TestUnivEventQueue.test_push_with_keymap_in_keymap
  • test_push_with_keymap_in_keymap_and_escape - test.test_pyrepl.TestUnivEventQueue.test_push_with_keymap_in_keymap_and_escape
  • test_push_unrecognized_escape_sequence - test.test_pyrepl.TestUnivEventQueue.test_push_unrecognized_escape_sequence

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

==

Click to see traceback logs
Traceback (most recent call last):  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/test/test_pyrepl.py", line682, intest_push_special_key    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/test/test_pyrepl.py", line613, intest_empty    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/test/test_pyrepl.py", line625, intest_insert    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/test/test_pyrepl.py", line691, intest_push_unrecognized_escape_sequence    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/test/test_pyrepl.py", line668, intest_push_with_keymap_in_keymap_and_escape    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/test/test_pyrepl.py", line619, intest_flush_buf    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/test/test_pyrepl.py", line653, intest_push_with_keymap_in_keymap    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/test/test_pyrepl.py", line643, intest_push_without_key_in_keymap    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/test/test_pyrepl.py", line607, intest_get    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:filenoTraceback (most recent call last):  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/unittest/mock.py", line1420, inpatchedreturn func(*newargs,**newkeywargs)  File"/var/lib/buildbot/workers/arm64-clang/3.x.gps-arm64-debian.clang.lto-pgo/build/Lib/test/test_pyrepl.py", line633, intest_push_with_key_in_keymap    eq= EventQueue(sys.stdout.fileno(),"utf-8")~~~~~~~~~~~~~~~~~^^io.UnsupportedOperation:fileno

SonicField pushed a commit to SonicField/cpython that referenced this pull requestMay 8, 2024
Co-authored-by: Łukasz Langa <lukasz@langa.pl>Co-authored-by: Marta Gómez Macías <mgmacias@google.com>Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ambvambvambv approved these changes

@hugovkhugovkhugovk approved these changes

@cfbolzcfbolzcfbolz approved these changes

@rhettingerrhettingerAwaiting requested review from rhettinger

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrentlyericsnowcurrently is a code owner

@iritkatrieliritkatrielAwaiting requested review from iritkatriel

@ezio-melottiezio-melottiAwaiting requested review from ezio-melottiezio-melotti is a code owner

@vstinnervstinnerAwaiting requested review from vstinner

@JelleZijlstraJelleZijlstraAwaiting requested review from JelleZijlstra

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

9 participants
@pablogsal@bedevere-bot@ambv@cfbolz@vstinner@JelleZijlstra@hugovk@mgmacias95@lysnikolaou

[8]ページ先頭

©2009-2025 Movatter.jp