[issue34002] minor efficiency and clarity improvements in email package

2019-09-19 Thread Abhilash Raj
Abhilash Raj added the comment: PR is now merged. -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34002] minor efficiency and clarity improvements in email package

2019-09-19 Thread Abhilash Raj
Abhilash Raj added the comment: New changeset 2702638eabe5f7b25f36d295f0ad78cb8d4eda05 by Abhilash Raj (Michael Selik) in branch 'master': bpo-34002: Minor efficiency and clarity improvements in email package. (GH-7999)

[issue34002] minor efficiency and clarity improvements in email package

2018-06-29 Thread Michael Selik
Change by Michael Selik : -- components: +email nosy: +barry, r.david.murray versions: +Python 3.8 ___ Python tracker ___ ___

[issue34002] minor efficiency and clarity improvements in email package

2018-06-29 Thread Michael Selik
Change by Michael Selik : -- keywords: +patch pull_requests: +7620 stage: -> patch review ___ Python tracker ___ ___

[issue34002] minor efficiency and clarity improvements in email package

2018-06-29 Thread Michael Selik
New submission from Michael Selik : The primary motivation for these improvements was avoiding a while/pop pattern for looping. A for-loop is a big improvement over copying a list, then repeatedly popping the 0th element. A lesser improvement is the use of ``a.intersection(b)`` instead of