[Python-Dev] Replace useless %.100s by %s in PyErr_Format()
"Martin v. Löwis"
martin at v.loewis.de
Thu Mar 24 23:57:38 CET 2011
More information about the Python-Dev mailing list
Thu Mar 24 23:57:38 CET 2011
- Previous message: [Python-Dev] Replace useless %.100s by %s in PyErr_Format()
- Next message: [Python-Dev] Proposal for Python 3.3: dependence injection
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> I would like to replace %.100s because there are no more reason to > truncate strings to an arbitrary length. I agree with MAL. It protects against cases with ridiculously long parameters - say, you have a string with 1GB. You *want* to truncate bogus text. Regards, Martin
- Previous message: [Python-Dev] Replace useless %.100s by %s in PyErr_Format()
- Next message: [Python-Dev] Proposal for Python 3.3: dependence injection
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list