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

Replace deprecated ConfigParser readfp with read_file

    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

        1. configparser.patch
          1 kB
          Hugo van Kemenade

        Activity

          People

            Unassigned Unassigned
            hugovk Hugo van Kemenade
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: