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 serhiy.storchaka
Recipients larry, serhiy.storchaka
Date 2020-04-04.16:26:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586017601.68.0.788293930127.issue40179@roundup.psfhosted.org>
In-reply-to
Content
It converts

    #if A
    ...
    #elif B
    ...
    #else
    ...
    #endif

into

    #if A
    ...
    #endif /* A */

    #if B
    ...
    #endif /* B */

    #if !B
    ...
    #endif /* !B */

The correct translation is:

    #if A
    ...
    #endif /* A */

    #if !A && B
    ...
    #endif /* !A && B */

    #if !A && !B
    ...
    #endif /* !A && !B */
History
Date User Action Args
2020-04-04 16:26:41serhiy.storchakasetrecipients: + serhiy.storchaka, larry
2020-04-04 16:26:41serhiy.storchakasetmessageid: <1586017601.68.0.788293930127.issue40179@roundup.psfhosted.org>
2020-04-04 16:26:41serhiy.storchakalinkissue40179 messages
2020-04-04 16:26:41serhiy.storchakacreate