Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4899

Replace deprecated ConfigParser readfp with read_file

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.14.2
    • None
    • None

    Description

      ConfigParser's `readfp()` has been deprecated since Python 3.2 and will be removed in Python 3.12 (due October 2023).

       

       

      It is used three times in Subversion.

       

      The fix is to replace it with `read_file()` instead.

       

      Untested patch attached.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            hugovk Hugo van Kemenade

            Dates

              Created:
              Updated:

              Slack

                Issue deployment