pyos added the comment:
I don't think this is a bug. `b += iter(b)` and `for c in b: b.append(c)` work
the same way. Also, the tutorial makes it clear that you should duplicate the
list if you modify it inside a loop; in this case, this can be done either by
iterating over `b[:]` instead
New submission from pyos:
The title says it all: if a regular expression that makes use of backreferences
is compiled with `re.I` flag, it will always fail when matched against a string
that contains characters outside of U+-U+00FF range. I've been unable to
further narrow the bug down
pyos added the comment:
Updated the patch. Thanks Serhiy Storchaka for comments on the previous one.
--
Added file:
http://bugs.python.org/file27468/itertools-chain-send-throw-and-close-2.diff
___
Python tracker rep...@bugs.python.org
http
Changes by pyos pyos100...@gmail.com:
Removed file:
http://bugs.python.org/file27455/itertools-chain-send-throw-and-close.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16150
New submission from pyos:
Since yield from made it into Python 3.3, I think it would be useful to chain
multiple generators and still get a generator, not an iterator. That is, the
following code:
def f():
yield from itertools.chain(A, B, C)
should be (at least roughly) equivalent
Changes by pyos pyos100...@gmail.com:
--
versions: +Python 3.3, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16150
___
___
Python-bugs
Changes by pyos pyos100...@gmail.com:
--
versions: -Python 3.3, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16150
___
___
Python
Changes by pyos pyos100...@gmail.com:
Added file: http://bugs.python.org/file27456/itertools-chain-doc.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16150