Message 196314 - Python tracker (original) (raw)

Message196314

Author Joshua.Johnston
Recipients Joshua.Johnston
Date 2013-08-27.19:54:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id 1377633255.35.0.29938622913.issue18857@psf.upfronthosting.co.za
In-reply-to
Content
This is strange behavior. When you encode nulls in other languages you don't get the string 'null' you usually get an empy string. Shouldn't str(None) == ''? If not str(None) == 'None' and the string representation of a None value should not match a known string >>> from urllib import urlencode >>> urlencode({'josh': None}) 'josh=None'
History
Date User Action Args
2013-08-27 19:54:15 Joshua.Johnston set recipients: + Joshua.Johnston
2013-08-27 19:54:15 Joshua.Johnston set messageid: 1377633255.35.0.29938622913.issue18857@psf.upfronthosting.co.za
2013-08-27 19:54:15 Joshua.Johnston link issue18857 messages
2013-08-27 19:54:15 Joshua.Johnston create