[Python-Dev] PEP282 and the warnings framework
Fredrik Lundh
fredrik@pythonware.com
Thu, 16 May 2002 17:47:31 +0200
"Aahz" wrote:
> >> If I have a choice between writing:
> >>
> >> log.debug(
> >> "HOME environment variable set to non-existent directory %s",
> >> homedir
> >> )
> >
> > with the mapping in my previous posting you would write
> >
> > log.debug(
> > "HOME environment variable set to non-existent directory " + homedir
> > )
>
> There is no difference between these two.
so why does one of them give me a TypeError?
</F>