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 christian.heimes, lukasz.langa, matrixise, serhiy.storchaka
Date 2018-02-01.10:34:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517481279.95.0.467229070634.issue32711@psf.upfronthosting.co.za>
In-reply-to
Content
I think it is better to not add the default case in switch statements. If once we will add a new binary or unary operator, but forgot to update ast_unparse.c the compiler will immediately warn about this if there are no default cases. But if there is a default case the compiler will be silent.
History
Date User Action Args
2018-02-01 10:34:39serhiy.storchakasetrecipients: + serhiy.storchaka, christian.heimes, lukasz.langa, matrixise
2018-02-01 10:34:39serhiy.storchakasetmessageid: <1517481279.95.0.467229070634.issue32711@psf.upfronthosting.co.za>
2018-02-01 10:34:39serhiy.storchakalinkissue32711 messages
2018-02-01 10:34:39serhiy.storchakacreate