On 5/2/07, Brian Harring <[EMAIL PROTECTED]> wrote:
> Personally, I'm -1 on nuking implicit string concatenation; the
> examples provided for the 'why' aren't that strong in my experience,
> and the forced shift to concattenation is rather annoying when you're
> dealing with code limits (80 char limit for example)-
>
>                         dprint("depends level cycle: %s: "
>                                "dropping cycle for %s from %s" %
>                                 (cur_frame.atom, datom,
>                                  cur_frame.current_pkg),
>                                 "cycle")
>

FWLIW, I pretty much always write this as::

    msg = "depends level cycle: %s: dropping cycle for %s from %s"
    tup = cur_frame.atom, datom, cur_frame.current_pkg, "cycle"
    dprint(msg % tup)

But yes, occasionally I run into problems when the string still
doesn't fit on a single line. (Of course, I usually solve that by
shortening the string...) ;-)

STeVe
-- 
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
        --- Bucky Katt, Get Fuzzy
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to