This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hct
Recipients eric.smith, ezio.melotti, flox, hct, mark.dickinson, meador.inge, python-dev
Date 2014-03-18.22:44:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395182697.49.0.387730980643.issue7994@psf.upfronthosting.co.za>
In-reply-to
Content
just found out about this change in the latest official stable release and it's breaking my code all over the place. something like "{:s}".format( self.pc ) used to work in 3.3.4 and prior releases now raise exception rather then return a string 'None' when self.pc was never update to not None (was initialized to None during object init). this means I have to manually go and change every single line that expects smooth formatting to a check to see if the variable is still a 'NoneType'.

should we just create a format for None, alias string format to repr/str on classes without format implementation or put more thought into this
History
Date User Action Args
2014-03-18 22:44:57hctsetrecipients: + hct, mark.dickinson, eric.smith, ezio.melotti, flox, meador.inge, python-dev
2014-03-18 22:44:57hctsetmessageid: <1395182697.49.0.387730980643.issue7994@psf.upfronthosting.co.za>
2014-03-18 22:44:57hctlinkissue7994 messages
2014-03-18 22:44:57hctcreate