[issue22080] Add windows_helper module helper

2021-02-24 Thread Eryk Sun
Eryk Sun added the comment: I rewrote windows_helper.py with cleaner ctypes code, better error handling, the correct implementation of restoring the previous privilege state, and without leaking the handle for the process token. It's kind of limited as a "Windows helper" module. It's just

[issue22080] Add windows_helper module helper

2015-10-02 Thread eryksun
Changes by eryksun : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden versions: +Python 3.6 ___ Python tracker ___

[issue22080] Add windows_helper module helper

2015-04-19 Thread Claudiu Popa
Claudiu Popa added the comment: The latest patch drops the symlink check, since it can be added later. -- Added file: http://bugs.python.org/file39133/issue22080_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22080

[issue22080] Add windows_helper module helper

2015-01-17 Thread Claudiu Popa
Claudiu Popa added the comment: Here's a cleaned up version of the patch. -- Added file: http://bugs.python.org/file37741/issue22080_1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22080

[issue22080] Add windows_helper module helper

2014-10-11 Thread Zachary Ware
Zachary Ware added the comment: eryksun: You commented on my review comment; does Claudiu's latest patch look good to you? -- nosy: +eryksun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22080

[issue22080] Add windows_helper module helper

2014-09-25 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22080 ___ ___

[issue22080] Add windows_helper module helper

2014-08-06 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: Added file: http://bugs.python.org/file36288/issue22080.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22080 ___

[issue22080] Add windows_helper module helper

2014-08-06 Thread Claudiu Popa
Claudiu Popa added the comment: The new patch fixes the issues found by Zachary. Thanks for the review! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22080 ___

[issue22080] Add windows_helper module helper

2014-07-26 Thread Claudiu Popa
New submission from Claudiu Popa: Hi. This patch adds a new test helper module, initially added in issue21518, for controlling various aspects on Windows platform, like acquiring / releasing privileges etc. At the same time, it contains a modification in test.support.skip_unless_symlink, so