NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #3241 most downloaded on PyPI
Function and command-line program to strip Python type hints.
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 5 weeks to 3.6 years
Nearly every release is documented
notes for 14 of 14 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
14 releases · first in 2017
Standalone comment lines that start with # strip-hints: off now turn off hint-stripping. Standalone comments that start with # strip-hints: on turn it
New features:
Standalone comment lines that start with # strip-hints: off now turn off hint-stripping. Standalone comments that start with # strip-hints: on turn it back on. This can be used as a workaround with, for example, dataclasses.
Added a pass statement before commented-out annotations so Protocol classes work now.
Bug fixes:
Added a pass statement before commented-out annotations so Protocol classes work now.
One column per quarter.
Updated to pyproject.toml instead of setup.py.
Updated to pyproject.toml instead of setup.py.
Added the options --outfile and --inplace, along with --help.
Added the options --outfile and --inplace, along with --help.
Bug fixes:
Fixed a bug where comments in function return hints that contain both newlines and comments cause syntax error when the --strip-nl option is used.
Fixed a bug in multiline annotated expressions with comments on the lines.
Added the options --strip-nl and --no-equal-move. Fixing annotated assignments with newlines in type hints by moving the line with = was added.
Added the options --strip-nl and --no-equal-move. Fixing annotated assignments with newlines in type hints by moving the line with = was added.
Added a new Python interface function strip_string_to_string which works just the same as strip_file_to_string except it takes a code string argument
Added a new Python interface function strip_string_to_string which works just the same as strip_file_to_string except it takes a code string argument instead of a file name.
Added an importlib stripper for strip-on-import for Python 3.
Added an importlib stripper for strip-on-import for Python 3.
Fixed strip-on-import for Python 2.
Fixed strip-on-import for Python 2.
Fixed a unicode decoding bug when running under Python 2 on a file containing a unicode string.
Fixed a unicode decoding bug when running under Python 2 on a file containing a unicode string.
Consolidated the functional interface function strip_file_to_string so it now accepts only_test_for_changes as an argument.
Consolidated the functional interface function strip_file_to_string so it now accepts only_test_for_changes as an argument.
Now handles annotated expressions of the form d["key"]: int and d["key"]: int == 4.
Now handles annotated expressions of the form d["key"]: int and d["key"]: int == 4.
Add an option --only-test-for-changes to just test for changes.
Fixed a nasty bug introduced in last version, keywords like "try" mistaken for annotated variables.
Now handles annotated dotted-access assignments (a simple form of annotated expressions). For example, x.y.z : int.
Now handles annotated dotted-access assignments (a simple form of annotated expressions). For example, x.y.z : int.
The new strip_on_import function allows stripping Python 2 files on import.
New Features:
The new strip_on_import function allows stripping Python 2 files on import.
Bug Fixes: None.
Other changes:
Expanded README documentation.
Initial release.
Initial release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →