[New-bugs-announce] [issue46946] Port core types to Argument Clinic

Oleg Iarygin report at bugs.python.org
Mon Mar 7 09:12:29 EST 2022

New submission from Oleg Iarygin <oleg at arhadthedev.net>:

This is done to:

- update docstrings to current standards enforced by AC
- get proper naming for arguments of impl-functions (for example, self instead of obj and instance)
- strip boilerplate reducing current 16k lines of code to something little more manageable
- get a proper excuse to collapse overbloated PyTypeObject initializers by throwing out zeroes with designated initialization thanks to C99&11 being promoted. For example, EncodingMapType in unicodeobject.c reduced from 43 lines to 8, five times less.

components: Interpreter Core
messages: 414670
nosy: arhadthedev
priority: normal
severity: normal
status: open
title: Port core types to Argument Clinic
type: enhancement
versions: Python 3.11

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list