Vulture 0.3 released

2012-03-23 Thread Jendrik Seipp

vulture - Find dead code


vulture finds unused classes, functions and variables in Python code. 
This helps you cleanup and find errors in your programs. If you run it 
on both your library and test suite you can find untested code.


Due to Python's dynamic nature it is impossible to find all dead code 
for a static code analyzer like vulture, because it ignores scopes and 
scans only token names. Additionally some dynamic items that are not 
explicitly mentioned in the code may be incorrectly reported as dead code.



Download


http://pypi.python.org/pypi/vulture


Features


- Fast: Uses static code analysis
- Lightweight: Only one module
- Complements pyflakes and has the same output syntax
- Supports Python 2.6, 2.7 and 3.x


News


* Add support for python3
* Report unused attributes
* Find tuple assignments in comprehensions
* Scan files given on the command line even if they don't end with .py


Cheers,
Jendrik





--
http://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations/


ANN: Leo 4.10 b1 released

2012-03-23 Thread Edward K. Ream
Leo 4.10 b1 is now available at: http://sourceforge.net/projects/leo/files/

Leo is a text editor, data organizer, project manager and much more.
http://webpages.charter.net/edreamleo/intro.html

Leo 4.10 contains 9 months of intense work on Leo. Several very
important
features are subtle; you could almost call them Easter Eggs, so please
read
the following notes carefully.

The highlights of Leo 4.10:
--

* Dozens of new and improved features and commands, including...
  - Tab completion now shows all @command  @button nodes.
  - Leo tabs may be detached from the main window.
  - The Open With menu now works.
  - The leoInspect module answers questions about Python code.
  - Leo can highlight the pane containing the focus.
  - The bigdash plugin searches across multiple files.
  - Improved abbreviation capabilities.
  - Improved handling of URL's.
  - Improved editing of non-Leo files.
  - Improvements create weightless unit testing.
* Easier installation on MacOS.
* Fixed almost 70 bugs.

The Easter Eggs
---

1. Tab completion now shows all @command  @button nodes.

Put all your common scripts in @command nodes in myLeoSettings.leo.
Typing Alt-X@cTab will remind you of the names of these scripts.
You can execute the scripts by name without the @command- prefix.

2. Improved abbreviation capabilities.

Virtually any kind of abbreviation is possible. For example, ~a to ã.

3. Improved handling of URL's.

URL's can link to other Leo outlines. Ctrl-Click on nodes or URL's
in body text to activate the URL.

4 Weightless unit testing.

The mantra is edit, alt-4 (run-marked-unit-tests-externally), edit,
alt-4,... Several seemingly innocuous changes made this work without
an
friction. The result is a remarkable increase in productivity.

Links:
--
Leo:  http://webpages.charter.net/edreamleo/front.html
Forum:http://groups.google.com/group/leo-editor
Download: http://sourceforge.net/projects/leo/files/
Bzr:  http://code.launchpad.net/leo-editor/
Quotes:   http://webpages.charter.net/edreamleo/testimonials.html

Edward K. Ream
--
Edward K. Ream email: edream...@gmail.com
Leo: http://webpages.charter.net/edreamleo/front.html
--
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/