All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning as of v1.1.0.
Added
.filter_ignoring_case()
-- Like.filter()
but case-insensitive..exclude()
-- The opposite of.filter()
. Excludes results that match a regular expression.
Deprecated
- Dropped support for Python 2.6 and 3.3.
v1.4.1 / 2017-09-24
Changed
- Limit the output indentation to a maximum of 4 spaces.
Fixed
- Fixed the function name in the 'deprecated' message that appears when you use
the
r
argument.
v1.4.0 / 2017-05-21
Added
- New API for filtering the output. Call
see().filter()
with either a shell-style wildcard pattern or a regular expression. - Test each of the
is
functions from the inspect module, such asisclass
andisgenerator
, and include them in the result. - Documentation using Sphinx.
Deprecated
- Deprecated the
pattern
andr
arguments. They are still usable (via*args
and**kwargs
) but they will be removed in a later release.
v1.3.2 / 2016-04-30
Fixed
- Misaligned columns with Unicode attribute names that include wide CJK characters or combining characters.
v1.3.1 / 2016-04-26
Fixed
- Misaligned columns when some attributes have unusually long names.
v1.3.0 / 2016-04-24
Added
- Unit tests, continuous integration with Travis, and coverage reports published on Coveralls.io.
- For Windows, adjust the output to fit the terminal width as on other platforms.
Fixed
- Replaced one instance of
dir
withhasattr
.
v1.2.0 / 2016-04-17
Added
- Support for Python 3.5's matrix multiplication operators.
v1.1.1 / 2015-04-17
Fixed
- Broken on Windows due to a dependency on the fcntl module.
v1.1.0 / 2015-03-27
Added
- Output is adjusted to fit the terminal width.
- Print
?
after any attributes that raised an exception.
Fixed
- Unhandled exceptions when reading attributes.
v1.0.1 / 2010-10-17
Changed
- License is now BSD (was GPL).
v1.0 / 2010-07-31
Added
- Justified columns.
Changed
- Output is indented to line up with the prompt. For example, if the prompt
is a single
>
followed by a space, the output will be indented by two spaces.
Fixed
- Exception raised when
see()
has nothing to display.
v0.5.4 / 2009-07-23
Fixed
- Calling
see()
first with no arguments would return nothing.
v0.5.3 / 2009-04-12
Added
- Running see.py as a script will show documentation, equivalent to
help(see)
. - If you want to be lazy, you can
from see import *
, and onlysee()
will be imported.
Changed
- Results are spaced out more, and line up with the default interpreter prompt.
- Unary operator symbols changed from
+@
and-@
to+obj
and-obj
respectively. - Revised code documentation and examples.
- New project homepage.
Fixed
see()
output could be modified, but would still print the original results. The output list now acts like a tuple.
v0.5.2 / 2009-03-16
Added
- Calling
see()
without arguments shows local variables.
v0.5.1 / 2009-03-13
Changed
- Filename pattern matching is now the default, e.g.
see('', '.is*')
. Regular expression matching can still be done by using ther
argument.
Fixed
- Python 3.0: After the first
see()
call, subsequent calls would give no output for some objects. - Python 3.0: Regular expression and filename pattern matching would also result in nothing being output.
v0.5 / 2009-03-07
Added
- Now returns a list-like object, for iterating through the results, while still showing the human-readable output when run interactively.
- Optional
regex
andfn
arguments, for regular expression and filename pattern matching, respectively.
v0.4.1 / 2009-02-23
Added
- New attributes:
str()
andrepr()
.
v0.4 / 2009-02-19
Added
- For Python 3.0, new attributes are included, and deprecated attributes are no longer shown.
- Instructions added for using this with iPython.
Changed
- (Pseudo-)static variables moved outside the
see()
function. This may or may not be more efficient. - If the object has a docstring set,
help()
is shown in the list instead of?
.
Fixed
- AttributeError with Django class attributes fixed.
- The correct symbols are now shown for objects implementing
__divmod__
,__floordiv__
and__cmp__
.
v0.3.1 / 2009-02-18
Added
- Symbols for binary arithmetic operations using reflected (swapped) operands.
with
andreversed()
symbols.
v0.3 / 2009-02-18
Added
- Rudimentary Python 3.0 support.
- Created a setup.py installation script.
Fixed
- Outdated documentation link in the README file.
Added
.*
symbol for the__getattr__
attribute.help()`
documentation.
Changed
- Special attribute symbols reordered.
- Unary addition and subtraction changed to
+@
and-@
respectively.
- Original release.