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 berker.peksag, bethard, christian.heimes, paul.j3, pitrou, rhettinger, serhiy.storchaka, vstinner, wolma, yan12125
Date 2017-04-28.06:05:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
After reverting some changes (import heapq on Raymond's request and import gettext since it is needed for the ArgumentParser constructor) the effect of the patch is reducing the number of imports by 6 and the time by 0.017 sec (> 10%) on my computer.

$ time for i in `seq 100`; do ./python -S -c 'import argparse; argparse.ArgumentParser()'; done

real    0m13.236s
user    0m12.100s
sys     0m0.808s

real    0m11.535s
user    0m10.356s
sys     0m0.756s
Date User Action Args
2017-04-28 06:05:21serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, pitrou, bethard, vstinner, christian.heimes, berker.peksag, paul.j3, wolma, yan12125
2017-04-28 06:05:21serhiy.storchakasetmessageid: <>
2017-04-28 06:05:21serhiy.storchakalinkissue30152 messages
2017-04-28 06:05:20serhiy.storchakacreate