homepage

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 CuriousLearner
Recipients CuriousLearner, vstinner
Date 2017年12月02日.17:49:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512236982.8.0.213398074469.issue32197@psf.upfronthosting.co.za>
In-reply-to
Content
I tried to resolve the issue by trying to figure out the syntax for the SET_DECODE_ERROR macro.
I tried to call a function from the macro, and eventually do the checking in that function.
Second way I tried was to replace statement for macro instead of using do-while for placing the if-else clause.
I was stuck at the issue that at the point when the compiler tries to replace the macro with actual code, `pymain` wasn't defined.
If someone could provide a pointer on this, it would be really helpful and I'll try to work on a patch.
One simplest possible solution would be not use macro and simply use the code at the 3 places where it is being used. But I'll defer this anti-DRY approach if we can have a better solution.
History
Date User Action Args
2017年12月02日 17:49:42CuriousLearnersetrecipients: + CuriousLearner, vstinner
2017年12月02日 17:49:42CuriousLearnersetmessageid: <1512236982.8.0.213398074469.issue32197@psf.upfronthosting.co.za>
2017年12月02日 17:49:42CuriousLearnerlinkissue32197 messages
2017年12月02日 17:49:42CuriousLearnercreate

AltStyle によって変換されたページ (->オリジナル) /