Commit Graph

7 Commits

Author SHA1 Message Date
Mickaël Schoentgen
67648a7dba Allow None in value_name argument to winreg.SetValueEx() (#4663) 2020-10-13 23:26:11 +02:00
Kevin Wojniak
a19abfd454 Undo int value for winreg SetValue (#4664) 2020-10-13 23:23:32 +02:00
Kevin Wojniak
3d89b276d1 Accept int value for winreg SetValue(Ex) (#4640)
When the type is DWORD an integer is allowed as the value type.

Here is a 3.9 test in cpython as an example: https://github.com/python/cpython/blob/3.9/Lib/test/test_winreg.py#L339
2020-10-12 14:51:48 +02:00
Eric Traut
f46fb7ff59 Added some missing type annotations in stdlib stubs. (#4418)
Co-authored-by: Eric Traut <erictr@microsoft.com>
2020-08-08 20:49:37 +02:00
Jelle Zijlstra
5d553c9584 apply black and isort (#4287)
* apply black and isort

* move some type ignores
2020-06-28 13:31:00 -07:00
Rune Tynan
712f6d3709 Fix winreg pos-only args and parameter names (#4117)
* Fix winreg pos-only args and parameter names

* Fix consistency check
2020-05-27 20:22:32 -07:00
Rune Tynan
e49c156d92 Add winreg stubs (#3794) 2020-05-27 17:15:08 +02:00