Re: Re: Simple Python question for some

Discussion in 'Python' started by Chris Angelico, Oct 29, 2012.

  1. On Mon, Oct 29, 2012 at 3:30 PM, Evan Driscoll <> wrote:
    > On 10/28/2012 7:18 PM, Chris Angelico wrote:
    >> Which means that strings will ALWAYS be compared as strings, and
    >> numbers will ALWAYS be compared as numbers, and ne'er the twain shall
    >> conflict. I can trust Python to compare MD5 hashes reliably:
    >>
    >>>>> "912128034267498495410681495015e0" !=00912128034267498495410681495015"

    >> True
    >>
    >> Of course, I'm not pointing fingers at any other languages here, but
    >> this is a known security hole in one rather widely-used one.

    >
    > If you are PerHaPs talking about the language I think you are, my
    > favorite fact about that is I'm that I think a while back I saw a bug
    > entry about something like that and they weren't sure how or even if it
    > should be fixed.


    Indeed. So it's an issue unlikely to go away any time soon.

    ChrisA
    Chris Angelico, Oct 29, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eric
    Replies:
    2
    Views:
    1,388
    Tommy
    Feb 13, 2004
  2. Mark Lawrence

    Re: Simple Python question for some

    Mark Lawrence, Oct 29, 2012, in forum: Python
    Replies:
    0
    Views:
    118
    Mark Lawrence
    Oct 29, 2012
  3. Chris Rebert

    Re: Simple Python question for some

    Chris Rebert, Oct 29, 2012, in forum: Python
    Replies:
    0
    Views:
    158
    Chris Rebert
    Oct 29, 2012
  4. Chris Angelico

    Re: Simple Python question for some

    Chris Angelico, Oct 29, 2012, in forum: Python
    Replies:
    0
    Views:
    159
    Chris Angelico
    Oct 29, 2012
  5. Evan Driscoll

    Re: Re: Simple Python question for some

    Evan Driscoll, Oct 29, 2012, in forum: Python
    Replies:
    0
    Views:
    139
    Evan Driscoll
    Oct 29, 2012
Loading...

Share This Page