New submission from mgogoulos <[EMAIL PROTECTED]>:

Not sure if this is a bug, however the following string functions when
called with very big numbers as the padding arguments consume great
system resources. My estimation is that it would help to exist a limit
on what can be specified as width.

Check (center, ljust, rjust, zfill)

eg.

import string
string.center('..', 2147483647)

Tested on python versions: 2.5.1 and 2.5.2

----------
components: Library (Lib)
messages: 70034
nosy: mgogoulos
severity: normal
status: open
title: heavy resource usage with string functions
type: resource usage
versions: Python 2.5

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3418>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to