##// END OF EJS Templates
Merge pull request #1495 from rkern/fix-hyperobject-pprint...
Merge pull request #1495 from rkern/fix-hyperobject-pprint BUG: Fix pretty-printing for overzealous objects Some classes use __getattr__ to automatically create requested attributes. The recent trend of LINQ-like query objects is what I ran into. This confuses the pretty-printing machinery that tests for _repr_pretty_. This pull request fixes many of these problems by simply testing if the _repr_pretty_ attribute is callable. This may still be confused by certain mocking frameworks, but it's a good start.

File last commit:

r2661:595fc3b9
r6272:873e3647 merge
Show More
__init__.py
19 lines | 541 B | text/x-python | PythonLexer
"""
Package for dealing for process execution in a callback environment, in a
portable way.
killable_process.py is a wrapper of subprocess.Popen that allows the
subprocess and its children to be killed in a reliable way, including
under windows.
winprocess.py is required by killable_process.py to kill processes under
windows.
piped_process.py wraps process execution with callbacks to print output,
in a non-blocking way. It can be used to interact with a subprocess in eg
a GUI event loop.
"""
from pipedprocess import PipedProcess