Home

Neil Cerutti wrote:
> On 2007-09-10, Steve Holden <steve@holdenweb.com> wrote:
>>> I have a quibble not with the functionality of the boolean check,
>>> but with its expressiveness. if y[0] == "" expresses more, i.e.,
>>> that I expect y[0] to contain a Python byte string.
>> I have a quibble with a test that will raise an exception when
>> the anticipated condition is true. Your test is patently
>> absurd, as you would have discovered had you bothered to try
>> it:
>
> "if y[0] == "" expresses more, i.e., that I expect y[0] to
> contain a Python byte string."
>
That isn't unreasonable immediately after

y = "...".split(...)

though, is it? I was talking tosh above.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------

previous
next

Re: downloading files
Re: Pointers vs. Static Objects
Re: C++ Primer ex 7.20 - finding factorial
Re: Entering strings as user input but interpreting as Python input
Re: Pausing and Unpausing Threads
przystanek pogorzelica opinie
oświetlenie domu
Veľkoobchod bižutéria
producent profili meblowych
paraprotex opinie