Skip to content

FancyURLopener and URLopener have been removed from Python 3.14 #58740

Closed
@frenzymadness

Description

@frenzymadness
Contributor

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @frenzymadness

      Issue actions

        FancyURLopener and URLopener have been removed from Python 3.14 · Issue #58740 · nodejs/node