Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-35540 dataclasses.asdict support defaultdict fields #32056

Merged
merged 6 commits into from
Oct 7, 2022

Commits on Mar 22, 2022

  1. bpo-35540: Fix dataclasses.asdict support for defaultdict fields

    dataclasses.asdict breaks when there are `defaultdict`s in the dataclass
    attributes because it assumes `defaultdict` and `dict` are the same thing,
    but in reality `defaultdict` takes a default_factory as the first argument
    in its constructor. This change adds support for defaultdict fields.
    kwsp committed Mar 22, 2022
    Configuration menu
    Copy the full SHA
    7567680 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2022

  1. fix blurb

    kwsp committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    82b41dc View commit details
    Browse the repository at this point in the history

Commits on May 4, 2022

  1. Configuration menu
    Copy the full SHA
    3fe8873 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1efb31d View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. Configuration menu
    Copy the full SHA
    95c957f View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2022

  1. Configuration menu
    Copy the full SHA
    4fcb8d0 View commit details
    Browse the repository at this point in the history