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 jschneid
Recipients jschneid, loewis
Date 2011-07-14.18:36:47
SpamBayes Score 9.545773e-08
Marked as misclassified No
Message-id <1310668607.96.0.99144317007.issue12561@psf.upfronthosting.co.za>
In-reply-to
Content
The __W macro is needed because the token-pasting operator binds to the macro's argument immediately;  Having WCHAR(y) expand to __W(y) means that __W is passed WCHAR's argument after it's been macro-expanded.  Without the intermediate step, WCHAR(VERSION) becomes LVERSION.

As for the name - I have no objection to reasonable name changes.  I picked WCHAR because it converts its argument to a wchar_t *.

Finally - I am aware that the HP/UX C compiler is broken.  Unfortunately, I am required to work with it, and can neither replace it nor ignore it.
History
Date User Action Args
2011-07-14 18:36:48jschneidsetrecipients: + jschneid, loewis
2011-07-14 18:36:47jschneidsetmessageid: <1310668607.96.0.99144317007.issue12561@psf.upfronthosting.co.za>
2011-07-14 18:36:47jschneidlinkissue12561 messages
2011-07-14 18:36:47jschneidcreate