In message <[EMAIL PROTECTED]>, Aahz wrote:
> I'm strongly opposed to backslashes because they break when you get
> whitespace after them.
1) I've never had that problem.
2) Even if I did, it would report a syntax error, it's not going to fail
silently and introduce any run-time bugs, is it?
--
h
In message <[EMAIL PROTECTED]>, Dennis Lee
Bieber wrote:
> There is also the matter that the original material is using " on
> each line to delimit the string, and then \" within the line to escape
> the desired output "s, rather than either using ' for the string and
> bare " for the output chara
In article <[EMAIL PROTECTED]>,
D'Arcy J.M. Cain <[EMAIL PROTECTED]> wrote:
>On 19 Oct 2008 07:44:52 -0700
>[EMAIL PROTECTED] (Aahz) wrote:
>>> sys.stdout.write \
>>> (
>>
>> Why are you using a backslash?
>
>Because he hasn't opened the paren yet. He could have put the open
>paren on the
On 19 Oct 2008 07:44:52 -0700
[EMAIL PROTECTED] (Aahz) wrote:
> > sys.stdout.write \
> > (
>
> Why are you using a backslash?
Because he hasn't opened the paren yet. He could have put the open
paren on the same line as the write obviating the need for the
backslash but then his open/close
In article <[EMAIL PROTECTED]>,
Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote:
>In message
><[EMAIL PROTECTED]>, Kay
>Schluehr wrote:
>>
>> If someone had solved the hard problem of finding a less
>> cumbersome way of writing sys.stdout.write(...) ...
>
>I don't see what the big deal is. I regular
On Sat, 18 Oct 2008 21:34:13 -0700, Kay Schluehr wrote:
> On 18 Okt., 22:01, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
>
>> Perhaps it also omitted the fact that nothing prevents you from
>> defining a function to write things to stdout (or elsewhere) in Python
>> 2.5, making the Python 3.x
In message
<[EMAIL PROTECTED]>, Kay
Schluehr wrote:
> If someone had solved the hard problem of finding a less
> cumbersome way of writing sys.stdout.write(...) ...
I don't see what the big deal is. I regularly write things like
sys.stdout.write \
(
""
"%(title)s
On 18 Okt., 22:01, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> Perhaps it also omitted the fact that nothing prevents you from defining a
> function to write things to stdout (or elsewhere) in Python 2.5, making the
> Python 3.x change largely a non-feature. ;)
>
> Jean-Paul
Even more. If so
In message <[EMAIL PROTECTED]>, Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote:
>
>>In message <[EMAIL PROTECTED]>, Terry
>>Reedy wrote:
>>>
>>> "For instance, the print statement got turned into a print function ...
>>> "
>>
>>Except I never use pri
In article <[EMAIL PROTECTED]>,
Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote:
>In message <[EMAIL PROTECTED]>, Terry
>Reedy wrote:
>>
>> "For instance, the print statement got turned into a print function ... "
>
>Except I never use print in scripts.
"What, never?"
--
Aahz ([EMAIL PROTECTED])
In article <[EMAIL PROTECTED]>,
Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote:
>In message <[EMAIL PROTECTED]>, Aahz wrote:
>>
>> (There's a significant amount of JavaScript, much of which is generated by
>> Python code.)
>
>Been there, done that. Triple backslashes, anybody? :)
Why would you nee
In message <[EMAIL PROTECTED]>, Terry
Reedy wrote:
> "For instance, the print statement got turned into a print function ... "
Except I never use print in scripts.
--
http://mail.python.org/mailman/listinfo/python-list
In message <[EMAIL PROTECTED]>, Aahz wrote:
> (There's a significant amount of JavaScript, much of which is generated by
> Python code.)
Been there, done that. Triple backslashes, anybody? :)
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
Terry Reedy <[EMAIL PROTECTED]> wrote:
>
>http://www.linux.com/feature/150399
Although I have no objections to the way I was quoted, the article didn't
include the points I wanted to make. Here's my original interview:
On Sat, Oct 04, 2008, [EMAIL PROTECTED] wrot
On Sat, 18 Oct 2008 15:30:23 -0400, Terry Reedy <[EMAIL PROTECTED]> wrote:
http://www.linux.com/feature/150399
Interesting article with one minor incompleteness.
"For instance, the print statement got turned into a print function; you
must now put parentheses around what you want to print to the
http://www.linux.com/feature/150399
Interesting article with one minor incompleteness.
"For instance, the print statement got turned into a print function; you
must now put parentheses around what you want to print to the screen.
The change allows developers to work with print in a more flexible
16 matches
Mail list logo