Content-Length: 285734 | pFad | https://github.com/python/cpython/issues/105096

E6 wave: Deprecate getmark(), setmark() and getmarkers() methods · Issue #105096 · python/cpython · GitHub
Skip to content

wave: Deprecate getmark(), setmark() and getmarkers() methods #105096

@vstinner

Description

@vstinner

The wave module has getmark(), setmark() and getmarkers() methods (in Wave_read and Wave_write classes) which only exist for compatibility with the aifc module which has been removed in Python 3.13 (PR #104933). I propose to remove these methods.

  • getmark() and setmark() always raise an exception, and getmarkers() always returns None (do nothing else): these methods are not very useful.
  • Wave_write methods, getmark(), setmark() and getmarkers(), are not documented
  • None of these methods are tested

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard 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









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/105096

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy