]> granicus.if.org Git - python/commit
SF patch #440144: Tests and minor bugfix for uu module
authorTim Peters <tim.peters@gmail.com>
Wed, 11 Jul 2001 04:08:49 +0000 (04:08 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 11 Jul 2001 04:08:49 +0000 (04:08 +0000)
commit79c8671c7aee3dfaeb3aa9ce14abe08cc30ecc54
tree4874d415e0d0589925edf37be1c9e2f47abb52d0
parent9178af1455202d1fe9d8ce068ed72be967832304
SF patch #440144:  Tests and minor bugfix for uu module

decode():  While writing tests for uu.py, Nick Mathewson discovered
that the 'Truncated input file' exception could never get raised,
because its "if not str:" test was actually testing the builtin
function "str", not the local string vrbl "s" as intended.

Bugfix candidate.
Lib/uu.py