Public bug reported:

From: https://docs.python.org/3.8/library/base64.html]


base64.encodebytes(s)

    Encode the bytes-like object s, which can contain arbitrary binary
data, and return bytes containing the base64-encoded data, with newlines
(b'\n') inserted after every 76 bytes of output, and ensuring that there
is a trailing newline, as per RFC 2045 (MIME).

    New in version 3.1.

base64.encodestring(s)

    Deprecated alias of encodebytes().

    Deprecated since version 3.1.

** Affects: manila
     Importance: Undecided
         Status: New

** Affects: manila (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  From: https://docs.python.org/3.8/library/base64.html]
  
- base64.decodebytes(s)
  
-     Decode the bytes-like object s, which must contain one or more lines
- of base64 encoded data, and return the decoded bytes.
+ base64.encodebytes(s)
+ 
+     Encode the bytes-like object s, which can contain arbitrary binary
+ data, and return bytes containing the base64-encoded data, with newlines
+ (b'\n') inserted after every 76 bytes of output, and ensuring that there
+ is a trailing newline, as per RFC 2045 (MIME).
  
      New in version 3.1.
  
- base64.decodestring(s)
+ base64.encodestring(s)
  
-     Deprecated alias of decodebytes().
+     Deprecated alias of encodebytes().
  
      Deprecated since version 3.1.

** Summary changed:

- base64 decodestring is deprecated and removed in python 3.9
+ base64 encodestring is deprecated and removed in python 3.9

** Also affects: manila (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1907494

Title:
  base64 encodestring is deprecated and removed in python 3.9

To manage notifications about this bug go to:
https://bugs.launchpad.net/manila/+bug/1907494/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to