Message86038
I noticed this in 2.6, but I imagine it affects 2.7, and 3.x as well.
The documentation for _winreg.OpenKey reads in part:
_winreg.OpenKey(key, sub_key[, res=0][, sam=KEY_READ])
However:
>>> import _winreg
>>> _winreg.OpenKey(_winreg.HKEY_CURRENT_USER, 'Software',
sam=_winreg.KEY_ALL_ACCESS)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: OpenKey() takes no keyword arguments
Probably the OpenKey implementation should be updated to use
PyArg_ParseTupleAndKeywords instead of PyArg_ParseTuple? |
|
Date |
User |
Action |
Args |
2009-04-16 19:06:13 | stutzbach | set | recipients:
+ stutzbach |
2009-04-16 19:06:13 | stutzbach | set | messageid: <1239908773.0.0.157202779439.issue5774@psf.upfronthosting.co.za> |
2009-04-16 19:06:11 | stutzbach | link | issue5774 messages |
2009-04-16 19:06:10 | stutzbach | create | |
|