-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stavros Korokithakis wrote: > Hello, > is concatenation of adjacent strings a useful feature? So far the only > use case I've seen is causing me endless hours of debugging when I > forget the comma in a tuple of strings, like so: > > ("first", > "second" > "third") > > Which then becomes a tuple of two items, instead of three. It would have > been much better if it produced an error. Is there any good reason that > this feature exists, or would it be better if it were removed?
- -1. The feature exists to allow adherence to PEP-8, "Limit all lines to a maximum of 79 characters.", without requiring runtime concatenation costs. I use it frequently when assembling and testing message strings, for instance. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIlfMR+gerLs4ltQ4RAjc/AJ9QiO4EWMfamHwyRLaZ+cowu8bT9gCbB+/Y 979rSOIrbRs8lYW3T8Kv6WE= =NSdL -----END PGP SIGNATURE----- _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com