[New-bugs-announce] [issue25898] Check for subsequence inside a sequence

Sebastian Linke report at bugs.python.org
Thu Dec 17 20:45:11 EST 2015


New submission from Sebastian Linke:

With the attached patch I propose to add a new function to the "collections" module. It is meant to be used for determining whether a given subsequence is part of a particular sequence (with respect to the ordering of the subsequence). 

Doing this in pure Python (using the CPython interpreter) is relatively slow. So I did the implementation in C.

----------
components: Library (Lib)
files: has_subsequence.patch
keywords: patch
messages: 256633
nosy: seblin
priority: normal
severity: normal
status: open
title: Check for subsequence inside a sequence
type: enhancement
versions: Python 3.6
Added file: http://bugs.python.org/file41342/has_subsequence.patch

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


More information about the New-bugs-announce mailing list