<br><br><div><span class="gmail_quote">On 11/19/06, <b class="gmail_sendername">Guido van Rossum</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 11/19/06, Brett Cannon <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:<br>><br>><br>> On 11/19/06, Georg Brandl <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:<br>> > Guido van Rossum wrote:
<br>> ><br>> > > PEPs aren't only for difficult discussions. :-) They are also there<br>> > > for reference and to record agreement. Referring to an email isn't<br>> > > really a very good answer when someone asks (as happened here) "what
<br>> > > is the spec"? A PEP may also discourage attempts to add more cruft,<br>> > > and encourage someone with a few spare cycles to provide a patch so we<br>> > > can put the whole thing behind it.
<br>> > ><br>> > > BTW I forgot to mention that it shouldn't return anything.<br>> > ><br>> > > (So are you going to write that PEP? :-)<br>> ><br>> > It's in Subversion and numbered 3105, should be online with the next
<br>> > website update cycle.<br>><br>> The only thing I would prefer is instead of 'end' have 'newline' and have<br>> that be a boolean since I don't see a need to support different line<br>> endings. I realize the difference between ``end=''`` and ``newline=False``
<br>> is minimal beyond more typing, but for some reason my head just keeps<br>> telling me I prefer the latter for clarity reasons.<br>><br>> Otherwise +1 from me.<br><br>Oh, but I *do* see a use case for other line endings.
E.g. when<br>writing a Windows file or a standards-compliant email from within<br>Unix, end="\r\n" would be helpful. In practice it probably would be a<br>variable set from a config option.</blockquote><div><br>
Right, I assumed it would always get set by some config option that was set during compile. But whatever, as I said it is not a big deal to me and I can definitely be happy with the existing proposal.<br><br>-Brett<br></div>