A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-March/110044.html below:

[Python-Dev] Replace useless %.100s by %s in PyErr_Format()

[Python-Dev] Replace useless %.100s by %s in PyErr_Format() [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
> 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4