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 vstinner
Recipients BTaskaya, gvanrossum, lys.nikolaou, ned.deily, pablogsal, vstinner
Date 2020-04-23.01:09:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587604160.52.0.235361164004.issue40334@roundup.psfhosted.org>
In-reply-to
Content
> bpo-40334: Rename PyConfig.use_peg to _use_peg_parser (GH-19670)

This change removes sys.flags.use_peg which was only used in tests. If someone sees a good reason, we may add it back. In the meanwhile, test.support.use_old_parser() can be used.

I didn't like the idea of having a new sys.flags.use_peg flag appears in 3.9 but disappears in 3.10.

FYI sys.flags still supports the tuple API! Example:

>>> sys.flags[9]
0

I have no idea what is this 10th member of sys.flags :-)
History
Date User Action Args
2020-04-23 01:09:20vstinnersetrecipients: + vstinner, gvanrossum, ned.deily, lys.nikolaou, pablogsal, BTaskaya
2020-04-23 01:09:20vstinnersetmessageid: <1587604160.52.0.235361164004.issue40334@roundup.psfhosted.org>
2020-04-23 01:09:20vstinnerlinkissue40334 messages
2020-04-23 01:09:20vstinnercreate