FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-95011: Migrate syslog module to Argument Clinic by noamcohen97 · Pull Request #95012 · python/cpython · GitHub

/ cpython Public

gh-95011: Migrate syslog module to Argument Clinic - #95012

Merged
serhiy-storchaka merged 22 commits into
python:mainfrom
noamcohen97:clinic-syslog
Oct 8, 2022
Merged

gh-95011: Migrate syslog module to Argument Clinic#95012
serhiy-storchaka merged 22 commits into
python:mainfrom
noamcohen97:clinic-syslog

Conversation

noamcohen97 commented Jul 19, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

This improves code readability and performance by delegating all of the argument parsing logic to Clinic.

Fixes #95011

Copy link
Copy Markdown

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

noamcohen97 changed the title Migrate syslog module to Argument Clinic gh-95011: Migrate syslog module to Argument Clinic Jul 19, 2022

Copy link
Copy Markdown
Contributor

On hold until #95007 is resolved.

Copy link
Copy Markdown
Contributor

Also, please don't force push; it does not play well with the GitHub UI. Please use git merge --no-ff main instead.

Copy link
Copy Markdown
Member

Namely, it forces us to reread the whole PR from scratch instead of swiftly looking at a diff:

serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looking at the code I found several issues in syslog (#95041). Please wait until I fix them.

Comment thread Modules/syslogmodule.c Outdated
Comment thread Modules/syslogmodule.c Outdated
Comment thread Modules/syslogmodule.c Outdated
Comment thread Modules/syslogmodule.c Outdated
Comment thread Modules/syslogmodule.c Outdated
Comment thread Modules/syslogmodule.c Outdated

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

noamcohen97 and others added 4 commits July 26, 2022 07:49
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
Comment thread Modules/syslogmodule.c

Copy link
Copy Markdown
Contributor Author

I have made the requested changes; please review again.
Still waiting for #95058 to be merged.

Copy link
Copy Markdown

Thanks for making the requested changes!

@erlend-aasland: please review the changes made to this pull request.

serhiy-storchaka mentioned this pull request Jul 30, 2022

Copy link
Copy Markdown
Contributor

It looks like Serhiy's comments were addressed. I'm going to land this later today.

Copy link
Copy Markdown
Member

Wait a bit more. I think that the new tests are worth to be backported, so I added them to my branch which adds other tests. I worked on this on Saturday, but I need a few more days to let it mature.

Copy link
Copy Markdown
Contributor

Ok, thanks for the heads-up. I'll mark this as don't-merge in the meantime.

Copy link
Copy Markdown
Contributor

Wait a bit more. I think that the new tests are worth to be backported, so I added them to my branch which adds other tests. I worked on this on Saturday, but I need a few more days to let it mature.

@serhiy-storchaka: do you have an issue/PR number for this, so we can track progress?

Copy link
Copy Markdown
Contributor

Also, please don't force push; it does not play well with the GitHub UI. Please use git merge --no-ff main instead.

☝🏻

Copy link
Copy Markdown
Member

Sorry for the delay. See #97953. After merging it I'll merge this PR.

Copy link
Copy Markdown
Contributor Author

#98056 fixed the failing tests

Comment thread Lib/test/audit-tests.py Outdated
Comment thread Lib/test/test_audit.py Outdated

Copy link
Copy Markdown
Member

Thank you for your contribution @noamcohen97.

carljm added a commit to carljm/cpython that referenced this pull request Oct 9, 2022
* main:
  Minor edits to the Descriptor HowTo Guide (pythonGH-24901)
  Fix link to Lifecycle of a Pull Request in CONTRIBUTING (python#98102)
  pythonGH-94597: deprecate `SafeChildWatcher`, `FastChildWatcher` and `MultiLoopChildWatcher` child watchers  (python#98089)
  Auto-cancel old builds when new commit pushed to branch (python#98009)
  pythongh-95011: Migrate syslog module to Argument Clinic (pythonGH-95012)
carljm added a commit to carljm/cpython that referenced this pull request Oct 9, 2022
* main: (5519 commits)
  Minor edits to the Descriptor HowTo Guide (pythonGH-24901)
  Fix link to Lifecycle of a Pull Request in CONTRIBUTING (python#98102)
  pythonGH-94597: deprecate `SafeChildWatcher`, `FastChildWatcher` and `MultiLoopChildWatcher` child watchers  (python#98089)
  Auto-cancel old builds when new commit pushed to branch (python#98009)
  pythongh-95011: Migrate syslog module to Argument Clinic (pythonGH-95012)
  pythongh-68686: Retire eptag ptag scripts (python#98064)
  pythongh-97922: Run the GC only on eval breaker (python#97920)
  GitHub Workflows security hardening (python#96492)
  Add `@ezio-melotti` as codeowner for `.github/`. (python#98079)
  pythongh-97913 Docs: Add walrus operator to the index (python#97921)
  [doc] Fix broken links to C extensions accelerating stdlib modules (python#96914)
  pythongh-97822: Fix http.server documentation reference to test() function (python#98027)
  pythongh-91052: Add PyDict_Unwatch for unwatching a dictionary (python#98055)
  pythonGH-98023: Change default child watcher to PidfdChildWatcher on supported systems (python#98024)
  pythonGH-94182: Run the PidfdChildWatcher on the running loop (python#94184)
  pythongh-92886: make test_ast pass with -O (assertions off) (pythonGH-98058)
  pythongh-92886: make test_coroutines pass with -O (assertions off) (pythonGH-98060)
  pythongh-57179: Add note on symlinks for os.walk (python#94799)
  pythongh-94808: Fix regex on exotic platforms (python#98036)
  pythongh-90085: Remove vestigial -t and -c timeit options (python#94941)
  ...
mpage pushed a commit to mpage/cpython that referenced this pull request Oct 11, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate syslog module to Argument Clinic

5 participants


Back | FazBrowse Home | New Git URL