cpython/Doc/c-api
Victor Stinner b92c159efa
[3.6] bpo-32555: Fix locale encodings (#5193)
On FreeBSD and Solaris, os.strerror() now always decode the byte
string from the current locale encoding, rather than using
ASCII/surrogateescape in some cases.

Changes:

* Add _Py_DecodeLocaleEx() and _Py_EncodeLocaleEx() which has an
  additional current_locale parameter.
* PyUnicode_DecodeLocale(), PyUnicode_DecodeLocaleAndSize() and
* PyUnicode_EncodeLocale() now always use the current locale
* encoding, instead of using Py_DecodeLocale()/Py_EncodeLocale().
* Document encoding in Py_DecodeLocale() and Py_EncodeLocale()
  documentations.
* Add USE_FORCE_ASCII define to not define
  decode_ascii_surrogateescape() on Android.
2018-01-15 23:43:24 +01:00
..
abstract.rst
allocation.rst
apiabiversion.rst
arg.rst Issue #28496: Mark up constants 0, 1 and -1 that denote return values or 2016-10-27 21:42:15 +03:00
bool.rst
buffer.rst [3.6] bpo-31754: Fix type of 'itemsize' in PyBuffer_FillContiguousStrides (GH-3993) 2017-10-15 10:37:07 +03:00
bytearray.rst
bytes.rst Issue #25270: Prevent codecs.escape_encode() from raising SystemError when an empty bytestring is passed 2016-09-16 17:31:06 +03:00
capsule.rst Issue #28496: Mark up constants 0, 1 and -1 that denote return values or 2016-10-27 21:41:19 +03:00
cell.rst
code.rst [Issue 15476] Make "code object" its own entry in the index 2016-06-02 19:26:51 -04:00
codec.rst
complex.rst
concrete.rst
conversion.rst
coro.rst
datetime.rst bpo-31678: Fix typo in PyDateTime_DELTA_GET_MICROSECONDS (GH-3869) 2017-11-04 13:45:51 +03:00
descriptor.rst
dict.rst Add versionadded to PyDict_SetDefault documentation 2016-07-05 17:08:29 +03:00
exceptions.rst [3.6] Fix typos in multiple `.rst` files (GH-1668) (#1702) 2017-05-22 00:26:01 +03:00
file.rst
float.rst
function.rst improve PyFunction_New docs (closes #26986) 2016-05-09 23:43:53 -07:00
gcsupport.rst note that Py_VISIT handles NULL (closes #27183) 2016-06-02 11:35:59 -07:00
gen.rst
import.rst Issue #28496: Mark up constants 0, 1 and -1 that denote return values or 2016-10-27 21:41:19 +03:00
index.rst
init.rst Issue #28496: Mark up constants 0, 1 and -1 that denote return values or 2016-10-27 21:42:15 +03:00
intro.rst
iter.rst
iterator.rst
list.rst
long.rst [3.6] bpo-29751: Improve PyLong_FromString documentation (GH-915) (#1266) 2017-04-23 21:05:01 -07:00
mapping.rst Issues #25909, #28211: Restored correct documentation of PyMapping_Items, 2016-09-26 20:52:41 +03:00
marshal.rst bpo-29746: Update marshal docs to Python 3. (#547) (#631) 2017-03-12 10:05:05 +02:00
memory.rst bpo-20064: Document PyObject_Malloc() (GH-4199) (#4203) 2017-10-31 09:56:11 -07:00
memoryview.rst
method.rst
module.rst bpo-30656: Fix Python C API Module Objects documentation (GH-2170) (GH-2230) 2017-06-15 18:49:43 -07:00
none.rst Issue #19795: Mark up None as literal text. 2016-10-19 16:29:26 +03:00
number.rst Issue #28496: Mark up constants 0, 1 and -1 that denote return values or 2016-10-27 21:41:19 +03:00
objbuffer.rst
object.rst
objimpl.rst
refcounting.rst
reflection.rst
sequence.rst
set.rst Issue #28496: Mark up constants 0, 1 and -1 that denote return values or 2016-10-27 21:41:19 +03:00
slice.rst [3.6] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1149) 2017-04-14 19:03:41 -07:00
stable.rst
structures.rst bpo-29916: Include PyGetSetDef in C API extension documentation. (#831) (#3607) 2017-09-16 14:29:33 +03:00
sys.rst [3.6] bpo-32555: Fix locale encodings (#5193) 2018-01-15 23:43:24 +01:00
tuple.rst
type.rst
typeobj.rst bpo-29916: Include PyGetSetDef in C API extension documentation. (#831) (#3607) 2017-09-16 14:29:33 +03:00
unicode.rst [3.6] bpo-32555: Fix locale encodings (#5193) 2018-01-15 23:43:24 +01:00
utilities.rst
veryhigh.rst [3.6] bpo-30696: Fix the REPL looping endlessly when no memory (GH-4160). (#4379) 2017-11-12 17:33:16 +01:00
weakref.rst