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 — Logging: SysLogHandler.createSocket added in 3.11 but not documented · Issue #98307 · python/cpython

Logging: SysLogHandler.createSocket added in 3.11 but not documented #98307

New issue
Copy link
New issue
Copy link
Closed
Closed
Logging: SysLogHandler.createSocket added in 3.11 but not documented#98307
Copy link
Assignees
vsajipCAM-Gerlach
Labels
3.11only security fixesonly security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dir

Description

@CAM-Gerlach
CAM-Gerlach
opened on Oct 15, 2022
Issue body actions

Part of #95913

A createSocket() method was added to the SysLogHandler class for issue #88457 by PR #26490 to match the one in SocketHandler, but unlike the latter, the former was not documented (and also not mentioned in What's New).

@vsajip , shouldn't this be documented? If so, do you think you could help draft something describing its semantics and usage (I can help do the final writeup, but its not entirely clear to me what the precise intended behavior is, since it doesn't seem too similar internally to the other documented function, and there is no docstring). Thanks!

Activity

  1. CAM-Gerlach
    added
    docsDocumentation in the Doc dirDocumentation in the Doc dir
    3.11only security fixesonly security fixes
    on Oct 15, 2022
  2. CAM-Gerlach
    assigned
    vsajip
    and
    CAM-Gerlach
    on Oct 15, 2022
  3. CAM-Gerlach commented on Oct 16, 2022

    @CAM-Gerlach
    CAM-Gerlach
    on Oct 16, 2022
    MemberAuthor
    More actions

    Also, I noticed logging.getLevelNamesMapping was added as well, but not mentioned in What's New. Seems like at least a brief note/reference would be worth adding, too (which I could easily do on my own as part of or separate from this, as its already documented).

  4. vsajip commented on Oct 16, 2022

    @vsajip
    vsajip
    on Oct 16, 2022
    Member
    More actions

    Also, I noticed logging.getLevelNamesMapping was added as welll, but not mentioned in What's New ... which I could easily do on my own as part of or separate from this

    I'd say please do it separately, as it's unrelated to the socket creation part of the issue.

  5. vsajip
    added a commit that references this issue on Oct 16, 2022

    pythongh-98307: Add docstring and documentation for SysLogHandler.cre…

    0eb2f90
  6. CAM-Gerlach commented on Oct 16, 2022

    @CAM-Gerlach
    CAM-Gerlach
    on Oct 16, 2022
    MemberAuthor
    More actions

    Thanks for the quick response!

    Sure; the main reason I didn't just do it separately to begin with was the PRs would conflict (at least as far as the What's New is concerned), but I just added the two What's New entries to the same PR, leaving your PR to document createSocket as a separate one (which makes a lot more sense anyway).

    See #98320 for that.

  7. vsajip
    added 3 commits that reference this issue on Oct 16, 2022

    gh-98307: Add docstring and documentation for SysLogHandler.createSoc…

    f6b1e40

    [3.11] pythongh-98307: Add docstring and documentation for SysLogHand…

    489d3ed

    [3.11] gh-98307: Add docstring and documentation for SysLogHandler.cr… (

    f64e26c
  8. vsajip
    closed this as completedon Oct 16, 2022
  9. carljm
    added a commit that references this issue on Oct 17, 2022

    Merge branch 'main' into typewatch

    cdbe93b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @CAM-Gerlach
    CAM-Gerlach
  • @vsajip
    vsajip

Labels

3.11only security fixesonly security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dir

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    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.