This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Argument clinic and Windows line endings
Type: Stage:
Components: Argument Clinic Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: larry Nosy List: giampaolo.rodola, larry
Priority: normal Keywords: patch

Created on 2018-06-06 19:49 by giampaolo.rodola, last changed 2022-04-11 14:59 by admin.

Files
File name Uploaded Description Edit
clinic.diff giampaolo.rodola, 2018-06-07 18:22
Messages (2)
msg318857 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) Date: 2018-06-06 19:49
If I use "Tools\clinic\clinic.py Modules\somemodule.c" on Windows argument clinic will modify the whole file and use Windows line endings (  "\r\n"). It would be good to use "\n" instead.
msg318958 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) Date: 2018-06-07 18:22
Patch in attachment does the trick.
History
Date User Action Args
2022-04-11 14:59:01adminsetgithub: 77968
2018-06-07 18:22:00giampaolo.rodolasetfiles: + clinic.diff
keywords: + patch
messages: + msg318958
2018-06-06 19:49:08giampaolo.rodolacreate