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

2015-01-17 Thread Steve Dower
Steve Dower added the comment: Attached a patch. Comparing the time for "python.exe -c '0'" with Powershell's Measure-Command tool, it looks like there's a 3-4ms (~8-10%) improvement in startup time too. That's not at all robust, but it's certainly no worse. (I'm not surprised - shell32.dll i

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

2015-01-17 Thread Steve Dower
Changes by Steve Dower : -- assignee: -> steve.dower stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2015-01-16 Thread Steve Dower
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 l