##// END OF EJS Templates
* IPython/Extensions/ipipe.py: Rename XAttr to AttributeDetail...
* IPython/Extensions/ipipe.py: Rename XAttr to AttributeDetail and make it iterable (iterating over the attribute itself). Add two new magic strings for __xattrs__(): If the string starts with "-", the attribute will not be displayed in ibrowse's detail view (but it can still be iterated over). This makes it possible to add attributes that are large lists or generator methods to the detail view. Replace magic attribute names and _attrname() and _getattr() with "descriptors": For each type of magic attribute name there's a subclass of Descriptor: None -> SelfDescriptor(); "foo" -> AttributeDescriptor("foo"); "foo()" -> MethodDescriptor("foo"); "-foo" -> IterAttributeDescriptor("foo"); "-foo()" -> IterMethodDescriptor("foo"); foo() -> FunctionDescriptor(foo). Magic strings returned from __xattrs__() are still supported. * IPython/Extensions/ibrowse.py: If fetching the next row from the input fails in ibrowse.fetch(), the exception object is added as the last item and item fetching is canceled. This prevents ibrowse from aborting if e.g. a generator throws an exception midway through execution. * IPython/Extensions/ipipe.py: Turn ifile's properties mimetype and encoding into methods.
walter.doerwald -
r355:9c312a73
Show More
Name Size Modified Last Commit Author
IPython
debian
doc
scripts
setupext
test
tools
ChangeLog Loading ...
MANIFEST.in Loading ...
README Loading ...
README_Windows.txt Loading ...
eggsetup.py Loading ...
ipython.py Loading ...
setup.py Loading ...
setup_bdist_egg.py Loading ...
win32_manual_post_install.py Loading ...

Please see the doc/ directory for full manuals and other documents. The manual is
prepared using the LyX system (www.lyx.org), but in the doc/manual directory
you'll find HTML and PDF versions.

These manuals normally get installed to $PREFIX/share/doc/ipython-VERSION, unless you
redirect the installer via a --prefix/--home option. Normally, $PREFIX is
/usr, but your Python may be installed elsewhere. You can see its value by
running:

python -c "import sys;print sys.prefix"