Skip to content

Incorrect 3.15 what's new entry for base64 module #155193

Description

@Viicos

Documentation

As per https://docs.python.org/3.15/whatsnew/3.15.html#base64:

Added the canonical parameter in b32decode(), b32hexdecode(), b64decode(), urlsafe_b64decode(), a85decode(), b85decode(), and z85decode(), to reject encodings with non-zero padding bits or other non-canonical forms. (Contributed by Gregory P. Smith in gh-146311.)

(Introduced in #146312).

However, urlsafe_b64decode() is the only one without the parameter:

def urlsafe_b64decode(s, *, padded=False):

Opening this issue as either:

  • The what's new entry needs to be fixed.
  • urlsafe_b64decode() needs to get this new parameter too.

Can open a PR once decided.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions