Skip to content

PEP 7: Don't allow MSVC extensions #758

@erikjanss

Description

@erikjanss

PEP 7 has this sentence :

  • Don't use GCC extensions

I would propose to change this to :

  • Don't use GCC or MSVC extensions

Reason : using MSVC extensions in the C-code makes is harder to reuse the code or do experimental work on the code using different toolchains or make the code portable to other toolchains, which could be a long term disadvantage.

An exemption could be made for the PC/pyconfig.h file as this file is more or less MSVC specific.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions