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 mhammond
Recipients mhammond
Date 2008-09-29.07:13:10
SpamBayes Score 4.243354e-05
Marked as misclassified No
Message-id <1222672392.58.0.438026225401.issue3994@psf.upfronthosting.co.za>
In-reply-to
Content
The following source file:
"""
import _winreg
_winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, "foo")
"""

results in the following "patch":

-import _winreg
-_winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, "foo")
+import winreg
+winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, "foo")

Note the first param has not been converted correctly.  This is probably
due to it following the paren, as using the same symbol in a local
variable works correctly.
History
Date User Action Args
2008-09-29 07:13:12mhammondsetrecipients: + mhammond
2008-09-29 07:13:12mhammondsetmessageid: <1222672392.58.0.438026225401.issue3994@psf.upfronthosting.co.za>
2008-09-29 07:13:11mhammondlinkissue3994 messages
2008-09-29 07:13:10mhammondcreate