Dan Haffey added the comment:
+1, I just lost an hour-plus compute job to this. It sure violates POLA. I've
been passing large generators to file.writelines since about as long as
generators have existed, so I never would have guessed that a class named
"StreamWriter" of all
New submission from Dan Haffey:
Error reporting for recursive backreferences in regexes isn't consistent across
both types of backref. Here's the exception for a recursive numeric backref:
>>> import re
>>> re.compile(r'(\1)')
Traceback (most recent c
New submission from Dan Haffey :
The documentation at
http://docs.python.org/library/stdtypes.html#context-manager-types
refers to the contextlib.contextmanager decorator as
contextlib.contextfactory.
--
assignee: georg.brandl
components: Documentation
files: doc-stdtypes