Message214034
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 |
|
Date |
User |
Action |
Args |
2014-03-18 22:44:57 | hct | set | recipients:
+ hct, mark.dickinson, eric.smith, ezio.melotti, flox, meador.inge, python-dev |
2014-03-18 22:44:57 | hct | set | messageid: <1395182697.49.0.387730980643.issue7994@psf.upfronthosting.co.za> |
2014-03-18 22:44:57 | hct | link | issue7994 messages |
2014-03-18 22:44:57 | hct | create | |
|