[issue12381] refactor slice checks made by methods that take "slice like" arguments

Petri Lehtinen report at bugs.python.org
Wed Jul 27 12:35:59 CEST 2011


Petri Lehtinen <petri at digip.org> added the comment:

R. David Murray wrote:
> Note that both of these have been fixed in default, so I'm
> repurposing this issue for the refactoring I suggested.
> However, since I can't find an existing issue for the bytearray
> fix, maybe somebody already did it and I didn't notice.

It seems to me that such refactorization has been already done when fixing issue 11828. The stringlib_parse_args_finds() function is used to to parse the slice-like arguments of str, bytes and bytearray functions.

As the errors reported in the issue have already been fixed in all branches, I'm closing this as invalid.

----------
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12381>
_______________________________________


More information about the Python-bugs-list mailing list