Skip to content

Modernize logging - #5068

Merged
JelleZijlstra merged 6 commits into
python:masterfrom
srittau:split-logging
Mar 23, 2021
Merged

JelleZijlstra merged 6 commits into
python:masterfrom
srittau:split-logging

Conversation

@srittau

@srittau srittau commented Feb 24, 2021

Copy link
Copy Markdown
Collaborator
  • Split Python 2 and Python 3 files
  • Remove now obsolete branches
  • Text -> str in Python 3 files
  • Use built-in collections in Python 3 files

Comment thread stdlib/logging/config.pyi
) -> None: ...
def listen(port: int = ...) -> Thread: ...

def dictConfig(config: dict[str, Any]) -> None: ...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I see this was changed from Dict to dict. Should it actually be Mapping? That would allow the use of TypedDict.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Possibly, but out of scope for this PR.

@JelleZijlstra
JelleZijlstra merged commit 0cea325 into python:master Mar 23, 2021
@srittau
srittau deleted the split-logging branch March 23, 2021 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants