cpython/Objects
Victor Stinner 59423e3ddd
bpo-33954: Fix _PyUnicode_InsertThousandsGrouping() (GH-10623)
Fix str.format(), float.__format__() and complex.__format__() methods
for non-ASCII decimal point when using the "n" formatter.

Changes:

* Rewrite _PyUnicode_InsertThousandsGrouping(): it now requires
  a _PyUnicodeWriter object for the buffer and a Python str object
  for digits.
* Rename FILL() macro to unicode_fill(), convert it to static inline function,
  add "assert(0 <= start);" and rework its code.
2018-11-26 13:40:01 +01:00
..
clinic bpo-33462: Add __reversed__ to dict and dict views (GH-6827) 2018-11-06 09:38:54 +09:00
stringlib bpo-33954: Fix _PyUnicode_InsertThousandsGrouping() (GH-10623) 2018-11-26 13:40:01 +01:00
README
abstract.c bpo-35081: Rename internal headers (GH-10275) 2018-11-12 16:53:38 +01:00
accu.c bpo-35081: Move accu.h to Include/internal/pycore_accu.h (GH-10271) 2018-11-01 02:30:36 +01:00
boolobject.c bpo-30592: Fixed error messages for some builtins. (#1996) 2017-06-08 14:41:19 +03:00
bytearrayobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
bytes_methods.c closes bpo-34599: Improve performance of _Py_bytes_capitalize(). (GH-9083) 2018-09-06 21:54:49 -07:00
bytesobject.c bpo-35059: PyObject_INIT() casts to PyObject* (GH-10674) 2018-11-23 14:27:38 +01:00
call.c bpo-35081: Add Include/internal/pycore_tupleobject.h (GH-10705) 2018-11-25 23:56:17 +01:00
capsule.c
cellobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
classobject.c bpo-35059: PyObject_INIT() casts to PyObject* (GH-10674) 2018-11-23 14:27:38 +01:00
codeobject.c bpo-35081: Add Include/internal/pycore_tupleobject.h (GH-10705) 2018-11-25 23:56:17 +01:00
complexobject.c bpo-35059: PyObject_INIT() casts to PyObject* (GH-10674) 2018-11-23 14:27:38 +01:00
descrobject.c bpo-35081: Add Include/internal/pycore_tupleobject.h (GH-10705) 2018-11-25 23:56:17 +01:00
dict-common.h bpo-33312: Fix clang ubsan out of bounds warnings in dict. (GH-6537) 2018-04-19 22:41:19 -07:00
dictnotes.txt
dictobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
enumobject.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
exceptions.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
fileobject.c bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503) 2018-11-12 22:01:22 -08:00
floatobject.c bpo-35059: PyObject_INIT() casts to PyObject* (GH-10674) 2018-11-23 14:27:38 +01:00
frameobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
funcobject.c bpo-35081: Add Include/internal/pycore_tupleobject.h (GH-10705) 2018-11-25 23:56:17 +01:00
genobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
iterobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
listobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
listsort.txt bpo-28685: Optimize sorted() list.sort() with type-specialized comparisons (#582) 2018-01-28 19:03:23 -08:00
lnotab_notes.txt bpo-28810: Update lnotab_notes.txt (#665) 2017-03-14 21:42:09 +02:00
longobject.c bpo-35059: PyObject_INIT() casts to PyObject* (GH-10674) 2018-11-23 14:27:38 +01:00
memoryobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
methodobject.c bpo-35059: PyObject_INIT() casts to PyObject* (GH-10674) 2018-11-23 14:27:38 +01:00
moduleobject.c bpo-35081: Rename internal headers (GH-10275) 2018-11-12 16:53:38 +01:00
namespaceobject.c Fix misleading mentions of tp_size in comments (GH-9093) 2018-09-10 09:46:08 -07:00
object.c bpo-9263: Fix _PyObject_Dump() for freed object (#10661) 2018-11-22 16:32:57 +01:00
obmalloc.c bpo-35081: Rename internal headers (GH-10275) 2018-11-12 16:53:38 +01:00
odictobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
rangeobject.c Fix a possible crash in range.__reversed__(). (GH-10252) 2018-10-31 11:13:16 +02:00
setobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
sliceobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
structseq.c bpo-34784: Implement correct cleanup in PyStructSequence new implementation (GH-10536) 2018-11-15 02:03:57 +00:00
tupleobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
typeobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
typeslots.inc
typeslots.py
unicodectype.c
unicodeobject.c bpo-33954: Fix _PyUnicode_InsertThousandsGrouping() (GH-10623) 2018-11-26 13:40:01 +01:00
unicodetype_db.h update to Unicode 11.0.0 (closes bpo-33778) (GH-7439) 2018-06-06 20:14:28 -07:00
weakrefobject.c bpo-35059: Cleanup usage of Python macros (GH-10648) 2018-11-22 03:37:50 +01:00

README

Source files for various builtin objects