Changelogs » See

PyUp Safety actively tracks 268,179 Python packages for vulnerabilities and notifies you when to upgrade.

See

1.4.1

--------------------
  
  **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.

1.4.0

--------------------
  
  **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 as
  ``isclass`` and ``isgenerator``, and include them in the result.
  
  - Documentation using Sphinx.
  
  **Deprecated**
  
  - Deprecated the ``pattern`` and ``r`` arguments. They are still usable (via
  ``*args`` and ``**kwargs``) but they will be removed in a later release.

1.3.2

--------------------
  
  **Fixed**
  
  - Misaligned columns with Unicode attribute names that include wide CJK
  characters or combining characters.

1.3.1

--------------------
  
  **Fixed**
  
  - Misaligned columns when some attributes have unusually long names.

1.3.0

--------------------
  
  **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`` with ``hasattr``.

1.2.0

--------------------
  
  **Added**
  
  - Support for Python 3.5's matrix multiplication operators.

1.1.1

--------------------
  
  **Fixed**
  
  - Broken on Windows due to a dependency on the fcntl module.

1.1.0

--------------------
  
  **Added**
  
  - Output is adjusted to fit the terminal width.
  - Print ``?`` after any attributes that raised an exception.
  
  **Fixed**
  
  - Unhandled exceptions when reading attributes.

1.0.1

--------------------
  
  **Changed**
  
  - License is now BSD (was GPL).

1.0

------------------
  
  **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.

0.5.4

--------------------
  
  **Fixed**
  
  - Calling ``see()`` first with no arguments would return nothing.

0.5.3

--------------------
  
  **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 only ``see()``
  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.

0.5.2

--------------------
  
  **Added**
  
  - Calling ``see()`` without arguments shows local variables.

0.5.1

--------------------
  
  **Changed**
  
  - Filename pattern matching is now the default, e.g. ``see('', '.is*')``.
  Regular expression matching can still be done by using the ``r`` 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.

0.5

------------------
  
  **Added**
  
  - Now returns a list-like object, for iterating through the results, while
  still showing the human-readable output when run interactively.
  - Optional ``regex`` and ``fn`` arguments, for regular expression and filename
  pattern matching, respectively.

0.4.1

--------------------
  
  **Added**
  
  - New attributes: ``str()`` and ``repr()``.

0.4

------------------
  
  **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__``.

0.3.1

--------------------
  
  **Added**
  
  - Symbols for binary arithmetic operations using reflected (swapped) operands.
  - ``with`` and ``reversed()`` symbols.

0.3

------------------
  
  **Added**
  
  - Rudimentary Python 3.0 support.
  - Created a *setup.py* installation script.
  
  **Fixed**
  
  - Outdated documentation link in the *README* file.

0.2

-----------------
  
  **Added**
  
  - ``.*`` symbol for the ``__getattr__`` attribute.
  - ``help() documentation.
  
  **Changed**
  
  - Special attribute symbols reordered.
  - Unary addition and subtraction changed to ``+`` and ``-`` respectively.

0.1

-----------------
  
  - Original release.
  
  
  .. _unreleased: https://github.com/ljcooke/see/compare/v1.4.1...develop
  
  .. _v1.4.1: https://github.com/ljcooke/see/compare/v1.4.0...v1.4.1
  .. _v1.4.0: https://github.com/ljcooke/see/compare/v1.3.2...v1.4.0
  .. _v1.3.2: https://github.com/ljcooke/see/compare/v1.3.1...v1.3.2
  .. _v1.3.1: https://github.com/ljcooke/see/compare/v1.3.0...v1.3.1
  .. _v1.3.0: https://github.com/ljcooke/see/compare/v1.2.0...v1.3.0
  .. _v1.2.0: https://github.com/ljcooke/see/compare/v1.1.1...v1.2.0
  .. _v1.1.1: https://github.com/ljcooke/see/compare/v1.1.0...v1.1.1
  .. _v1.1.0: https://github.com/ljcooke/see/compare/v1.0.1...v1.1.0
  
  .. _v1.0.1: https://github.com/ljcooke/see/compare/v1.0-fixed...v1.0.1
  .. _v1.0:   https://github.com/ljcooke/see/compare/v0.5.4...v1.0-fixed
  .. _v0.5.4: https://github.com/ljcooke/see/compare/v0.5.3...v0.5.4
  .. _v0.5.3: https://github.com/ljcooke/see/compare/v0.5.2...v0.5.3
  .. _v0.5.2: https://github.com/ljcooke/see/compare/v0.5.1...v0.5.2
  .. _v0.5.1: https://github.com/ljcooke/see/compare/v0.5...v0.5.1
  .. _v0.5:   https://github.com/ljcooke/see/compare/v0.4.1...v0.5
  .. _v0.4.1: https://github.com/ljcooke/see/compare/v0.4...v0.4.1
  .. _v0.4:   https://github.com/ljcooke/see/compare/v0.3.1...v0.4
  .. _v0.3.1: https://github.com/ljcooke/see/compare/v0.3...v0.3.1
  .. _v0.3:   https://github.com/ljcooke/see/compare/v0.2...v0.3