On 2018-04-01 05:36, Steven D'Aprano wrote:
You are right that many of the prefixes can be handled by the same code:

     rfd rfD rFd rFD rdf rdF rDf rDF
     Rfd RfD RFd RFD Rdf RdF RDf RDF
     frd frD fRd fRD fdr fdR fDr fDR
     Frd FrD FRd FRD Fdr FdR FDr FDR
     drf drF dRf dRF dfr dfR dFr dFR
     Drf DrF DRf DRF Dfr DfR DFr DFR
     # why did we support all these combinations? who uses them?

In almost twenty years of using Python, I've not seen capital string prefixes in real code, ever. Sounds like a great candidate for deprecation?

-Mike
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to