[New-bugs-announce] [issue23253] Delay-load ShellExecute[AW] in os.startfile

Steve Dower report at bugs.python.org
Sat Jan 17 00:11:50 CET 2015

New submission from Steve Dower:

Currently, pythonXY.dll has a dependency on shell32.dll solely for the os.startfile (Modules/posixmodule.c) function. This is quite a heavy dependency that many would rather not have to load (e.g. lightweight server configurations).

It would be nice to delay load the DLL and fail the operation if it is not available.

(This is as much a reminder for myself as anything else, but if someone wants to do it then feel free.)

components: Windows
messages: 234151
nosy: steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Delay-load ShellExecute[AW] in os.startfile
type: enhancement
versions: Python 3.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list