This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ocean-city
Recipients ocean-city
Date 2010-07-18.00:48:49
SpamBayes Score 5.824698e-06
Marked as misclassified No
Message-id <1279414134.03.0.595847788627.issue9289@psf.upfronthosting.co.za>
In-reply-to
Content
test_long_key fails on win2k + python2.x.

======================================================================
ERROR: test_long_key (__main__.LocalWinregTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_winreg.py", line 279, in test_long_key
    DeleteKey(HKEY_CURRENT_USER, '\\'.join((test_key_name, name)))
WindowsError: [Error 234] データがさらにあります。

# Error says "More data is available"

According to
http://msdn.microsoft.com/en-us/library/ms724872(v=VS.85).aspx
  Value name:
    Windows 2000:  260 ANSI characters or 16,383 Unicode characters.

Windows 2000 cannot handle long value name like *name* in the test,
so I think we should skip the test on Windows 2000.

I confirmed test runs fine on python3.x. Probably because it uses unicode Win32 API.
History
Date User Action Args
2010-07-18 00:48:54ocean-citysetrecipients: + ocean-city
2010-07-18 00:48:54ocean-citysetmessageid: <1279414134.03.0.595847788627.issue9289@psf.upfronthosting.co.za>
2010-07-18 00:48:50ocean-citylinkissue9289 messages
2010-07-18 00:48:49ocean-citycreate