Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Windows 10 Mimetypes for .webp return empty #128703

Closed
Labels
3.12only security fixes3.13bugs and security fixes3.14bugs and security fixesOS-windowsstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
@ewwink

Description

@ewwink

Bug report

Bug description:

on Windows 10guess_file_type() checking.webp file returntuple('', None) nottuple('image/webp', None)

The problem isdb.read_windows_registry() overwrite default types_map.webp = 'image/webp' into.webp = ''

iffilesisNoneor_dbisNone:
db=MimeTypes()
# Quick return if not supported
db.read_windows_registry()

CPython versions tested on:

3.11, 3.12, 3.13

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixes3.13bugs and security fixes3.14bugs and security fixesOS-windowsstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp