[issue20395] Extract generated clinic code in Modules/_pickle.c to separate file

Serhiy Storchaka report at bugs.python.org
Sun Jan 26 12:05:40 CET 2014


New submission from Serhiy Storchaka:

Argument Clinic had added about half-thousand lines of code to Modules/_pickle.c. This generated code is mixed with handwritten code. Last 8 changes of Modules/_pickle.c are caused by Argument Clinic evolution, and I afraid that many future Argument Clinic changes will change Modules/_pickle.c too.

The proposed patch extracts generated clinic code in separate file to prevent or decrease code churn in future. It decreases the size of Modules/_pickle.c by 450 lines.

----------
files: pickle_clinic.patch
keywords: patch
messages: 209293
nosy: alexandre.vassalotti, larry, pitrou, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Extract generated clinic code in Modules/_pickle.c to separate file
versions: Python 3.4
Added file: http://bugs.python.org/file33722/pickle_clinic.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20395>
_______________________________________


More information about the Python-bugs-list mailing list