Make sure you removed all debugging print statements error

Chris Angelico rosuav at gmail.com
Wed Aug 10 18:55:48 EDT 2016


On Thu, Aug 11, 2016 at 8:48 AM, Gregory Ewing
<greg.ewing at canterbury.ac.nz> wrote:
> Chris Angelico wrote:
>>
>> I suppose you could put down Kelvin as a last name and either Baron or
>> Lord as a first name, but that'd just be cheating...
>
>
> Or put NULL as the first name and have fun watching
> the database break.
>
> http://www.wired.com/2015/11/null/
>
> Or perhaps even profit:
>
> http://www.dailymail.co.uk/travel/travel_news/article-3513652/The-cleverest-time-Man-gets-free-holidays-car-rentals-changing-surname-Null.html

NULL should be completely different from the string 'Null' (in any
mixture of case). Failing that check means a failure in the front end,
or in how things are checked for.

ChrisA



More information about the Python-list mailing list