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 is a horrendously big dependency and we're better off without it.) ---------- keywords: +patch Added file: http://bugs.python.org/file37743/23253.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23253> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com