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-102456 Fix docstring and getopt options for base64#102457

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
corona10 merged 1 commit intopython:mainfromppmfloss:fix-base64-option
Apr 2, 2023

Conversation

ppmfloss
Copy link
Contributor

@ppmflossppmfloss commentedMar 6, 2023
edited by bedevere-bot
Loading

The-t option for base64python -m base64 -t is removed in the PR#94230

But some references still exist in the docstring and getopt short options. Because of this we can still run the following command
without getting any error

python -m base64 -t /dev/null

arhadthedev reacted with thumbs up emoji
@arhadthedev
Copy link
Member

@corona10 as a reviewer ofgh-94230 this PR fixes.

@arhadthedevarhadthedev added stdlibPython modules in the Lib dir needs backport to 3.11only security fixes labelsApr 2, 2023
Copy link
Member

@corona10corona10 left a comment

Choose a reason for hiding this comment

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

lgtm

@corona10corona10 merged commitd828b35 intopython:mainApr 2, 2023
@miss-islington
Copy link
Contributor

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

@miss-islington
Copy link
Contributor

Sorry,@ppmfloss and@corona10, I could not cleanly backport this to3.11 due to a conflict.
Please backport usingcherry_picker on command line.
cherry_picker d828b35785eeb590b8ca92684038f33177989e46 3.11

@bedevere-bot
Copy link

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

Hi! The buildbots390x Debian 3.x has failed when building commitd828b35.

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/49/builds/4895) and take a look at the build logs.
  4. Check if the failure is related to this commit (d828b35) 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/49/builds/4895

Failed tests:

  • test_asyncio

Failed subtests:

  • test_subprocess_consistent_callbacks - test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_subprocess_consistent_callbacks
  • test_subprocess_consistent_callbacks - test.test_asyncio.test_subprocess.SubprocessPidfdWatcherTests.test_subprocess_consistent_callbacks

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

== Tests result: FAILURE then FAILURE ==

415 tests OK.

10 slowest tests:

  • test_tools: 2 min 39 sec
  • test_concurrent_futures: 2 min 15 sec
  • test_multiprocessing_spawn: 2 min 8 sec
  • test_math: 1 min 44 sec
  • test_asyncio: 1 min 23 sec
  • test_gdb: 1 min 19 sec
  • test_multiprocessing_forkserver: 1 min 18 sec
  • test_capi: 1 min 17 sec
  • test_signal: 1 min 11 sec
  • test_multiprocessing_fork: 1 min 11 sec

1 test failed:
test_asyncio

17 tests skipped:
test_dbm_ndbm test_devpoll test_ioctl test_kqueue test_launcher
test_msilib test_peg_generator test_perf_profiler test_startfile
test_tix test_tkinter test_ttk test_winconsoleio test_winreg
test_winsound test_wmi test_zipfile64

1 re-run test:
test_asyncio

Total duration: 7 min 2 sec

Click to see traceback logs
Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_asyncio/test_subprocess.py", line770, intest_subprocess_consistent_callbacksself.loop.run_until_complete(main())  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/asyncio/base_events.py", line664, inrun_until_completereturn future.result()^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_asyncio/test_subprocess.py", line762, inmainself.assertEqual(events, [AssertionError:Lists differ: [('pi[29 chars]t'), 'pipe_connection_lost', ('pipe_data_recei[57 chars]ted'] != [('pi[29 chars]t'), ('pipe_data_received', 2, b'stderr'), 'pi[57 chars]ted']Traceback (most recent call last):  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_asyncio/test_subprocess.py", line770, intest_subprocess_consistent_callbacksself.loop.run_until_complete(main())  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/asyncio/base_events.py", line664, inrun_until_completereturn future.result()^^^^^^^^^^^^^^^  File"/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_asyncio/test_subprocess.py", line762, inmainself.assertEqual(events, [AssertionError:Lists differ: [('pi[69 chars]), 'process_exited', 'pipe_connection_lost', '[17 chars]ost'] != [('pi[69 chars]), 'pipe_connection_lost', 'pipe_connection_lo[17 chars]ted']

arhadthedev pushed a commit to arhadthedev/cpython that referenced this pull requestApr 2, 2023
@arhadthedev
Copy link
Member

It seemsgh-94230 missed 3.11 and got into 3.12a0. Thus, removingneeds backport to 3.11.

@arhadthedevarhadthedev removed the needs backport to 3.11only security fixes labelApr 2, 2023
gaogaotiantian pushed a commit to gaogaotiantian/cpython that referenced this pull requestApr 8, 2023
warsaw pushed a commit to warsaw/cpython that referenced this pull requestApr 11, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@arhadthedevarhadthedevarhadthedev left review comments

@corona10corona10corona10 approved these changes

Assignees

@corona10corona10

Labels
skip newsstdlibPython modules in the Lib dir
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@ppmfloss@arhadthedev@miss-islington@bedevere-bot@corona10

[8]ページ先頭

©2009-2025 Movatter.jp