Speed up completion hook shellcodeSee original GitHub issue
In the course of looking into #278, I’ve become concerned about the performance impact of
pkg_resources.iter_entry_points() in https://github.com/kislyuk/argcomplete/blob/master/argcomplete/_check_console_script.py.
I’d like us to profile the completion hook shellcode. We might want to use techniques developed by https://github.com/DropD/reentry to speed up entry point scanning, or look for other ways to speed up the shellcode.
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
We are not actively maintaining support for Python 2, and I expect to drop all Python 2-specific compatibility code sometime later this year. In general we will follow EOL announcements from upstream to decide when to drop support, and in case of Python 2.7, EOL was January 1, 2020.
Are we similarly considering dropping support for Python 2? It reached EOL at the beginning of this year, but I can understand making a special case for it given how prevalent it still is. However as time goes on, our dependencies will drop support for it and the burden of maintaining it will grow. Do you have any thoughts around this?