[New-bugs-announce] [issue41070] Simplify pyshellext.dll build

Nikita Nemkin report at bugs.python.org
Mon Jun 22 02:00:23 EDT 2020

New submission from Nikita Nemkin <nikita at nemkin.ru>:

pyshellext uses MIDL to generate a header, whose only purpose is to define a class GUID. MIDL generation step can be replaced with a simple #define. This doesn't really matter for VS, but other build systems (CMake, probably Meson too) will benefit.

pyshellext has separate .def files for debug and release builds. One .def file is sufficient, because LIBRARY statement is optional.
Using __declspec(dllexport) isn't an option, because Windows headers misdeclare DllCanUnloadNow and DllGetClassObject...

components: Windows
messages: 372032
nosy: nnemkin, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Simplify pyshellext.dll build
type: enhancement
versions: Python 3.10

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list