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
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
bytearrayobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
bytes_methods.c
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
dictnotes.txt
dictobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
enumobject.c
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
lnotab_notes.txt
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
README
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
weakrefobject.c bpo-35059: Cleanup usage of Python macros (GH-10648) 2018-11-22 03:37:50 +01:00

Source files for various builtin objects