Idlemypyextension

Latest version: v1.2.0

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.0.0

In this release, we update dependencies, switch the license back to the GNU General Public License v3 because it's actually not allowed to downgrade to Apache 2 (whoops), update project metadata, add `mttkinter` dependency because it fixes a thread safety issue with `tktrio`, move a bunch of the code from `__init__` into two separate modules, `extension` and `utils`, where `utils` is a general module for building extensions and `extension` is specific to this project, which makes it much easier for me to have bugfixes from my other extensions be able to transfer to this one, add license headers to all the files, handle a very strange case where a Trio run fails to exit properly, and fix a bug where the extension can crash when there are no file comments.

**Full Changelog**: https://github.com/CoolCat467/idlemypyextension/compare/v0.2.7...v1.0.0

0.2.7

In this release, we
- Fix a bunch of spelling issues
- Update dependencies
- Change the way we talk to the mypy daemon to use builtin trio asynchronous sockets instead of wrapping dmypy module sockets
- Cap maximum read count in module guard so it doesn't lag out if you use idle in a virtual environment
- Basically rewrite tktrio so the asynchronous code works way better
- Fix the following issues in the annotation generator:
- Speed up tokenization by using compiled regular expression
- Fix f-string handling for python 3.12 +
- Handle case when lambda at end of arguments list over-reads close definition parenthesis
- Fix case when annotations contain module names that have spaces in them
- Ignore annotation prefixes when they are for the module we are adding annotations to
- Add tests for the annotation generator

**Full Changelog**: https://github.com/CoolCat467/idlemypyextension/compare/v0.2.3...v0.2.7

0.2.6

Forgot to make a release for pypi v0.2.6

**Full Changelog**: https://github.com/CoolCat467/idlemypyextension/compare/v0.2.3...v0.2.6

0.2.3

In this release, we do basically nothing other than updating dependencies.


What's Changed
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/CoolCat467/idlemypyextension/pull/4


**Full Changelog**: https://github.com/CoolCat467/idlemypyextension/compare/v0.2.2...v0.2.3

0.2.2

In this release, support was added for [`idleuserextend`](https://github.com/CoolCat467/idleuserextend), meaning it is no longer required to have root permissions to install this extension.

Behind the scenes, there is now support to add mypy comments to files that are not currently open, but this is disabled for now (mostly because in some cases it opens so many windows it's like those old virus memes where error boxes fill the screen).

Fixed a slight issue with the `Remove Type Comments` command wherein because of the way it edited the currently open file, using the undo command would move the cursor to the beginning of the file. Now, it uses a different method of editing the currently open file, so using the undo command will move the cursor to the start of the first edit like intended.

Added `Overload` response support to the annotation parser, allowing suggested types that include `Overload` to not error out.

Re-added previously removed support for the `INDENT` token, because it turns out it can still be encountered in some cases and would cause an unhandled token error if that happened.

Added idle import guard blocks for all third-party modules instead of just one Trio import, preventing the extension from crashing on startup if you happen to be working on any of said third-party modules using IDLE.

Added traceback exception handler for tktrio run unwraps, hopefully preventing IDLE from crashing from anything other than a BaseException in an asynchronous function.

Updated pre-commit dependancies and added badges for test runs and anything `badgie` finds.

**Full Changelog**: https://github.com/CoolCat467/idlemypyextension/compare/v0.2.1...v0.2.2

0.2.1

In this release we start adding unit tests, first with the `annotate` module, and the associated CI for testing that. We update dependencies, fix a bug with the error pointers, make response handling more robust, fix annotations lambda handling, and in general fix a bunch of errors here and there with the annotation rebuilder.

What's Changed
* Add tests for `annotate` by CoolCat467 in https://github.com/CoolCat467/idlemypyextension/pull/2

New Contributors
* CoolCat467 made their first contribution in https://github.com/CoolCat467/idlemypyextension/pull/2

**Full Changelog**: https://github.com/CoolCat467/idlemypyextension/compare/v0.2.0...v0.2.1

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.