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-95913: Add WhatsNew section for new logging APIs by CAM-Gerlach · Pull Request #98320 · python/cpython

Conversation

@CAM-Gerlach

@CAM-Gerlach CAM-Gerlach commented Oct 16, 2022 •
edited by bedevere-bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Part of #95913 and discussed in/related to #98307 .

This PR adds the following to a new Python 3.11 What's New section for the logging module:

  • The new logging.getLevelNamesMapping function mapping level names to their values, added in issue Provide method to get list of logging level names #88024 / PR bpo-43858: Add logging.getLevelNamesMapping() #26459
  • The new logging.handlers.SysLogHandler.createSocket method (with preliminary text), added in issue Unify logging.handlers.SysLogHandler behavior with SocketHandlers #88457 / PR bpo-44291: Fix reconnection in logging.handlers.SysLogHandler (GH-26490) #26490
  • Issue: Edit What's New for Python 3.11 #95913

Sorry, something went wrong.

Uh oh!

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

All reactions
CAM-Gerlach added 2 commits October 16, 2022 00:31
@CAM-Gerlach
Add entry for new logging.getLevelNamesMapping function
a903cc6
@CAM-Gerlach
Add entry for SysLogHandler.createSocket to whatsnew
1b01013
@bedevere-bot bedevere-bot added awaiting review docs Documentation in the Doc dir skip news labels Oct 16, 2022
@CAM-Gerlach
CAM-Gerlach requested review from ezio-melotti and vsajip October 16, 2022 05:34
@CAM-Gerlach CAM-Gerlach added 3.11 only security fixes needs backport to 3.11 only security fixes labels Oct 16, 2022
This was referenced Oct 16, 2022
Logging: SysLogHandler.createSocket added in 3.11 but not documented #98307
Closed
Edit What's New for Python 3.11 #95913
Closed
vsajip
vsajip approved these changes Oct 16, 2022
View reviewed changes

@vsajip vsajip left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I added a blurb for my changes to the docstring and documentation for createSocket, and have asked for your review on that PR #98319.

Sorry, something went wrong.

Uh oh!

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

CAM-Gerlach reacted with thumbs up emoji CAM-Gerlach reacted with rocket emoji
All reactions
  • 👍 1 reaction
  • 🚀 1 reaction
@bedevere-bot bedevere-bot added awaiting merge and removed awaiting review labels Oct 16, 2022
@CAM-Gerlach CAM-Gerlach mentioned this pull request Oct 16, 2022
gh-98307: Add docstring and documentation for SysLogHandler.createSocket (GH-98319) #98319
Merged
@CAM-Gerlach
Add missing line break between logging bullet list items
d988331
vsajip
vsajip approved these changes Oct 16, 2022
View reviewed changes
ezio-melotti
ezio-melotti approved these changes Oct 19, 2022
View reviewed changes
@ezio-melotti
ezio-melotti merged commit 251b8cc into python:main Oct 19, 2022
@miss-islington

miss-islington commented Oct 19, 2022

Copy link
Copy Markdown
Contributor

Thanks @CAM-Gerlach for the PR, and @ezio-melotti for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

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

@bedevere-bot bedevere-bot removed the awaiting merge label Oct 19, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 19, 2022
@CAM-Gerlach @miss-islington
pythongh-95913: Add WhatsNew section for new logging APIs (pythonGH-9…
aebf545
…8320)

* Add entry for new logging.getLevelNamesMapping function

* Add entry for SysLogHandler.createSocket to whatsnew

* Add missing line break between logging bullet list items
(cherry picked from commit 251b8cc)

Co-authored-by: C.A.M. Gerlach <[email protected]>
@bedevere-bot

bedevere-bot commented Oct 19, 2022

Copy link
Copy Markdown

GH-98428 is a backport of this pull request to the 3.11 branch.

All reactions

Sorry, something went wrong.

Uh oh!

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

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Oct 19, 2022
miss-islington added a commit that referenced this pull request Oct 19, 2022
@miss-islington @CAM-Gerlach
gh-95913: Add WhatsNew section for new logging APIs (GH-98320)
202eb48
* Add entry for new logging.getLevelNamesMapping function

* Add entry for SysLogHandler.createSocket to whatsnew

* Add missing line break between logging bullet list items
(cherry picked from commit 251b8cc)

Co-authored-by: C.A.M. Gerlach <[email protected]>
pablogsal pushed a commit that referenced this pull request Oct 22, 2022
@miss-islington @CAM-Gerlach @pablogsal
gh-95913: Add WhatsNew section for new logging APIs (GH-98320)
b0e3eaa
* Add entry for new logging.getLevelNamesMapping function

* Add entry for SysLogHandler.createSocket to whatsnew

* Add missing line break between logging bullet list items
(cherry picked from commit 251b8cc)

Co-authored-by: C.A.M. Gerlach <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@vsajip vsajip vsajip approved these changes
@ezio-melotti ezio-melotti ezio-melotti approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

3.11 only security fixes docs Documentation in the Doc dir skip news

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.

5 participants

@CAM-Gerlach @miss-islington @bedevere-bot @vsajip @ezio-melotti
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.