Skip to content

FancyURLopener and URLopener have been removed from Python 3.14Β #58740

@frenzymadness

Description

@frenzymadness

Hello.

FancyURLopener and URLopener have been removed from Python 3.14 (they have been deprecated since Python 3.3) and that means that this code will no longer work:

class ConfigOpener(FancyURLopener):
"""fancy opener used by retrievefile. Set a UA"""
# append to existing version (UA)
version = '%s node.js/configure' % URLopener.version

If you still need this functionality to set a custom user agent, I can propose a solution that will work with a newer Pythons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions