File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,16 @@ Pending removal in Python 3.15
1010  :c:func: `PyWeakref_GetRef ` on Python 3.12 and older.
1111* :c:type: `Py_UNICODE ` type and the :c:macro: `!Py_UNICODE_WIDE ` macro:
1212  Use :c:type: `wchar_t ` instead.
13+ * :c:func: `!PyUnicode_AsDecodedObject `:
14+   Use :c:func: `PyCodec_Decode ` instead.
15+ * :c:func: `!PyUnicode_AsDecodedUnicode `:
16+   Use :c:func: `PyCodec_Decode ` instead; Note that some codecs (for example, "base64")
17+   may return a type other than :class: `str `, such as :class: `bytes `.
18+ * :c:func: `!PyUnicode_AsEncodedObject `:
19+   Use :c:func: `PyCodec_Encode ` instead.
20+ * :c:func: `!PyUnicode_AsEncodedUnicode `:
21+   Use :c:func: `PyCodec_Encode ` instead; Note that some codecs (for example, "base64")
22+   may return a type other than :class: `bytes `, such as :class: `str `.
1323* Python initialization functions, deprecated in Python 3.13:
1424
1525  * :c:func: `Py_GetPath `:
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments