You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gh-88661: Drop .taz, and teach the command line the same suffixes
.taz names a .tar.Z, and this module does not do compress(1), so mapping
it to .tar was wrong. Only .gz and .tgz are handled now.
The suffix logic moved into a small helper that both the header writer
and main() use, so python -m gzip -d accepts what gunzip accepts and
writes the name gunzip would write. It rejected spam.tgz and spam.GZ
before, which was the inconsistency Serhiy pointed out.
The existing command-line error test asserted the old message text; it
now asserts the new one and also covers .taz, which is refused.
0 commit comments