Pydev 1.3.24 Released

2008-10-27 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.24 have been released

This is a high-priority release to fix some blocker bugs (that's why
it was released in such a short time from the last release)

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

Code-analysis: Import was not recognized on code-analysis on some specific cases

Release Highlights in Pydev:
--

* Code-completion: when a relative import was used from __init__ and
the imported module used a token from the __init__ in a 'full' way,
pydev did not recognize it
* Debugger: Fixed debugger halting problem
* Debugger and Jython: Debugger working with Jython (itertools and pid
not available)



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

Aptana
http://aptana.com/python

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list


Pydev 1.3.23 Released

2008-10-26 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.23 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code-analysis: Fixed condition that could make code-analysis get
into a halt depending on the code structure
* Remote Debugger: Can properly debug multiple processes concurrently
* Remote Debugger: Makes the proper setup of breakpoints when
pydevd.settrace is called with suspend=False


Release Highlights in Pydev:
--

* Can cancel scanning of files (Radim Kubacki)
* Detection of symlink cycles inside of the pythonpath structure
(could enter in a loop) (Radim Kubacki)
* Removed log message if log is not enabled
* .pyc remover not giving error anymore
* Fixed code-completion bug when importing token with the same name of
module where it's declared (datetime.datetime)
* Assign with tuple not being correctly handled in the type-inference engine
* Nature no longer initialized by shutdown
* Code-completion works when inner method is declared without self
* __all__: when imported no longer filters out the builtins from the
current module on a wild import
* Fixed problem in update site and Eclipse 3.4 (after installed could
prevent other plugins from being installed -- compatibility problem on
eclipse 3.4 and old versions of Pydev)



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

Aptana
http://aptana.com/python

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.3.23 Released

2008-10-26 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.23 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code-analysis: Fixed condition that could make code-analysis get
into a halt depending on the code structure
* Remote Debugger: Can properly debug multiple processes concurrently
* Remote Debugger: Makes the proper setup of breakpoints when
pydevd.settrace is called with suspend=False


Release Highlights in Pydev:
--

* Can cancel scanning of files (Radim Kubacki)
* Detection of symlink cycles inside of the pythonpath structure
(could enter in a loop) (Radim Kubacki)
* Removed log message if log is not enabled
* .pyc remover not giving error anymore
* Fixed code-completion bug when importing token with the same name of
module where it's declared (datetime.datetime)
* Assign with tuple not being correctly handled in the type-inference engine
* Nature no longer initialized by shutdown
* Code-completion works when inner method is declared without self
* __all__: when imported no longer filters out the builtins from the
current module on a wild import
* Fixed problem in update site and Eclipse 3.4 (after installed could
prevent other plugins from being installed -- compatibility problem on
eclipse 3.4 and old versions of Pydev)



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

Aptana
http://aptana.com/python

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list


Re: IDE Question

2008-10-18 Thread Fabio Zadrozny
 Isn't Eclipse kind of project oriented? I.e. not suited for opening a
 single file, anywhere, and viewing/editing it.  I get the impression
 that it prefers to have some project or workspace file which
 groups a set of files and contains configuration, build rules and so
 on.  The guy three postings up suggested a general-purpose text editor.

Yes, it prefers to have a project or workspace (which really helps you
navigating through the source, so, it's one thing I usually see as
positive, not negative). Still, you can use it to edit files outside
of its workspace -- that's supported on Pydev -- but it looses some of
those features (which are not usually available on regular editors
anyway, so, that'd probably be ok if comparing with an editor, not an
IDE)

 (As a side note: I don't use Eclipse myself, but I have seen novice
 programmers editing Python code with it, and what saw wasn't
 impressive. They *did* some kind of Python plugin installed, but
 were sitting there pressing SPACE to indent every line manually.)

Not sure which plugin they had, but I'm pretty positive that if they
had Pydev installed they'd have auto-indent without any problems (I
can assure you that auto-indent is a feature that received a lot of
attention in Pydev).

Cheers,

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


Re: IDE Question

2008-10-17 Thread Fabio Zadrozny
 Although PyDev
 looked promissing and the main annoyances from the first try (like an
 intelisense that needed half a minute) had been solved, I was still
 missing some things, like a realy good integration of the python shell
 into it.

That's been done:
http://pydev.sourceforge.net/console.html
http://fabioz.com/pydev/manual_adv_interactive_console.html

Cheers,

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


Re: IDE Question

2008-10-15 Thread Fabio Zadrozny
 I am just wondering what seems to be the most popular IDE. The reason
 I ask is I am currently at war with myself when it comes to IDE's. It
 seems like every one I find and try out has something in it that
 others don't and viceversa. I am in search for the perfect IDE and
 after many months of searching, I always come back to IDLE to do what
 I need to do. I want to use Komodo badly but the one issue I have with
 that is sometimes the auto-complete works and other times it doesn't.
 Even if I carbon copy a script.


Sorry, but the perfect IDE of choice is a way too subjective thing to
have only one answer. Take a look at
http://wiki.python.org/moin/IntegratedDevelopmentEnvironments and take
your own conclusions...

Cheers,

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


Re: IDE Question

2008-10-15 Thread Fabio Zadrozny
 I would personally recommend that you take the time to learn your way
 around a powerful text editor such as emacs or vim (I use emacs,
 myself), however that may not fit well with your personal editing
 tastes, and the learning curve is a bit steep. The editing tastes
 problem can be solved once you learn your way around a powerful text
 editor (emacs, for instance, is practically infinitely customizable),
 and the power you get from using them is amazing.

Now, following that route, many people call Eclipse is the 21st
century Emacs... ;-)

Interesting link related to that:
http://blogs.nuxeo.com/sections/blogs/julien_anguenot/2006_09_15_switching-from-emacs-to-pydev

Cheers,

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


Re: IDE Question

2008-10-15 Thread Fabio Zadrozny
 Now, following that route, many people call Eclipse is the 21st
 century Emacs... ;-)


 I don't want to kick off an editor war or anything, but I don't think
 that Eclipse is anywhere near being a 21st century emacs,

Peace! I'm far from starting any war too (I don't usually try to
convince anyone about choosing a tool, as I believe that there's no
such thing as the correct choice there, only different points of view
and experiences -- the right thing is trying for yourself and deciding
what you like better -- but at least I'm going to answer to some of
your comments to try to be informative here).

 unless
 there's been a whole lot of progress with it since the last time I
 used it. With emacs, I can have multiple files open in one window,
 with the window split (I don't remember eclipse being able to do this,
 although it allowed multiple files in their own tabs),

You should be able to have it having multiple views for the same
file: although it does that by doing a new editor, and then you can
place that new editor as you want -- below some existing, to the
right, etc -- or you can use an external plugin for something more
closer to what emacs has:
http://wiki.eclipse.org/Implement_Split_File_Editor_Functionality_for_the_Eclipse_IDE
-- note: I don't personally use that -- usually I try to keep the
modules small ;-)

 and I can
 customize the actions of the editor on the fly, without restarting it,
 in a variant of LISP. That may be possible in Eclipse, I don't really
 know.

Depends on what you want:
http://fabioz.com/pydev/manual_articles_scripting.html (but that's
just one of lots of ways to customize it)

 I used to use Eclipse and pydev, but once I learned my way around
 emacs, I haven't gone back to it for anything. I probably would if I
 did any coding in Java - but I don't. I'm exponentially more
 productive with emacs while writing python code than I ever was with
 Eclipse.

I must say that I'm totally the other way around... even being
productive in emacs, there's really no comparison there for me
(disclaimer: I'm the author of Pydev, so, that's expected, but I know
many people that changed to it and say the same thing)

 Add to that the degree to which emacs is customizable (just about
 everything that the editor does can be customized, you can jump
 quickly to the source of the functions you're running while editing,
 you can easily patch behavior in before or after specific function
 calls, you can easily define keyboard macros and bind them to
 keystrokes, and / or save them for future use, you can easily create
 keystrokes that correspond to interactive filling out of templates -
 skeletons, etc), and I really don't see how someone could think that
 Eclipse is anywhere near being a replacement for emacs.

The one thing I miss in Eclipse (for which I use notepad++) is the
macros, but that's about it... Everything else is highly customizable
for me in Eclipse / Pydev... everything else is there (templates,
keybindings, jumping through code: going fast to any file/definition
you want in your project, hyperlinking in console, etc)

Also, I don't think outside of Eclipse there's anything close to what
Mylyn gives you in terms of knowing what code is really important when
working on a task ( http://www.eclipse.org/mylyn/ ).

 Not to mention that I don't need to have X installed to run emacs if I
 don't need it.

 I may be wrong about the capabilities of Eclipse, as I haven't used it
 in about a year, and emacs certainly has it's own set of quirks and
 annoyances - one of which being the very steep learning curve.

Eclipse also has that -- And I'm pretty sure that the more you use a
tool the more you get productive in it.

 Watching the screencasts linked in the blog post you linked to, I
 might prefer Eclipse to emacs if I wasn't very used to never touching
 a mouse, or if I was developing under windows. With my editing mindset
 the way it is right now, when I see that, I just see a lot of wasted
 screen space, and a lot of wasted time doing things like intellisense.
 Also, the blog post didn't really give any reasons as to _why_ the
 person switched over, other than that they were impressed with
 Eclipse.

I (almost) never do touch my mouse inside eclipse too ;-)

And yes, it's very subjective.

 Meh, I'm not talking trash on Eclipse - it's a fine tool if it fits
 how you work with text / code. It's just not for me, and I would feel
 crippled while using it if I switched back to it. I used IDEs like
 that for a few years, but after about a month and a half of using
 emacs, I haven't looked back. I even use it as my IRC client when I
 jump on IRC.

Yeap, having lots of plugins is something both emacs and eclipse have
-- and until now, living within Eclipse has been a pleasant journey to
me ;-)

Also, as I said in the other post, choosing where you'll develop it's
a highly subjective thing, so, the right thing to do is look the
options, try them and decide for yourself.

 I do think that 

Pydev 1.3.22 Released

2008-10-02 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.22 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code-analysis: Option to analyze only active editor
* Code-analysis: works on case where imported module has same name of builtin.


Release Highlights in Pydev:
--

* Debugger: Pythonpath is the same in debug and regular modes
(sys.path[0] is the same directory as the file run)
* Debugger: Choices for paths not found are persisted
* Code-completion: If __all__ is defined with runtime elements (and
not only in a single assign statement), it's ignored for
code-completion purposes
* Code-completion: Works on case where imported module has same name of builtin
* Editor: Cursor settings no longer overridden
* Interpreter config: email automatically added to the forced builtins
* Parser: Correctly recognizing absolute import with 3 or more levels
* Syntax check: Option analyze only active editor
* getpass.getpass: No longer halts when run from pydev (but will show
the password being written)
* Remove error markers: Context menu in folders to remove error markers created


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list


Pydev 1.3.20 Released

2008-08-22 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.20 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code Analysis: Show error if using token not defined in __all__ in wild
import.
* Search: Working with eclipse 3.4.


Release Highlights in Pydev:
--

* Pydev Package Explorer: Editor-link does not remove focus from current
editor if it's already a match (bug when compare editor was opened)
* Pydev debugger: Showing set and frozenset contents
* Pydev debugger: Watch working in eclipse 3.4
* Pydev debugger: Breakpoint properties accept new lines and tabs
* Pydev debugger: Workaround for python bug when filenames don't have
absolute paths correctly generated
* Pydev code-completion: Wild import will only show tokens defined in
__all__ (if it's available)
* Interactive console: Fixed problem when more attempts to connect were
needed
* Interactive console: Fixed console integration problem with other plugins
because of interfaces not properly implemented
* Incremental find: Backspace works correctly
* Launch icons: Transparent background (thanks to Radim Kubacki)
* Code Formatter: Exponentials handled correctly
* Launching: Unit-test and code-coverage may launch multiple folders/files
at once
* Code coverage: Number format exception no longer given when trying to show
lines not executed in the editor and all lines are executed
* Auto-indent: Fixed issue when using tabs which could result in spaces
being added



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list

[issue3494] [Errno 11] Resource temporarily unavailable while using tracing facility/threads (in linux listdir with unicode path)

2008-08-18 Thread Fabio Zadrozny

Fabio Zadrozny [EMAIL PROTECTED] added the comment:

I've pasted the output below... also, the trace function is called for
each function call after the settrace (not only in interpreter shutdown)
-- and the error happens in the listdir -- which is in the main thread,
so, it must happen before the interpreter shutdown.

Also, one thing: it works if you read an empty folder... And putting:
print frame.f_code.co_filename, frame.f_lineno in the 'func', it'll go
on and print
/usr/lib/python2.4/encodings/utf_8.py 15
/usr/lib/python2.4/encodings/utf_8.py 16
/usr/lib/python2.4/encodings/utf_8.py 16

For each file/dir available (so, it seems it's actually able to go on
and get all the contents, but before returning, that exception is thrown)

Output from running it:

-


/usr/bin/python
Traceback (most recent call last):
  File /home/fabioz/test workspace with spaces/test
project/src/mod1/mod2/listdir_problem.py, line 23, in ?
print listdir(dir)
OSError: [Errno 11] Resource temporarily unavailable: '/home/fabioz/jython'

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3494
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3494] [Errno 11] Resource temporarily unavailable while using tracing facility/threads (in linux listdir with unicode path)

2008-08-18 Thread Fabio Zadrozny

Fabio Zadrozny [EMAIL PROTECTED] added the comment:

Thanks for looking into this... 

Unfortunately, I'm not sure I can use the workaround of the int('0'), as
this could fix the debugger, but if the code that's being debugged
spawned other threads (which is pretty common), it would be pointless,
but at least clients that really want this can get that fix and apply it
to their python versions...

And I think that setting the errno to 0 in the debugger every time would
make other things misbehave, as in each python call it'd clear it (or
not? I'm not really aware of the implications of doing so -- but if no
one used it, it wouldn't be there, right?)

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3494
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: Looking out a module for Subversion

2008-08-13 Thread Fabio Zadrozny

 I've installed Ulipad and must say it is a small nice tool. Thanks
 I also want to give eclipse a try. I referred eclispe web site for this and
 it does not mention what basic things need installation before you use the
 Dynamic Language Toolkit. So, my question is : what combination of
 packages are required for using eclipse as an IDE for python?



Download eclipse 3.3 from
http://download.eclipse.org/eclipse/downloads/drops/R-3.3.2-200802211800/index.php(you
can download only the Platform Runtime Binary in that link) and then
follow the instructions to install Pydev at
http://fabioz.com/pydev/manual_101_install.html

Cheers,

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

Re: Looking out a module for Subversion

2008-08-12 Thread Fabio Zadrozny
On Tue, Aug 12, 2008 at 6:50 AM, Patrol Sun [EMAIL PROTECTED] wrote:

 Eclipse with PyDev extension cannot debug. Ulipad is able to debug,but it
 needs wxpython to support.


That's not really correct... Pydev should be able to debug (there's a video
at http://showmedo.com/videos/video?name=PydevEclipseFabiofromSeriesID=8which
goes from configuring Pydev to debugging source code) and Pydev
Extensions can be used for remote debugging (
http://fabioz.com/pydev/manual_adv_remote_debugger.html )

Cheers,

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

[issue3494] [Errno 11] Resource temporarily unavailable while using tracing facility/threads (in linux listdir with unicode path)

2008-08-02 Thread Fabio Zadrozny

New submission from Fabio Zadrozny [EMAIL PROTECTED]:

A bug has been reported against pydev complaining about os.listdir()
failing while debugging (with a unicode path).

The link for that is:
http://sourceforge.net/tracker/index.php?func=detailaid=2012138group_id=85796atid=577329

After trying to find its cause, it appears that pydev is exercising a
python bug (which is reproduced in the file attached). I have no idea
why that's happening. 

I've reproduced it in python 2.4 and python 2.5 under ubuntu 6.10, but I
believe it happens on other versions too -- the original bug was
reported in Ubuntu 8.04 AMD64 Hardy Heron)

--
components: Interpreter Core, Library (Lib)
files: listdir_problem.py
messages: 70638
nosy: fabioz
severity: normal
status: open
title: [Errno 11] Resource temporarily unavailable while using tracing 
facility/threads (in linux listdir with unicode path)
type: crash
versions: Python 2.4, Python 2.5
Added file: http://bugs.python.org/file11039/listdir_problem.py

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3494
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Pydev 1.3.19 Released

2008-08-01 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.19 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code Analysis: Not all unused imports are shown in the message anymore
(could give problems saving workspace).
* Code Analysis: Fixed problem on double cycle in list comprehension.
* Interpreter config: The initial parse of the modules is much faster.


Release Highlights in Pydev:
--

Pydev 1.3.19

Release highlights
--

* Eclipse 3.2: Interactive console working
* Eclipse 3.4: Hyperlinks working
* Eclipse 3.4: Move / rename working
* raw_input() and input(): functions are now changed when a program is
launched from eclipse to consider a trailing '\r'
* Ctr+/: Changed to toggle comment (instead of only comment) -- patch from
Christoph Pickl
* Pydev package explorer: Link working with compare editor
* Auto-indent: Fixed problem when smart indent was turned off
* Debugger: Better inspection of internal variables for dict, list, tuple,
set and frozenset
* Console: When a parenthesis is entered, the text to the end of the line is
no longer deleted
* Code Formatter: can deal with operators (+, -, *, etc)
* Code Formatter: can handle '=' differently inside function calls / keyword
args
* Problem while navigating pydev package explorer fixed
* Race condition fixed in PythonNatureStore/PythonNature (thanks to Radim
Kubacki)
* Halt fixed while having multiple editors with the same file (with the
spell service on)
* Pythonpath is no longer lost on closed/imported projects
* Applying a template uses the correct line delimiter
* NPE fixed when creating editor with no interpreter configured
* Hyperlink works in the same way that F3 (saves file before search)



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list

Re: Autocompletion and Interactive Tables in a Python IDE

2008-07-27 Thread Fabio Zadrozny
 a) Intellisense (tells you what classes/methods are available and what
 variables go into a function)
 b) Code Completion (guesses your code after four letters)
 c) Data-Orientation; multiple data sessions can be open, data can be
 viewed easily

 Python's IDLE has only half of the first of these features.  I did a
 lot of searching and found the PyDev extensions for Eclipse's Python
 IDE, and found that they've got Intellisense.  I'm still missing b and
 c, and am getting extremely frustrated programming so slowly..


Hi Anthony,

Actually, Pydev (both open source and Pydev Extensions) provide 'a' and 'b'
-- if it's not showing to you, it may be that the pythonpath is not
correctly configured (see http://fabioz.com/pydev/manual_101_root.html for
instructions on how to configure it). As for 'c', I'm sure there's more than
one plugin that can give that to you within Eclipse (search google for
eclipse database plugins) -- I haven't used any of those, so, I can't really
comment on them.

Cheers,

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

Re: pydev and psycopg2 - weird behaviour

2008-07-05 Thread Fabio Zadrozny
Hi Ross,

Usually that happens when some module contains too much runtime information
and the static analysis cannot get it... You can probably fix that by adding
'psycopg2' to the list of builtin modules... See
http://fabioz.com/pydev/manual_101_interpreter.html for information on how
to configure that (look for forced builtins).

Cheers,

Fabio

On 7/4/08, RossGK [EMAIL PROTECTED] wrote:


 I've been using pydev for a short while successfully, and Django with
 postgresql as well.  psycopg2 is part of that behind the scenes I would
 imagine, to make django work.

 Now I'm trying to use psycopg2 in a non-Django program, I'm seeing some
 weird behaviour

 My import psycopg2 is tagged in pyDev (eclipse) as Unresolved Import:
 psycopg2

 But when I run my code anyway, I seem to connect to the postgresql DB okay.
  If I remove the import, and try it, it fails.

 So it seems to use it, but thinks it's unresolved.  Any idea what's going
 on there?

 Just to be sure it's installed right, I reinstalled with no change. I also
 opened a python shell (cmd window in winXP environment) and on the command
 line issued a psycopg2 connect request which succeeds as well. So it mostly
 seems to be an erroneous report from pydev that it can't resolve psycopg2
 when it apparently can?

 Your input appreciated...

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

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

Pydev 1.3.18 Released

2008-06-19 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.18 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Auto-import: Groups imports when possible.
* Auto-import: Doesn't bring imports for completions already in the
document even if a parse is not successful.
* Organize Imports (ctrl+shift+O): Suggests imports to the undefined
tokens in the editor.
* Import quick-fix: Icons correspondent to the element being imported.


Release Highlights in Pydev:
--

* Executing external programs: Using Runtime.exec(String[] cmdargs)
instead of a string with the generated command (fixes problems
regarding having spaces in the installation).
* Organize Imports (ctrl+shift+O): Imports can be grouped.
* Cygwin: sys.executable in cygwin was not returning '.exe' in the end
of the executable as it should.
* Additional paths for PYTHONPATH (Patch from Eric Wittmann):
extension point allows plugins to contribute paths to the PYTHONPATH.
* Code-completion: typing '.' won't apply the selected completion, but
will still request a new one with the current contents.
* Pydev Package Explorer: Problem while trying to show active editor
on the pydev package explorer.


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.3.18 Released

2008-06-19 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.18 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Auto-import: Groups imports when possible.
* Auto-import: Doesn't bring imports for completions already in the
document even if a parse is not successful.
* Organize Imports (ctrl+shift+O): Suggests imports to the undefined
tokens in the editor.
* Import quick-fix: Icons correspondent to the element being imported.


Release Highlights in Pydev:
--

* Executing external programs: Using Runtime.exec(String[] cmdargs)
instead of a string with the generated command (fixes problems
regarding having spaces in the installation).
* Organize Imports (ctrl+shift+O): Imports can be grouped.
* Cygwin: sys.executable in cygwin was not returning '.exe' in the end
of the executable as it should.
* Additional paths for PYTHONPATH (Patch from Eric Wittmann):
extension point allows plugins to contribute paths to the PYTHONPATH.
* Code-completion: typing '.' won't apply the selected completion, but
will still request a new one with the current contents.
* Pydev Package Explorer: Problem while trying to show active editor
on the pydev package explorer.


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list


Pydev 1.3.17 Released

2008-05-13 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.17 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Minor bug-fixes

Release Highlights in Pydev:
--

* Pydev Package Explorer: projects that had the project folder in the
pythonpath did not show children items correctly.
* Debugger: Disable all works. Patch from: Oldrich Jedlicka
* Debugger: Problem when making a step return / step over
* Code-completion: Working for attributes found in a superclass
imported with a relative import
  Patches from Felix Schwarz:
  o Allow to configure an interpreter even if the workspace path
name contains spaces
  o Completion server does not work when the eclipse directory
contains spaces
  o Fix deletion of resources in pydev package explorer for Eclipse 3.4



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.3.17 Released

2008-05-12 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.17 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Minor bug-fixes

Release Highlights in Pydev:
--

* Pydev Package Explorer: projects that had the project folder in the
pythonpath did not show children items correctly.
* Debugger: Disable all works. Patch from: Oldrich Jedlicka
* Debugger: Problem when making a step return / step over
* Code-completion: Working for attributes found in a superclass
imported with a relative import
  Patches from Felix Schwarz:
  o Allow to configure an interpreter even if the workspace path
name contains spaces
  o Completion server does not work when the eclipse directory
contains spaces
  o Fix deletion of resources in pydev package explorer for Eclipse 3.4



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list


Pydev 1.3.16 Released

2008-05-07 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.16 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code Analysis: __path__ Not correctly found on some situations.
* Local rename (ctrl+2+r): Positions correctly ordered for tabbing.


Release Highlights in Pydev:
--

* Interactive console: help() works
* Interactive console: context information showing in completions
* Interactive console: backspace will also delete the selected text
* Interactive console: ESC does not close the console when in floating
mode anymore
* Code completion: calltips context info correctly made 'bold'
* Code completion: variables starting with '_' do not come in import *
* Code completion: can be requested for external files (containing system info)
* Code completion: fixed recursion condition
* Code completion: egg file distributed with dll that has a source
module with the same name only with a __bootstrap__ method now loads
the dll instead of the source module (e.g.: numpy egg)
* Debugger: Step over/Step return can now execute with untraced frames
(much faster)
* Debugger: Problem when handling thread that had no context traced
and was directly removed.
* Launching: F9 will reuse an existing launch instead of creating a
new one every time
* Launching: The default launch with Ctrl+F11 will not ask again for
the launch associated with a file (for new launches -- old launches
should be deleted)
* Project Explorer: fixed integration problems with CDT (and others)
* Launch: console encoding passed as environment variable (no longer
written to the install location)
* More templates for surround with (Ctrl+1)
* Previous/next method could match 'class' and 'def' on invalid location
* Outline: Assign with multiple targets is recognized
* Bug fix for pydev package explorer when refreshed element parent was null



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.3.16 Released

2008-05-07 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.16 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code Analysis: __path__ Not correctly found on some situations.
* Local rename (ctrl+2+r): Positions correctly ordered for tabbing.


Release Highlights in Pydev:
--

* Interactive console: help() works
* Interactive console: context information showing in completions
* Interactive console: backspace will also delete the selected text
* Interactive console: ESC does not close the console when in floating
mode anymore
* Code completion: calltips context info correctly made 'bold'
* Code completion: variables starting with '_' do not come in import *
* Code completion: can be requested for external files (containing system info)
* Code completion: fixed recursion condition
* Code completion: egg file distributed with dll that has a source
module with the same name only with a __bootstrap__ method now loads
the dll instead of the source module (e.g.: numpy egg)
* Debugger: Step over/Step return can now execute with untraced frames
(much faster)
* Debugger: Problem when handling thread that had no context traced
and was directly removed.
* Launching: F9 will reuse an existing launch instead of creating a
new one every time
* Launching: The default launch with Ctrl+F11 will not ask again for
the launch associated with a file (for new launches -- old launches
should be deleted)
* Project Explorer: fixed integration problems with CDT (and others)
* Launch: console encoding passed as environment variable (no longer
written to the install location)
* More templates for surround with (Ctrl+1)
* Previous/next method could match 'class' and 'def' on invalid location
* Outline: Assign with multiple targets is recognized
* Bug fix for pydev package explorer when refreshed element parent was null



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list


Pydev 1.3.15 Released

2008-04-09 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.15 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Globals Browser: Was not correctly showing definition on a case with
multiple projects when one did not have the python nature configured.
* Code Analysis: False positive: Classes defined within a class
context are correctly found when later accessed in the parent context.
* Interactive console integration
  o Context insensitive completions with auto-import in console
  o Ctrl+Alt+Enter: can be used to:
+ Create console if no console exists
+ Send selected text to console
+ Make execfile for current file if there's no selected text


Release Highlights in Pydev:
--

* Files without extension: If a file that does not have an extension
is found in the root of the pythonpath, code-completion and
breakpoints work with it.
* Extract method: comma not removed when found after a tuple and
before a keyword argument.
* Console Encoding: print u\xF6 works (console encoding correctly
customized in python -- see
http://sourceforge.net/tracker/index.php?func=detailaid=1580766group_id=85796atid=577329
for details).
* Debugger: Context of breakpoint correctly defined when comments are
present in the end of the module.
* from __future__ import (xxx, with_statement): works.
* Interactive Console View, featuring:
  o Code Completion
+ Context sensitive with shell completions
+ Qualifier matches as case insensitive
+ Templates
+ Repeating the activation changes from templates to
default completions
  o Console Configurations
+ Initial commands for starting the console
+ Colors for the console
+ Vmargs can be specified for jython
  o Auto-indent
  o Auto-edits
  o Context info on hover
  o Up / Down Arrows cycles through the history (and uses the
current text to match for the start of the history command)
  o Page Up: shows dialog with console history (where lines to be
re-executed can be selected)
  o Esc: clears current line
  o ctrl+1 works for assign quick-assist
  o Hyperlinks addedd to tracebacks in the console
  o Paste added directly to the command line
  o Cut will only cut from the command line
  o Copy does not get the prompt chars
  o Home goes to: first text char / prompt end / line start (and
cycles again)
  o Cursor automatically moved to command line on key events
  o Multiple views of the same console can be created
  o Limitation: Output is not asynchonous (stdout and stderr are
only shown after a new command is sent to the console)



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Pydev shell (was: Re: Stani's python ide 'spe' editor problem)

2008-04-09 Thread Fabio Zadrozny
  Anyway, I am extremely frustrated. I've tried other ide's: pythonwin (I
  found it inadequate for my purposes - why is a command line prompt
  displayed in a dialog window?) - eclipse (editor is just ok, shell does
  not have command history(!), and then *really* funky things started
  happening that I could not explain and so had to stop using it) - idle
  is good for small things and ok for larger projects but limited in general.

Hi Rick,

The new release has an actual console shell (with code-completion,
history, etc: see http://pydev.sourceforge.net/ for more details).
Aside from that, which 'funky' things started happening?

Cheers,

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


Re: *.py source file surprisingly deleted with Pydev/Eclipse. Who else experienced this ?

2008-04-04 Thread Fabio Zadrozny
Hi Nebur,

Are you using svn? I did have a problem once related to that (but it's
more related to the svn plugin than to pydev)... I think that for some
reason the undo seems to be mapped to a creation of a file that came
from svn (I don't remember exactly how to reproduce it, but I do
remember it was associated only with svn -- cvs didn't have that
problem -- but it was something like trying to make undo on a file
that didn't have anything changed and then it would go to the svn and
remove another file).

Cheers,

Fabio

On Fri, Apr 4, 2008 at 12:38 PM, Nebur [EMAIL PROTECTED] wrote:
 Hi folks developing with Pydev/Eclipse,

  this is the second time in about half a year that the following
  surprise bites me:

  I've switched between some files in Pydev/Eclipse using the
  FileNavigator, and when I want to go back to my last-edited *.py file,
  it is missing.
  No more in the FileNavigator, no more in the OpenFiles-List of the
  Editor. Removed anywhere. Erased from the file system. Restorable from
  the version control only.
  Only a young orphan *.pyc file is sitting around, showing me I haven't
  dreamed of editing the file two minutes before.
  I'm sure I did no delete operations with eclipse, and I'm sure I did
  not use another application than eclipse in the meantime.

  No, I can't reproduce it, and I don't know whom to blame (Pydev?
  Eclipse ? The File System ? A Virus that only 2 times in half a year
  deletes a single file I'm busy working with, and seems to do nothing
  else? Myself beeing schizophrenic ??)

  Someone else already had this effect ?
   Nebur


  PS: Debian Etch 64Bit/JFS,Eclipse3.3,Pydev1.3.14.
  --
  http://mail.python.org/mailman/listinfo/python-list

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


Re: *.py source file surprisingly deleted with Pydev/Eclipse. Who else experienced this ?

2008-04-04 Thread Fabio Zadrozny
On Fri, Apr 4, 2008 at 5:05 PM, Nebur [EMAIL PROTECTED] wrote:
 Yes. Linux viruses are rare but useful :-)
  Well, I don't think the problem a very dangerous one. The Pydev/
  Eclipse was used for much more than a year nearly daily and
  intensively. The strange effect is very rare,obviously (plus the
  chance that it's in my brain, as I mentioned ;-D ) so you probably can
  lean back. Anyway, I'd be glad to get an even faint idea of the
  problem.

Hi Nebur,

Well, I have absolutely no idea of what could trigger that either :(

So, just wanted to point out that eclipse saves your file history
(even if you do not have a vcs)...  that operation can be selected by
right clicking a parent folder and selecting 'restore from local
history'.

Cheers,

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


Pydev 1.3.14 Released

2008-03-06 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.14 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Local renames: scoping issues.
* Local renames: comments/strings only renamed in local scope for
local variable.
* False positive: undefined variable: a base-class could be flagged as
undefined if used in a method scope.
* Remote Debugger: easier way to specify path translations between a
remote machine and a local machine (constant must be set in
org.python.pydev.debug/pysrc/pydevd_file_utils.py -- see comments on
module) .


Release Highlights in Pydev:
--

* Outline view: patch by Laurent Dore: better icons for different
types of fields methods.
* Outline view: patch by Laurent Dore: more filters.
* PyLint: working dir is the directory of the analyzed file.
* Project explorer: fixed bug on integration with Dynamic Web Project.
* Extract method: fixed bug when trying to refactor structure: a = b = xxx.
* Generate constructor using fields: working for classes that derive
from builtin classes.
* Override methods: working for classes that derive from builtin classes.
* Debugger can use psyco for speedups: see
http://pydev.blogspot.com/2008/02/pydev-debugger-and-psyco-speedups.html.
* Debugger: shows parent frame when stepping in a return event.
* Go to previous/next method: (Ctrl+Shift+Up/Down): does not rely on
having a correct parse anymore.
* Auto-formatting: No space after comma if next char is new line.
* Code Completion: Handling completions from attribute access in
classes (accessed from outside of the class).
* Auto-indent: Better handling when indenting to next tab position
within the code.
* Caches: Some places were recreating the cache used during a
completion request instead of using the available one (which could
have a memory impact on some situations).



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Pydev/Eclipse: How to add filters for the navigator ?

2008-02-25 Thread Fabio Zadrozny
It's an eclipse bug in 3.3.1.1: see:
http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/msg28728.html
and the follow up:
http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/msg28733.html
(until then you can use the pydev package explorer / project
explorer).

Cheers,

Fabio

On Sun, Feb 24, 2008 at 9:42 AM, Nebur [EMAIL PROTECTED] wrote:
 Running the latest version of pydev (1.3.13).
  I failed to figure out how to add a filter that excludes stuff like
  *.pyc from the file navigator. The Filters... dialogue allows to
  Select All and Deselect All, but from an empty list :-(
  What's the trick ? Thanks ...
  --
  http://mail.python.org/mailman/listinfo/python-list

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


Pydev 1.3.13 Released

2008-02-04 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.13 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Debug Console: will print exceptions raised during the evaluation.
* Debug Console: will print the result of the evaluation if a valid
statement is sent (so, 'print' is not needed for simple evaluations
anymore).


Release Highlights in Pydev:
--

* Outline view: working correctly again.
* Keybinding conflict: Alt+shift+T+XXX refactoring keybindings are now
only defined in the pydev scope.
* Hyperlink: Using new hyperlink mechanism (added at Eclipse 3.3).


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.3.13 Released

2008-02-04 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.13 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Debug Console: will print exceptions raised during the evaluation.
* Debug Console: will print the result of the evaluation if a valid
statement is sent (so, 'print' is not needed for simple evaluations
anymore).


Release Highlights in Pydev:
--

* Outline view: working correctly again.
* Keybinding conflict: Alt+shift+T+XXX refactoring keybindings are now
only defined in the pydev scope.
* Hyperlink: Using new hyperlink mechanism (added at Eclipse 3.3).


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Pydev 1.3.12 Released

2008-01-29 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.12 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Mark occurrences: only requested on mouse-clicks and cursor changes.
* Code-Analysis: No longer running in UI-Thread (bug which slowed
things down in 1.3.10 and 1.3.11).
* Code-Analysis: Cache optimizations.
* Code-Analysis: Fixed 'statement without effect' when raising
exception with arguments without using the exception constructor.
* Code-Analysis: Fixed 'statement without effect' on tuple creation.
* Code-Analysis: __path__ found for packages (__init__.py files).
* Context-insensitive info: Correctly updated when code-analysis is
off (or if file is not analyzed).


Release Highlights in Pydev:
--

* Code Coverage: coverage.py updated to version 2.78
(http://nedbatchelder.com/code/modules/coverage.html).
* Optimization: Caches (with no memory overhead) added for a number of
situations, which can speed completion requests a lot (up to 40x on
tests).



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.3.12 Released

2008-01-29 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.12 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Mark occurrences: only requested on mouse-clicks and cursor changes.
* Code-Analysis: No longer running in UI-Thread (bug which slowed
things down in 1.3.10 and 1.3.11).
* Code-Analysis: Cache optimizations.
* Code-Analysis: Fixed 'statement without effect' when raising
exception with arguments without using the exception constructor.
* Code-Analysis: Fixed 'statement without effect' on tuple creation.
* Code-Analysis: __path__ found for packages (__init__.py files).
* Context-insensitive info: Correctly updated when code-analysis is
off (or if file is not analyzed).


Release Highlights in Pydev:
--

* Code Coverage: coverage.py updated to version 2.78
(http://nedbatchelder.com/code/modules/coverage.html).
* Optimization: Caches (with no memory overhead) added for a number of
situations, which can speed completion requests a lot (up to 40x on
tests).



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Pydev 1.3.11 Released

2008-01-14 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.11 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code-analysis: Doesn't report 'statement without effect' within yield.
* Code-analysis: @DynamicAttrs now works in direct class access (not
only on instance access from a class).
* Code-analysis: Names to consider in global do not trigger undefined
variables when they have some attribute access.
* Code-analysis: Accessing locals() will mark local variables as read.
* Code-analysis: No indentation warnings on multiline strings that use
double quotes.

Release Highlights in Pydev:
--

* Jython Integration: Java modules may be referenced from pydev
projects (working with code-completion, go to definition, etc).
* Jython Debugger: Does not attempt to run untraced threads if version
= 2.2.1 (this was a Jython bug that's patched for the current trunk
-- note: it prevented the debugger from working correctly with
Jython).
* Project build: Only referenced projects are rebuilt (and not all
projects in the workspace -- e.g.: unreferenced c++ projects).
* Spell checking (depends on JDT): Integrated for comments and strings
within pydev (eclipse 3.4 should add the support for working without
JDT. Reference:
http://www.eclipse.org/eclipse/platform-text/3.4/plan.php).
* Files without extension: A file without extension can have
code-completion / go to definition (as long as the others around it do
have extensions)
* Debug: Variable substitution is no longer asked twice in debug mode.
* Custom Filters: User-defined filters can be specified in the Pydev
package explorer.
* Debugger: performance improvements to get the existing frames for
Python 2.4 and Jython 2.1.
* Outline view: Better refresh (doesn't collapse the tree for simple
structure changes).
* Undo limit: The undo limit set in window  preferences  general 
editors  text editors works for pydev.
* Editor: Tabs as spaces: The newly added 'insert spaces for tabs' in
the general preferences was conflicting with pydev (those settings are
now ignored)
* Patch by Laurent Dore: Added filter for *.py~ and comments
* Delete *.pyc action: also deletes *.pyo files
* Ctrl+Click: behaves exactly as F3.
* Dedent: No auto-dedent after yield



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Eclipse/PyQt/Eric4 question

2007-12-19 Thread Fabio Zadrozny

 Hi -
 in fact, you can do pretty much everything you have to do with pydev
 in eclipse. Eclipse itself is very flexible, robust and intuitive.
 pydev may be a touch too nervous, but is very supportive. It has a few
 bugs, but none lethal. Only setback is that you have to pay a small
 licence fee. Since I don't have a credit card, i had to switch to
 eric4. Has more bugs, crashes more often and doesn't have as nice a
 look-and-feel as eclipse. Loading upgrades for eric is a little bit
 more complicated than in eclipse, which is extremely efficient.
 Overall, eric is good enough for hobby programming where time doesn't
 count as much (it's only your wife complaining, not your boss).


Actually, Pydev itself is open source: http://pydev.sourceforge.net/
-- You do have to pay for Pydev Extensions: http://fabioz.com/pydev/
but you can use Pydev by itself without any problems... (you can see
the difference between both at:
http://fabioz.com/pydev/manual_adv_features.html )

Cheers,

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


Re: Eclipse/PyQt/Eric4 question

2007-12-13 Thread Fabio Zadrozny
 In Eclipse, i have the luxury of double-click a .ui file and thus Qt
 Designer opens and then design my forms there, but i cannot fing an
 automatic way to accomplish the thing that eric4 does: e.x.
 automatically compile changed .ui files when i hit F9. And it really a
 loss of time to go to dos-prompt and do this manually.

 Has anyone who work on Eclipse/PyDev and PyQt, found a way to do
 this ??


You can create a builder for calling an external program to do that on
builds (right-click project - properties  Builders).

Another option is configuring an external program run -- menu: run 
external tools  open external tools dialog (and you can bind a
shortcut to rerun the last external tool launched).

Cheers,

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


Re: Eclipse/PyQt/Eric4 question

2007-12-13 Thread Fabio Zadrozny

 Hmmm...but this means that i am forced to do this for ALL .ui files on
 the project, either changed or not and this can slow things down...
 (pyuic.bat can run for one or for ALL .ui files)
 The goal is to find a way to automatically do this only for the
 changed ones, like eric does...

When you do a new builder, you can make it be run only when a file is
changed, and you can select as arguments only receiving the files
changed (build_files)... take a look at the variables to specify as
arguments (you could also select 'python.exe' as the external program
and choose some python script as argument + the files changed).

The auto-build can be specified at the build options tab.

Cheers,

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


Re: Looking for a good Python environment

2007-11-09 Thread Fabio Zadrozny
On 07 Nov 2007 08:50:49 -0800, Paul Rubin http://phr.cx@nospam.invalid
wrote:

 Colin J. Williams [EMAIL PROTECTED] writes:
  Could you elaborate on lightweight please? I find PyScripter to be a
  powerful editor/debugger combination.
 
  What functionality does Eclipse have that PyScripter does not?

 While we're at it, do any of these debuggers implement a good way to
 debug multi-threaded Python programs?


Pydev handles multi-threaded debugging.

Cheers,

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

Re: Looking for a good Python environment

2007-11-07 Thread Fabio Zadrozny
On 11/6/07, Jens [EMAIL PROTECTED] wrote:

 Just wrote a mini review of three Python code editors on my blog...

 http://pyminer.blogspot.com/2007/11/python-code-editors.html

 I use PSPad or Notepad++ for quick editing, and Komodo Edit 4.2 for
 longer sessions. Komodo Edit is the only one with code completion - a
 very nice feature. You can pay $299 and get Komodo Edit, which has a
 debugger.

 I've only used Eclipse for Java programming, but there's a Python plug-
 in called PyDev - just haven't figured out how to install it :-(


Have you checked: http://www.fabioz.com/pydev/manual_101_install.html ?
-- 
http://mail.python.org/mailman/listinfo/python-list

Pydev 1.3.10 Released

2007-11-05 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.10 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code-analysis: Doesn't report 'statement without effect' within list
comprehension.
* Context insensitive code completion: Shows contents of zips/eggs/jars
* Go to definition: Working with zips/eggs/jars.


Release Highlights in Pydev:
--

* Symlinks supported in the system pythonpath configuration.
* Egg/zip files are now supported.
* The creation of a project in a non-default location is now allowed within
the workspace
* JDT used to get completions from jars (but referencing other java projects
is still not supported).
* Configuration of pythonpath allows multiple selection for removal.
* Configuration of pythonpath allows multiple jars/zips to be added at once.
* When configuring the pythonpath, the paths are sorted for selection.
* The file extensions that pydev recognizes for python can now be
customized.
* Patch by Carl Robinson: Code-folding for elements such as for, try, while,
etc.
* Removed the go to next/previous problem annotation (Eclipse 3.3 already
provides a default implementation for it).


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.3.10 Released

2007-11-05 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.10 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code-analysis: Doesn't report 'statement without effect' within list
comprehension.
* Context insensitive code completion: Shows contents of zips/eggs/jars
* Go to definition: Working with zips/eggs/jars.


Release Highlights in Pydev:
--

* Symlinks supported in the system pythonpath configuration.
* Egg/zip files are now supported.
* The creation of a project in a non-default location is now allowed within
the workspace
* JDT used to get completions from jars (but referencing other java projects
is still not supported).
* Configuration of pythonpath allows multiple selection for removal.
* Configuration of pythonpath allows multiple jars/zips to be added at once.
* When configuring the pythonpath, the paths are sorted for selection.
* The file extensions that pydev recognizes for python can now be
customized.
* Patch by Carl Robinson: Code-folding for elements such as for, try, while,
etc.
* Removed the go to next/previous problem annotation (Eclipse 3.3 already
provides a default implementation for it).


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Eclipse3.3 with Pydev 1.3.10 Mylar problem, have Mylyn

2007-11-05 Thread Fabio Zadrozny
In the dialog where you select pydev (in the installation -- it'll appear in
the 5th screenshot at http://fabioz.com/pydev/manual_101_install.html), you
can expand it and uncheck mylyn...

I'll update the install instructions to better specify that...

Cheers,

Fabio

On 11/5/07, crybaby [EMAIL PROTECTED] wrote:

 Right now I am trying to install pydev 1.3.10 on Eclipse 3.3. I am
 getting an Mylar
 error org.eclipse.mylar (2.0.0.v20070403-1300) or something needed.
 Mylyn is mylar, now.

 How do you disable the mylar dependency, so that Mylyn is used by
 PyDev?

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

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

Re: Setting stdout encoding

2007-09-13 Thread Fabio Zadrozny

 But I don't think it's a good idea. Changing the default encoding will
 change it for *all* scripts, *all* users, *all* objects. And AFAIK you
 have trouble ONLY with sys.std* - one should fix those objects, not mess
 with a global configuration.


Makes sense... Do you think that creating a new object, setting it as
sys.stdout and overriding its write() method to check for a unicode string
to do original_stdout.write(unicode_str.encode(my_encoding)) would do it?
(the ctypes version is not really an option as it is not available on lots
of installs -- although I can try to use it if it's available, but it can't
be the only solution).

Thanks,

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

Re: Setting stdout encoding

2007-09-11 Thread Fabio Zadrozny

 You could place code like that on sitecustomize.py
 I think this should be fixed on Eclipse/pydev. If they replace sys.stdout
 with a different object - they should make sure it has the right behavior.
 Same for IDLE if it's broken too.


Thanks for the tip... I wasn't aware of sitecustomize.py (site.py does call
that just before removing setdefaultencoding() from sys, so I can still use
sys.setdefaultencoding)... actually, setencoding() from site.py does have
what I would like to execute:
if 0:
# Enable to support locale aware default string encodings.
import locale
loc = locale.getdefaultlocale()
if loc[1]:
encoding = loc[1]

I just don't get why the code has that if 0: instead of getting it from
some user-config (like env variable or parameters passed)...

Anyways, thanks a lot... I think I can arrange in providing a
sitecustomize.py from pydev with that structure.

Cheers,

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

Pydev 1.3.9 Released

2007-09-10 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.9 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code-analysis: detects bad indentation (wrong number of indent chars).
* Code-analysis: Class may be marked with '@DynamicAttrs' so that the
code-analysis doesn't give undefined variable errors. See
http://www.fabioz.com/pydev/manual_adv_code_analysis.html#Passing_info_to_code_analysisfor
more details.
* Mark-Occurrences: Fix: a class that had a call would not be recognized
sometimes.
* Rename Refactoring: Fix: when different heuristics yielded the same result
the text could become garbled.


Release Highlights in Pydev:
--

* Fixed problem when configuring jython
* Patch from paulj: debbugger working with jython 2.2rc2
* Patch from Oskar Heck: debbugger can change globals
* Added action to delete all .pyc / $py.class files
* Added actions to add/remove the pydev configuration from a project
(previously, the only way to add a nature was to open a python file within a
project).
* Ctrl+Shift+O: When used with a selection will consider lines ending with \
(without selection organizes imports)
* Auto-add import string will not be added when adding a space in the
case: from xxximport (just after from xxx)
* Templates created with tabs (or spaces indent) are now converted to the
indent being used in the editor
* Hide non-pydev projects filter working
* Don't show assignments/imports after if __name__ == '__main__': in outline
* Code-completion: after a completion is requested, pressing '.' will apply
that completion (and if it has parameters, they'll not be added).
* Code-completion: when a code-completion is applied with Ctrl pressed
(toggle mode), parameters are not added.
* Assign to local variable/attribute handles constants correctly.
* psyco changed for Null object for debug (so, no changes are required to
the code if psyco is used while debugging).
* Code-folding annotations won't change places.
* Pydev package explorer will correctly show outline for files if the
project root is set as a source folder.
* Pydev package explorer: folders under the pythonpath have a package icon.
* Unittest runner: handles multiple selection.


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.3.9 Released

2007-09-10 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.3.9 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code-analysis: detects bad indentation (wrong number of indent chars).
* Code-analysis: Class may be marked with '@DynamicAttrs' so that the
code-analysis doesn't give undefined variable errors. See
http://www.fabioz.com/pydev/manual_adv_code_analysis.html#Passing_info_to_code_analysisfor
more details.
* Mark-Occurrences: Fix: a class that had a call would not be recognized
sometimes.
* Rename Refactoring: Fix: when different heuristics yielded the same result
the text could become garbled.


Release Highlights in Pydev:
--

* Fixed problem when configuring jython
* Patch from paulj: debbugger working with jython 2.2rc2
* Patch from Oskar Heck: debbugger can change globals
* Added action to delete all .pyc / $py.class files
* Added actions to add/remove the pydev configuration from a project
(previously, the only way to add a nature was to open a python file within a
project).
* Ctrl+Shift+O: When used with a selection will consider lines ending with \
(without selection organizes imports)
* Auto-add import string will not be added when adding a space in the
case: from xxximport (just after from xxx)
* Templates created with tabs (or spaces indent) are now converted to the
indent being used in the editor
* Hide non-pydev projects filter working
* Don't show assignments/imports after if __name__ == '__main__': in outline
* Code-completion: after a completion is requested, pressing '.' will apply
that completion (and if it has parameters, they'll not be added).
* Code-completion: when a code-completion is applied with Ctrl pressed
(toggle mode), parameters are not added.
* Assign to local variable/attribute handles constants correctly.
* psyco changed for Null object for debug (so, no changes are required to
the code if psyco is used while debugging).
* Code-folding annotations won't change places.
* Pydev package explorer will correctly show outline for files if the
project root is set as a source folder.
* Pydev package explorer: folders under the pythonpath have a package icon.
* Unittest runner: handles multiple selection.


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Setting stdout encoding

2007-09-10 Thread Fabio Zadrozny


 Does someone know if there's a way to explicitly set the stdout/stderr/
 stdin
 encoding that python should use?

 The encoding can be set using the C API for file objects - from Python
 code, use ctypes:


Yeap, but that would leave me with the original problem: I need to run a
script to run the original script I want to run...(and not being compatible
with other python implementations). Isn't there any way to set that
externally (like environment variable, args to the interpreter or anything
else like that)?

Thanks,

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

Setting stdout encoding

2007-09-09 Thread Fabio Zadrozny
Hi,

Does someone know if there's a way to explicitly set the stdout/stderr/stdin
encoding that python should use?

What I'm trying to do is make python recognize that the Eclipse output
accepts a different encoding (such as utf-8, cp1252, etc). More details on
the problem can be found at:
http://sourceforge.net/tracker/index.php?func=detailaid=1580766group_id=85796atid=577329

The closest I could get to solving this was running a script that went on
and ran the script that should really be executed through the code below
(which I think is a lousy solution, but the only one I could see so far --
and I also have to keep different versions of that for jython, as in jython
that works without any workaround):

-- script giving error --
print uunicode char: \xF6

-- script I have to run to make it work
--
if __name__ == '__main__':
import sys
reload(sys) #without the reload setdefaultencoding is not accessible
sys.setdefaultencoding('cp1252')

#go on and make an execfile on the module we actually want to run (we
have to be careful not to mess up that namespace)



Thanks,

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

Re: Eclipse/PyDev question

2007-08-13 Thread Fabio Zadrozny
On 8/13/07, king kikapu [EMAIL PROTECTED] wrote:

 Hi,

 i am using Eclipse (Platform Runtime binary) with PyDev and i was
 wondering if someone can help me with this:

 1. I set breakpoints to a .py file and i have told Eclipse to open the
 Debug perspective when it sees that some .py file(s) of my project
 indeed contains breakpoints. So, i press F9,  Eclipse starts, Debug
 perspective opens and i can use the debugger just fine. But when the
 app terminates, how can i tell Eclipse to switch automatically to the
 PyDev perspective and not remain in the Debug one ?


There's no currently no automatic' way to do this (but you can use Ctrl+F8
to iterate your perspectives, Ctrl+F7 for your views and Ctrl+F6 for your
editors, so, it should be easy to go to wherever you want in the interface).

2. Let's say we have a project that consists of some .py files. I want
 to press F9 when the editor displays anyone of these files but make
 Eclipse to run the whole project (that has another .py as default)
 and not the script that i am currently working on, is that possible ??


You should do F9 in you current editor and then Ctrl+F11 to re-run the last
run -- so, if you have a main file that you just ran in your project, you
can probably just keep to Ctrl+F11 -- note that this behavior changed with
Eclipse 3.3, but you can restore it: window  preferences   run/debug 
launching  always launch the previously launched application.

Cheers,

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

Re: Eclipse/PyDev question

2007-08-13 Thread Fabio Zadrozny
On 8/13/07, king kikapu [EMAIL PROTECTED] wrote:

 Ah, i forgot another one:

 as any project evolves, you need to organize it in directories. So, i
 have a project named Dev and Eclipse has provided me (in Navigator)
 with Dev and Src. Inside Src i put my .py files. Let's say that i
 want to create a directory there (will i make it in Src or in Dev)
 to put other .py files. I tried adding a Folder, i also tried to add
 a Pydev Source Folder, either way i cannot refer to these files from
 a .py located in Src directory with the usual from folderA
 import...It does not understand the folder structure and i am pretty
 sure i am missing something obvious here...


You have to set as source folders the exact same folders you'd usually put
into your pythonpath (that's one level before the module you're going to
import). Details on how to do that can be found at:
http://fabioz.com/pydev/manual_101_root.html

Cheers,

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

Re: Eclipse/PyDev question.

2007-08-03 Thread Fabio Zadrozny
On 8/3/07, king kikapu [EMAIL PROTECTED] wrote:

 Hi,
 this is actually a question to those of us who use Eclipse and Pydev
 as their main Python developing environment. As i use Eclipse (3.3
 Europa) only for Python and i have nothing to do with Java, is there a
 way to disable/uninstall some Java-specific stuff and make the
 environment actually more snappy ??

 thanks for any help


You can actually just get the Eclipse 'runtime' distribution (without java
stuff) and install pydev with it (latest version -- previous versions had a
dependency on some java stuff). Reference:
http://pydev.blogspot.com/2007/06/pydev-and-jdt-sdk-not-required-anymore.html

Cheers,

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

Pydev 1.3.8 Released

2007-07-19 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.3.8 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code-analysis: Detects mixing of spaces and tabs.
* Code-analysis: Reimport not flagged when inside of try..except
ImportError.


Release Highlights in Pydev:
--

* Fixed problems related to the pydev package explorer that appeared when
using java 1.6 (ConcurrentModificationException)
* Other minor bug-fixes



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.3.8 Released

2007-07-18 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.3.8 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code-analysis: Detects mixing of spaces and tabs.
* Code-analysis: Reimport not flagged when inside of try..except
ImportError.


Release Highlights in Pydev:
--

* Fixed problems related to the pydev package explorer that appeared when
using java 1.6 (ConcurrentModificationException)
* Other minor bug-fixes



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Pydev 1.3.7 Released

2007-07-10 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.3.7 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights:
--

* Support for Eclipse 3.3
* Bug Fix: Interpreter modules not correctly set/persisted after specifying
interpreter (so, the builtins and other system libraries would not be
available in completions).
* Mylyn integration.
* Open With Pydev: does not appear for containers anymore.
* Code-completion:
 The folowing cases are now considered in code-completion to discover the
type of a variable:
 o Type/Interface checking: (note that 'assert' is required) assert
isinstance(obj, Interface) -- default from python
 o assert Interface.implementedBy(obj) -- zope
 o assert IsImplementation(obj, Interface) -- custom request
 o assert IsInterfaceDeclared(obj, Interface) -- custom request
 o Factory methods a = adapt(obj, Interface) -- pyprotocols
 o a = obj.GetAdapter(Interface) -- custom request
 o a = obj.get_adapter(Interface) -- custom request
 o a = GetSingleton(Interface) -- custom request
 o a = GetImplementation(Interface) -- custom request


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.3.7 Released

2007-07-09 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.3.7 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights:
--

* Support for Eclipse 3.3
* Bug Fix: Interpreter modules not correctly set/persisted after specifying
interpreter (so, the builtins and other system libraries would not be
available in completions).
* Mylyn integration.
* Open With Pydev: does not appear for containers anymore.
* Code-completion:
 The folowing cases are now considered in code-completion to discover the
type of a variable:
 o Type/Interface checking: (note that 'assert' is required) assert
isinstance(obj, Interface) -- default from python
 o assert Interface.implementedBy(obj) -- zope
 o assert IsImplementation(obj, Interface) -- custom request
 o assert IsInterfaceDeclared(obj, Interface) -- custom request
 o Factory methods a = adapt(obj, Interface) -- pyprotocols
 o a = obj.GetAdapter(Interface) -- custom request
 o a = obj.get_adapter(Interface) -- custom request
 o a = GetSingleton(Interface) -- custom request
 o a = GetImplementation(Interface) -- custom request


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Pydev 1.3.6 Released

2007-06-29 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.3.6 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Bug-Fixes

Release Highlights in Pydev:
--

* Bug Fix: Builtins were not correctly used after specifying interpreter
(so, the builtins would not be available in completions/code-analysis).
* Patch (from Carl Robinson): PyLint severities can now be specified.



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Pydev 1.3.5 Released

2007-06-22 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.3.5 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Auto-Import:
 o Import is now set in correct line even with multi-line imports.
 o Added option to disable the introduction of auto-imports.
 o Added option to remove modules that start with '_' from the imports
(so, tokens would have to be found in __init__.py files).
* Code Analysis: Having a list comprehension with a subscript was not being
treated correctly.
* Debugger: Working with jython.
* Debugger: Working with wxPython.


Release Highlights in Pydev:
--

* Eclipse 3.3 Integration: Does not keep eclipse from a correct shutdown
anymore.
* Docstrings and code completion pop-up:
 o The docstrings are now wrapped to the size of the pop-up window.
 o The initial columns with whitespaces that are common for all the
docstring is now removed.
 o The previous size of the pop-up window in completions is now
restored.
* Extract method refactoring: was not adding 'if' statement correctly on a
specific case.
* Organize imports: (Ctrl+Shift+O): comments are not erased in import lines
when using it anymore.
* Interpreter Config: solved a concurrency issue (which could issue an
exception when configuring the interpreter).
* Jython integration: can now work with a j9 vm.
* Jython integration: those that don't use jython can now use eclipse
without JDT (but it's still required for jython development).
* Outline:
 o The comments are now set in the correct level (below module, class
or method).
 o Comments are sorted by their position even when alphabetic sorting
is in place.
 o Comments are added to the outline if they start or end with '---'.



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.3.5 Released

2007-06-20 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.3.5 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Auto-Import:
 o Import is now set in correct line even with multi-line imports.
 o Added option to disable the introduction of auto-imports.
 o Added option to remove modules that start with '_' from the imports
(so, tokens would have to be found in __init__.py files).
* Code Analysis: Having a list comprehension with a subscript was not being
treated correctly.
* Debugger: Working with jython.
* Debugger: Working with wxPython.


Release Highlights in Pydev:
--

* Eclipse 3.3 Integration: Does not keep eclipse from a correct shutdown
anymore.
* Docstrings and code completion pop-up:
 o The docstrings are now wrapped to the size of the pop-up window.
 o The initial columns with whitespaces that are common for all the
docstring is now removed.
 o The previous size of the pop-up window in completions is now
restored.
* Extract method refactoring: was not adding 'if' statement correctly on a
specific case.
* Organize imports: (Ctrl+Shift+O): comments are not erased in import lines
when using it anymore.
* Interpreter Config: solved a concurrency issue (which could issue an
exception when configuring the interpreter).
* Jython integration: can now work with a j9 vm.
* Jython integration: those that don't use jython can now use eclipse
without JDT (but it's still required for jython development).
* Outline:
 o The comments are now set in the correct level (below module, class
or method).
 o Comments are sorted by their position even when alphabetic sorting
is in place.
 o Comments are added to the outline if they start or end with '---'.



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: How to get existing frames in non-current thread?

2007-06-18 Thread Fabio Zadrozny



 Thanks a lot... I guess I'll have to find another way for versions
before
 2.5 ;-)

The original idea came from
http://www.majid.info/mylos/stories/2004/06/10/threadframe.html but it
uses a compiled C extension, yes. The code is really small and you should
not have problems compiling it...



Thanks for the link... it seems pretty nice ;-)

Cheers,

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

Re: How to get existing frames in non-current thread?

2007-06-10 Thread Fabio Zadrozny

On 6/10/07, Gabriel Genellina [EMAIL PROTECTED] wrote:


En Sat, 09 Jun 2007 21:40:40 -0300, Fabio Zadrozny [EMAIL PROTECTED]
escribió:

 Is there some way to get all the frames for any given thread? -- in a
way
 that does not require a compiled extension.

For the current (calling) thread, you can use sys._getframe()
For other threads, you can use sys._current_frames()
Frames have a f_back attribute pointing to the previous one, that you can
use to navigate them.



Thanks a lot... I guess I'll have to find another way for versions before
2.5 ;-)
-- 
http://mail.python.org/mailman/listinfo/python-list

How to get existing frames in non-current thread?

2007-06-09 Thread Fabio Zadrozny

Hi,

Is there some way to get all the frames for any given thread? -- in a way
that does not require a compiled extension.

Thanks,

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

Pydev 1.3.4 Released

2007-05-30 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.3.4 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

*  Mark Occurrences: 'global' used in the global scope is correctly treated.
* Code Analysis: __builtins__ considered in global namespace

Release Highlights in Pydev:
--

* Debugger: Breakpoints working correctly on external files opened with
'File  Open File...'.
* Debugger: Python 2.5 accepts breakpoints in the module level.
* Debugger: Unicode variables can be shown in the variables view.
* Editor: Coding try..except / try..finally auto-dedents.
* Code Completion: __builtins__ considered a valid completion
* Pydev Package Explorer: Opens files with correct editor (the pydev editor
was forced).



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Pydev 1.3.3 Released

2007-05-15 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.3.3 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Quick-fix: When an import is added from the auto-import quick-fix, a
code-analysis is requested right after it.
* Minor bugs fixed.

Release Highlights in Pydev:
--

* Performance: Optimizations in the code-completion structure.
* Debugger: Performance improvements (it will only actually trace contexts
that have breakpoints -- it was doing that in a module context before).
* Debugger: Step over correctly stops at the previous context.
* Debugger: Breakpoint labels correct when class/function name changes.
* Quick-Fix: Move import to global scope would not be correct if the last
line was a multi-line import.
* Outline: Syntax errors will show in the outline.
* Outline: Selection on import nodes is now correct.
* Outline: Link with editor created.
* Outline: Show in outline added to the pydev perspective.
* Find Previous Problem: action created (Ctrl+Shift+.).
* Extract method refactoring: end line delimiters are gotten according to
the document (it was previously fixed to \n).
* Extension-points: Documentation added for some of the extension points
available.
* Perspective: The pydev package explorer has been set as the preferred
browser in the pydev perspective.



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.3.3 Released

2007-05-15 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.3.3 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Quick-fix: When an import is added from the auto-import quick-fix, a
code-analysis is requested right after it.
* Minor bugs fixed.

Release Highlights in Pydev:
--

* Performance: Optimizations in the code-completion structure.
* Debugger: Performance improvements (it will only actually trace contexts
that have breakpoints -- it was doing that in a module context before).
* Debugger: Step over correctly stops at the previous context.
* Debugger: Breakpoint labels correct when class/function name changes.
* Quick-Fix: Move import to global scope would not be correct if the last
line was a multi-line import.
* Outline: Syntax errors will show in the outline.
* Outline: Selection on import nodes is now correct.
* Outline: Link with editor created.
* Outline: Show in outline added to the pydev perspective.
* Find Previous Problem: action created (Ctrl+Shift+.).
* Extract method refactoring: end line delimiters are gotten according to
the document (it was previously fixed to \n).
* Extension-points: Documentation added for some of the extension points
available.
* Perspective: The pydev package explorer has been set as the preferred
browser in the pydev perspective.



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Pydev 1.3.2 Released

2007-04-17 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.3.2 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Fix: The vmargs in the interactive console are now only really passed to
the jython process
* Fix: Rename refactoring was not getting some references that mapped to
imports initially (and not directly to classes or functions)
* Fix: Mark Occurrences marks correctly the keyword parameters in
referencing calls


Release Highlights in Pydev:
--

* Pydev Editor: If multiple editors are open for the same file, a parser is
shared among them (which greatly improves the performance in this case)
* Pydev Editor: Backspace is now indentation-aware (so, it'll try to dedent
to legal levels)
* Pydev Editor: sometimes the 'import' string was added when it shouldn't
* Fix: Code-completion: case where a package shadows a .pyd is now
controlled (this happened with mxDateTime.pyd)
* Fix: Code-completion: recursion condition was wrongly detected
* Fix: Code-completion: halting condition was found and removed
* Fix: Project Config: if a closed project was referenced, no project was
gathered for any operation (e.g.: code-completion)
* Fix: The filter for showing only pydev projects is not active by default
anymore



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Pydev 1.3.1 Released

2007-03-27 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.3.1 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Interactive Console: jython process can receive vmargs (configured in the
preferences page)
* Code-Completion: auto-import completions will not be brought for tokens in
the current module
* Code-Completion: auto-import inserted as last import in imports list (so,
__future__ imports will remain in the 1st position)
* Code-Analysis: Only adds unused parameters in methods that have some
statement that is not a 'pass' or string
* Fix: Find Occurrences: will not 'overlap' occurrences anymore
* Fix: Code-Analysis: deep attribute access after finding __getattr__ does
not signal unresolved import errors anymore

Release Highlights in Pydev:
--

* Mylar integration: the pydev package explorer now supports mylar (packaged
as a separate feature: org.python.pydev.mylar.feature)
* Code-completion: comment completion is now the same as string completion
* Debug: Breakpoints can be set in external files
* Debug: Breakpoint annotations now show in external files
* Package Explorer: filter for import nodes created
* Fix: Package Explorer Actions: Open action does not expand children when
opening python file
* Fix: Project Explorer (WTP) integration: does not conflict with elements
from other plugins anymore (such as java projects)
* Fix: halt in new project wizard: when creating a new project from the
pydev wizard it was halting in some platforms
* Fix: ${string_prompt} in run config: now only evaluated on the actual run
* Fix: Code-Completion: jython shell was not handling
java.lang.NoClassDefFoundError correctly


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.3.1 Released

2007-03-26 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.3.1 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Interactive Console: jython process can receive vmargs (configured in the
preferences page)
* Code-Completion: auto-import completions will not be brought for tokens in
the current module
* Code-Completion: auto-import inserted as last import in imports list (so,
__future__ imports will remain in the 1st position)
* Code-Analysis: Only adds unused parameters in methods that have some
statement that is not a 'pass' or string
* Fix: Find Occurrences: will not 'overlap' occurrences anymore
* Fix: Code-Analysis: deep attribute access after finding __getattr__ does
not signal unresolved import errors anymore

Release Highlights in Pydev:
--

* Mylar integration: the pydev package explorer now supports mylar (packaged
as a separate feature: org.python.pydev.mylar.feature)
* Code-completion: comment completion is now the same as string completion
* Debug: Breakpoints can be set in external files
* Debug: Breakpoint annotations now show in external files
* Package Explorer: filter for import nodes created
* Fix: Package Explorer Actions: Open action does not expand children when
opening python file
* Fix: Project Explorer (WTP) integration: does not conflict with elements
from other plugins anymore (such as java projects)
* Fix: halt in new project wizard: when creating a new project from the
pydev wizard it was halting in some platforms
* Fix: ${string_prompt} in run config: now only evaluated on the actual run
* Fix: Code-Completion: jython shell was not handling
java.lang.NoClassDefFoundError correctly


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Pydev 1.3.0 Released

2007-03-12 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.3.0 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Find References: Ctrl+Shift+G can be used to find the references to the
selected token in the editor
* Fix: Code-analysis: Fixed false positive for statement with no effect


Release Highlights in Pydev:
--

* Code-completion: Deep analysis for discovering arguments in constructs
'from imports' now can be configured given the number of chars of the
qualifier
* Refactoring for override methods: changed so that it uses the pydev
code-completion engine for getting the hierarchy and methods
* Fix: Python Nature Restore: begin rule does not match outer scope rule
fixed
* Fix: Package Explorer: if show-in is in a deep structure, it will show it
is the 1st try and not only in the 2nd
* Fix: Package Explorer: some intercepts removed elements incorrectly, and
ended up messing the navigator and search (which has 'null' elements because
of that)


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.3.0 Released

2007-03-12 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.3.0 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Find References: Ctrl+Shift+G can be used to find the references to the
selected token in the editor
* Fix: Code-analysis: Fixed false positive for statement with no effect


Release Highlights in Pydev:
--

* Code-completion: Deep analysis for discovering arguments in constructs
'from imports' now can be configured given the number of chars of the
qualifier
* Refactoring for override methods: changed so that it uses the pydev
code-completion engine for getting the hierarchy and methods
* Fix: Python Nature Restore: begin rule does not match outer scope rule
fixed
* Fix: Package Explorer: if show-in is in a deep structure, it will show it
is the 1st try and not only in the 2nd
* Fix: Package Explorer: some intercepts removed elements incorrectly, and
ended up messing the navigator and search (which has 'null' elements because
of that)


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: wxPython import error...

2007-03-06 Thread Fabio Zadrozny

On 4 Mar 2007 16:42:07 -0800, king kikapu [EMAIL PROTECTED] wrote:


Hi,

i am just completed installing Python/Pydev/Eclipse/wxPython on an
Ubuntu system and all are running fine except program that contains
references to wx

It gives me:
ImportError: /usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/
_core_.so: undefined symbol: PyUnicodeUCS4_FromEncodedObject

I installed the wx packages the way the wx web site says, especially
for Ubuntu.

Can anyone help with this as i have been searching the net for this
with no luck...



Is your pythonpath configured correctly within pydev (and not just in the
system?) -- see http://fabioz.com/pydev/manual_101_interpreter.html

Cheers,

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

Pydev 1.2.8 Released

2007-03-01 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.2.8 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code-analysis: when a compare statement is found out of a test scope,
that's reported as a warning
* Mark Occurrences: new option to choose whether strings and comments
should be highlighted
* Simple Completions: some keywords were removed from the default list (the
2-letter ones because they're barely worth it and those related to 'try', as
there's already an assistant that creates 'try' blocks)
* Rename refactoring / Mark Occurrences: matches in multi-line strings are
now correct


Release Highlights in Pydev:
--

* Refactoring: integration of the PEPTIC refactoring engine
* Package Explorer: many fixes (special thanks for Don Taylor for the bug
reports)
* Debugger: a number of small optimizations
* Code-completion: works in emacs mode
* Code-completion: added the possibility of auto-completing for all letter
chars and '_' (so, it starts completing once you start writing)
* Code-completion: code-completion for epydoc inside strings
* Code-completion: assigns after global statement considered added to the
global namespace
* Code-completion: now works when a class is declared in a nested scope
* Code-completion: if multiple assigns are found to some variable, the
completion will be a merge of them
* Code-completion: functions are analyzed for their return values for
code-completion purposes
* Code-completion: working on multi-line imports
* Code-completion: can discover instance variables not declared in the
class (in the scope where the class was instanced)
* Auto-edit: adds 'self', 'cls' or no parameter based on the @clasmethod,
@staticmethod declaration on previous line
* Auto-edit: doesn't add 'self' if a method is declared in a method inner
scope
* Fix: BRM Refactoring: wrong column was being passed to the BRM
refactoring engine
* Code-folding: added for comments and strings
* Fix: sometimes the 'create docstring' assistant was not recognizing
method definitons



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


Re: Is there a technic to avoid this bug

2007-03-01 Thread Fabio Zadrozny

On 2/27/07, hg [EMAIL PROTECTED] wrote:


Michele Simionato wrote:

 pychecker

Thanks all ... pydev extension does not however ... will have to install
pychecker also.



Just as a note: pydev extensions 1.2.8 supports that... (just released)

Cheers,

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

Pydev 1.2.8 Released

2007-03-01 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.2.8 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code-analysis: when a compare statement is found out of a test scope,
that's reported as a warning
* Mark Occurrences: new option to choose whether strings and comments
should be highlighted
* Simple Completions: some keywords were removed from the default list (the
2-letter ones because they're barely worth it and those related to 'try', as
there's already an assistant that creates 'try' blocks)
* Rename refactoring / Mark Occurrences: matches in multi-line strings are
now correct


Release Highlights in Pydev:
--

* Refactoring: integration of the PEPTIC refactoring engine
* Package Explorer: many fixes (special thanks for Don Taylor for the bug
reports)
* Debugger: a number of small optimizations
* Code-completion: works in emacs mode
* Code-completion: added the possibility of auto-completing for all letter
chars and '_' (so, it starts completing once you start writing)
* Code-completion: code-completion for epydoc inside strings
* Code-completion: assigns after global statement considered added to the
global namespace
* Code-completion: now works when a class is declared in a nested scope
* Code-completion: if multiple assigns are found to some variable, the
completion will be a merge of them
* Code-completion: functions are analyzed for their return values for
code-completion purposes
* Code-completion: working on multi-line imports
* Code-completion: can discover instance variables not declared in the
class (in the scope where the class was instanced)
* Auto-edit: adds 'self', 'cls' or no parameter based on the @clasmethod,
@staticmethod declaration on previous line
* Auto-edit: doesn't add 'self' if a method is declared in a method inner
scope
* Fix: BRM Refactoring: wrong column was being passed to the BRM
refactoring engine
* Code-folding: added for comments and strings
* Fix: sometimes the 'create docstring' assistant was not recognizing
method definitons



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: PyDev on Mac

2007-02-19 Thread Fabio Zadrozny


Pythin runs but PyDev won't use the inerpreter. It gives me an error
saying I'm using an invalid interpreter.

Is there a way to do this using jPython?



Pydev usually outputs something into your error log when it says you've
specified an invalid interpreter... can you check it? (see
http://pydev.sourceforge.net/faq.html#ref_0 for details on how to find it)
-- your problem might be that you're specifying a link to the interpreter
and not the actual interpreter (unfortunately java does not deal well with
symlinks).

It should also work with jython (jython 2.1 is the officially supported
version).

Cheers,

Fabio

p.s. I also recommend that you take a look at the getting started manual:
http://fabioz.com/pydev/manual_101_root.html
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: PyDev on Mac

2007-02-19 Thread Fabio Zadrozny

On 19 Feb 2007 10:41:41 -0800, Ahmer [EMAIL PROTECTED] wrote:


On Feb 18, 4:50 am, Diez B. Roggisch [EMAIL PROTECTED] wrote:
 Ahmer schrieb:

  I've been trying to set up PyDev on my new MacBook Pro, but i have not
  had an success.

  Could you please help!

 Just wait until my crystal ball comes back from the cleaners, and I will
 start looking at your problem.

 As you can lay back and do nothing while that happens, I suggest you
 take this highly entertaining read:

 http://www.catb.org/~esr/faqs/smart-questions.html

 Diez

The error I am getting is:

Check your error log for more details.

More info can also be found at the bug report:

http://sourceforge.net/tracker/index.php?func=detailaid=1523582group_id=85796atid=577329


I am trying to use Jython since I am mainly a Java programmer.



And what's in your error log?
-- 
http://mail.python.org/mailman/listinfo/python-list

Pydev 1.2.6 Released

2007-01-24 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.2.6 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

*  Added refactoring support for rename (still BETA, so, don't forget to
review your changes before applying them)
 - Keybinding: Alt+Shift+R
 - Supports preview
 - Integrated in the editor (but not in the package explorer, so, it
can rename a module, but only through an import to that module)
 - Supports undo/redo in the workspace
 - Rename class
 - Rename method
 - Rename attribute
 - Rename imports
 - Rename local variable
* Menu changes:
 - Now the debug/navigate actions are all under a 'Pydev' menu
 - The pydev navigate action is now only initially shown in the
pydev/debug perspective
 - The pydev remote debugging actions are now only initially shown in
the debug perspective
* Fix: code analysis problem when working with nested list-comprehensions
* Fix: go to definition sometimes failed to find module definitions


Release Highlights in Pydev:
--

* Pydev package explorer (Still BETA, so, use it with care -- the navigator
is still the preferred way of browsing your project)
 - Filters for .pyc and .pyo files created
 - Working set integration added (just available for Eclipse 3.2.1)
 - Some minor bugs fixed
* Patch by Olof Wolgast: The 'create docstrings' assistant has more options
(windows  preferences  pydev  code formatter  docstrings)
 - Option to choose between single and double quotes
 - Option to create '@type' too and not only '@param'
 - Option to skip creation of the @type tag for parameters starting
with some prefix (if 'Custom' is chosen)
* Block comments now have more options (windows  preferences  pydev  code
formatter  block comments)
 - Option to align single-line block comment to the left or right
 - Option to put class name above class if applied on a class
definition
* Fix: Multi-line Templates indent correctly
* Fix: When a file from a project that was deleted was still opened inside
pydev, Eclipse would not start-up correctly
* Fix: When a different interpreter is chosen in the run dialog, the
pythonpath is correctly gotten
* Fix: when Pydev was started, it would re-save the .pydevproject file even
if no change was done
* Fix: When tab width was set to 0 it could halt the editor (now if 0 is
set, 4 is assumed)
* Grammar Patch by Ueli Kistler, Dennis Hunziker




What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.2.6 Released

2007-01-24 Thread Fabio Zadrozny

Hi All,

Pydev and Pydev Extensions 1.2.6 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

*  Added refactoring support for rename (still BETA, so, don't forget to
review your changes before applying them)
 - Keybinding: Alt+Shift+R
 - Supports preview
 - Integrated in the editor (but not in the package explorer, so, it
can rename a module, but only through an import to that module)
 - Supports undo/redo in the workspace
 - Rename class
 - Rename method
 - Rename attribute
 - Rename imports
 - Rename local variable
* Menu changes:
 - Now the debug/navigate actions are all under a 'Pydev' menu
 - The pydev navigate action is now only initially shown in the
pydev/debug perspective
 - The pydev remote debugging actions are now only initially shown in
the debug perspective
* Fix: code analysis problem when working with nested list-comprehensions
* Fix: go to definition sometimes failed to find module definitions


Release Highlights in Pydev:
--

* Pydev package explorer (Still BETA, so, use it with care -- the navigator
is still the preferred way of browsing your project)
 - Filters for .pyc and .pyo files created
 - Working set integration added (just available for Eclipse 3.2.1)
 - Some minor bugs fixed
* Patch by Olof Wolgast: The 'create docstrings' assistant has more options
(windows  preferences  pydev  code formatter  docstrings)
 - Option to choose between single and double quotes
 - Option to create '@type' too and not only '@param'
 - Option to skip creation of the @type tag for parameters starting
with some prefix (if 'Custom' is chosen)
* Block comments now have more options (windows  preferences  pydev  code
formatter  block comments)
 - Option to align single-line block comment to the left or right
 - Option to put class name above class if applied on a class
definition
* Fix: Multi-line Templates indent correctly
* Fix: When a file from a project that was deleted was still opened inside
pydev, Eclipse would not start-up correctly
* Fix: When a different interpreter is chosen in the run dialog, the
pythonpath is correctly gotten
* Fix: when Pydev was started, it would re-save the .pydevproject file even
if no change was done
* Fix: When tab width was set to 0 it could halt the editor (now if 0 is
set, 4 is assumed)
* Grammar Patch by Ueli Kistler, Dennis Hunziker




What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.


Cheers,

--
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Pydev 1.2.5 Released

2006-11-01 Thread Fabio Zadrozny
Hi All,Pydev and Pydev Extensions 1.2.5 have been releasedDetails on Pydev Extensions: http://www.fabioz.com/pydevDetails on Pydev: 
http://pydev.sf.net Details on its development: http://pydev.blogspot.comRelease Highlights in Pydev Extensions:-
* Minor bug on mark occurrences fixed* The quick outline now will go to the 'sole item' in the tree even if it is not selected (and OK is pressed)Release Highlights in Pydev:--
* Early release of the Pydev package explorer View. Features already implemented: o Common resource actions (delete, copy, rename, team...) o Shows the Source folder with a different icon o Linking mode enabled
 o Shows the outline for a python file o Opening an item in the outline opens the correct place in the correspondent file o NOTE: The package explorer is still in a beta state* Debugger bug-fix: Crash when debugging wxPython programs should not happen anymore
* When opening a file, the encoding is considered (and not only when saving it)* Patches from Gergely Kis: o Option for having a 'default interpreter' in the combo for selecting which interpreter to use for a run
 o Saving the things related to the pydev project in a .pydevproject file to be commited* Patch from Gregory Golberg: o Ctrl+Shift+D when a variable is selected in debug mode shows the variable value
What is PyDev?---PyDev is a plugin that enables users to use Eclipse for Python and Jython development -- making Eclipse a first class Python IDE -- It comes with many goodies such as code completion, syntax highlighting, syntax analysis, refactor, debug and many others.
Cheers,-- Fabio Zadrozny--Software DeveloperESSS - Engineering Simulation and Scientific Software
http://www.esss.com.brPydev Extensionshttp://www.fabioz.com/pydevPydev - Python Development Enviroment for Eclipsehttp://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: PyDev + Eclipse (Was: Re: What's the best IDE?)

2006-10-27 Thread Fabio Zadrozny
On 10/26/06, Michael B. Trausch mike$#at^[EMAIL PROTECTED] wrote:
Kenneth McDonald wrote: With the most recent edition of PyDev, I find Eclipse works quite well
 for me.Since you mentioned it, I have a question that searching around andpoking around has not solved for me, yet.Do you have auto-completion working with your setup?It does not seem
to work at all for me.I have read through the configuration help, andthere are no firewalls on my system at all, and everything else workssave for auto-completion, which I have had to disable.If left enabled,
even with low timeouts, I have to kill Eclipse and start it again.:-/
Do you have some firewall on? There was a report
(http://sourceforge.net/tracker/index.php?func=detailaid=1509582group_id=85796atid=577329
)
in which the problem was actually a misconfiguration when creating
local-loops (accessing 127.0.0.1) in linux. If this is not your
problem, please create a bug-report -- check
http://pydev.sf.net/faq.html#ref_0 for bug-writing guidelines.

Cheers,

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

Re: Raw beginner....

2006-10-08 Thread Fabio Zadrozny
On 10/8/06, Colin Lehmann [EMAIL PROTECTED] wrote:
 I am new to Python although I have been using Delphi since version one,
 I have been employed as a C and C++ programmer so when I went to Linux
 (Ubuntu 5.10) I thought Python looked pretty good.
 I downloaded and installed 'Eric Python IDE' which seems OK, any
 alternatives suggested will be looked at

Suggestions: http://wiki.python.org/moin/IntegratedDevelopmentEnvironments

Cheers,

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


Pydev 1.2.4 Released

2006-09-26 Thread Fabio Zadrozny
Pydev and Pydev Extensions 1.2.4 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net 
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code analysis: analysis on imported modules do no longer give you errors on
 * classes that have __getattribute__ or __getattr__ overriden
 * assigns that are initially None
 * assigns to a function call and not a class definition

* Completions for parameters in a context-insensitive way, looking for
all the methods/attributes declared in classes available to the project
(after 3 chars)

Release Highlights in Pydev:
--

* Completions for parameters based on the tokens that were defined for it in a given context
* Removed the default PyLint options, because its command-line interface changed (that was crashing PyLint in newer versions)
* Changed the grammar so that 'yield' is correctly parsed as an _expression_
* Giving better error message when external file is opened without any interpreter selected
* Icons for the builtins gotten on large libraries (such as wx -- it was optimized not to do that before)
* Adding jars relative to the project now works correctly
* Patched (Kovan): The debugger is now able to get the variables in a context when handling negative payloads


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.2.4 Released

2006-09-26 Thread Fabio Zadrozny
Pydev and Pydev Extensions 1.2.4 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net 
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Code analysis: analysis on imported modules do no longer give you errors on
 * classes that have __getattribute__ or __getattr__ overriden
 * assigns that are initially None
 * assigns to a function call and not a class definition

* Completions for parameters in a context-insensitive way, looking for
all the methods/attributes declared in classes available to the project
(after 3 chars)

Release Highlights in Pydev:
--

* Completions for parameters based on the tokens that were defined for it in a given context
* Removed the default PyLint options, because its command-line interface changed (that was crashing PyLint in newer versions)
* Changed the grammar so that 'yield' is correctly parsed as an _expression_
* Giving better error message when external file is opened without any interpreter selected
* Icons for the builtins gotten on large libraries (such as wx -- it was optimized not to do that before)
* Adding jars relative to the project now works correctly
* Patched (Kovan): The debugger is now able to get the variables in a context when handling negative payloads


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Pydev 1.2.3 released

2006-09-19 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.2.3 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com


Release Highlights in Pydev Extensions:
-

* Support for python 2.5 has been added
* Some minor issues on mark occurrences when the definition for something could not be found were fixed

Release Highlights in Pydev:
--

* When the user specifies an invalid interpreter, a better error report is given (previously it was only shown in the error log)
* When threads die, the debugger is notified about it (so that they are removed from the stack)
* Writing the preferences to the disk is now buffered
* Fixed problem when debugging in jython with the statement from xxx import *
* Fixed one issue with the indentation engine
* Commenting a line does not remove a blank line in the end anymore
* Added debug mode for unit-test
* Added the possibility of setting the -Dpython.cachedir for running
the jython shell (errors can arise in unix-based machines if jython is
not able to write its cache)

 Contributions
  o Darrell Maples:
   + Unit-test refactoring
   + Run as jython unit-test
   + Filter test methods to run

  o Joel Hedlund
   + Added a
support to ease adding options to Ctrl+1 in the scripting engine
   + Added a ctrl+1 for the case:

def m1(self, arg=None):
 arg |-- Ctrl+1 shows option to do:
 
def m1(self, arg=None):
 if arg is None:
  arg = []

 Support for python 2.5
  o Added the new relative import
  o Added the new if _expression_
  o Added the unified try..except..finally statement
  o Added the with x:... statement
  o Indenting after the new with statement
  o Recognizing 'with' as a keyword in syntax highlighting 


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com

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

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


Pydev 1.2.3 released

2006-09-19 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.2.3 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com


Release Highlights in Pydev Extensions:
-

* Support for python 2.5 has been added
* Some minor issues on mark occurrences when the definition for something could not be found were fixed

Release Highlights in Pydev:
--

* When the user specifies an invalid interpreter, a better error report is given (previously it was only shown in the error log)
* When threads die, the debugger is notified about it (so that they are removed from the stack)
* Writing the preferences to the disk is now buffered
* Fixed problem when debugging in jython with the statement from xxx import *
* Fixed one issue with the indentation engine
* Commenting a line does not remove a blank line in the end anymore
* Added debug mode for unit-test
* Added the possibility of setting the -Dpython.cachedir for running
the jython shell (errors can arise in unix-based machines if jython is
not able to write its cache)

 Contributions
  o Darrell Maples:
   + Unit-test refactoring
   + Run as jython unit-test
   + Filter test methods to run

  o Joel Hedlund
   + Added a
support to ease adding options to Ctrl+1 in the scripting engine
   + Added a ctrl+1 for the case:

def m1(self, arg=None):
 arg |-- Ctrl+1 shows option to do:
 
def m1(self, arg=None):
 if arg is None:
  arg = []

 Support for python 2.5
  o Added the new relative import
  o Added the new if _expression_
  o Added the unified try..except..finally statement
  o Added the with x:... statement
  o Indenting after the new with statement
  o Recognizing 'with' as a keyword in syntax highlighting 


What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com

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

Re: Looking for a python IDE

2006-09-16 Thread Fabio Zadrozny
On 15 Sep 2006 23:31:27 -0700, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
HelloI am looking for a good IDE for Python. Commercial or Open Software.
Check http://wiki.python.org/moin/IntegratedDevelopmentEnvironmentsI reccomend Pydev (open source) + Pydev extensions (commercial).
Cheers,Fabio
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: idutils and Python

2006-08-23 Thread Fabio Zadrozny
 What exactly are you trying to accomplish?If you want to index function/class names, variables, etc then you should take a look at
 exuberant ctags http://ctags.sourceforge.net53 --although it started off as a C indexer, it has excellent Python support, it's free, and as a bonus its indices are well supported from inside major editors (vim,
 emacs, etc) so you can easily follow code flow, find function/class definitions, etc.Sorry for not being clear enough. I want the following:a) have my editor go to the point where a function/whatever is defined

Pydev Extensions (http://www.fabioz.com/pydev) should do that without
any problems with F3 (it first tries a 'context-sensitive' match,
trying to find it in locals, globals, current class, etc and if not
found like that, it goes and looks for the signature in a
context-insensitive way, as if it was a simple text-search)
b) see all places where a function/whatever is used.
This can be handed pretty well with the search that is builtin into Eclipse (ctrl+h). 

Cheers,

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

Re: idutils and Python

2006-08-23 Thread Fabio Zadrozny
On 8/23/06, Ramon Diaz-Uriarte [EMAIL PROTECTED] wrote:
Thanks for the answer. I had read about PyDev and its extenssions but,if at all possible, I'd like to keep working with Emacs (or Vim)instead of Eclipse, and I'd rather use free/open source software.

Well, you can use only Pydev without the extensions (its implementation
of go to definition is powered by Bycicle Repair Man, which should be
on par with other open-source implementations).

Cheers,

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

Re: Looking for an intellisense with good help IDE for Python

2006-08-08 Thread Fabio Zadrozny
On 8 Aug 2006 00:36:30 -0700, metaperl [EMAIL PROTECTED] wrote:
Hi,I would like an IDE that shows me all methods and functions I can callon a particular data item. For instance, iter() can be called on anysequence, but it is not a method.Nonetheless, I would like for something to show me every thing that I
can call on a particular data item.This includes % after a string.I would also like browseable help with good examples on whatevermethods and functions and operators it pops up.Thanks,Terrence

Have you checked pydev: http://pydev.sf.net

Cheers,

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

Re: Pydev with Eclipse on OSX Q

2006-08-05 Thread Fabio Zadrozny
Hi Fabio,Thanks for your quick response! I was able to solve this. It seems I
still wasn't using the right file; however, I didn't expect that Ineeded a 12 KB Unix executable. It didn't seem like the right file tome before.I've had one other report like that, so, I'm making that error more explicit for other users (should be out in the next version).
Cheers,Fabio
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Pydev with Eclipse on OSX Q

2006-08-04 Thread Fabio Zadrozny
On 8/4/06, Michiel Sikma [EMAIL PROTECTED] wrote:
Hey guys. I'm trying to run Pydev on Eclipse on OSX, but I've got aproblem that prevents me from making new projects in it. It seemsthat I cannot add my Python interpreter to the list of interpreters(it seems to do _something_ when I select it, but then ends up not
adding it to the list).Are any of you guys familiar with this? Is there something I need todo before I can add my interpreter to that list? I'm on a G5 iMac andhave the latest version of both programs.

Have you checked your error log? (when adding an interpreter, there
might be problems if you don't specify your real interpreter, but a
link for it... (see bug
http://sourceforge.net/tracker/index.php?func=detailaid=1523582group_id=85796atid=577329

for details) or have spaces in your eclipse path (see bug
http://sourceforge.net/tracker/index.php?func=detailaid=1228027group_id=85796atid=577329

for details).

Cheers,

Fabio

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

Re: Python Projects Continuous Integration

2006-07-28 Thread Fabio Zadrozny
On 28 Jul 2006 04:55:39 -0700, Dave Potts [EMAIL PROTECTED] wrote:
Hi,I'm just starting a development project in Python having spent time inthe Java world.I was wondering what tool advice you could give meabout setting up a continuous integration environment for the python
code: get the latest source, run all the tests, package up, produce thedocs, tag the code repository.I'm used to things like Maven andCruiseControl in the Java world.Cheers,Dave.

Hi Dave, 

Been there recently. The one that seems more used that is done in
python is buildbot... still, I've settled with cruise control for
building my python projects (buildbot just refused to use pserver
correctly for me), and it was just a matter of doing some execs for
python for using my actual build scripts (that are in python).

Cheers,

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

Pydev 1.2.2 released

2006-07-24 Thread Fabio Zadrozny
Hi All,

 

 Pydev and Pydev Extensions 1.2.2 have been released

 

 Details on Pydev Extensions: http://www.fabioz.com/pydev

 Details on Pydev: 
http://pydev.sf.net 

 Details on its development: http://pydev.blogspot.com




 Release Highlights in Pydev Extensions:

 -


 - Added the 'toggle completion type' when Ctrl is pressed in the code-completion for context-insensitive data

 IMPORTANT:The binding for creating the interactive console and
passing commands to the shell has been changed to Ctrl+Alt+Enter
(because Ctrl+Enter is now used when applying a toggled completion).
Details for toggle completion type:
Blog:http://pydev.blogspot.com/2006/07/improving-code-completion-in-pydev.html

- When getting some definition, if it is defined by an import..from, it keeps going until the actual token is found
- Duplicated signature is no longer warned inside an if..else
- Mark occurrences bug-fix
- Handling nested 'for' declarations and nested list comprehensions correctly in code-analysis
 Release Highlights in Pydev: -- Code Completion

 * Calltips added to pydev
 * The parameters are now linked when a completion is
selected (so, tab iterates through them and enter goes to the end of
the declaration)
 * Parameters gotten from docstring analysis for builtins that don't work with 'inspect.getargspec'
 * Getting completions for the pattern a,b,c=range(3) inside a class
 * Code completion for nested modules had a bug fixed
 * Added the 'toggle completion type' when ctrl is pressed in the code-completion for context-sensitive data
 * Code-completion works correctly after
instantiating a class: MyClass(). -- will bring correct completions
 * Code-completion can now get the arguments passed when instatiating a class (getting the args from __init__)
 * self is added as a parameter in the completion analyzing whether we're in a bounded or unbounded call
 * Pressing Ctrl+Space a second time changes default / template completions
 See details on toggling completion mode,
cycling through completions and linked mode (blog:
http://pydev.blogspot.com/2006/07/improving-code-completion-in-pydev.html)


Outline View

 * Added option for hiding comments and imports
 * Persisting configuration
 * Added option for expanding all

Others

 * Possibility of setting pyunit verbosity level (by Darrell Maples)
 * Errors getting the tests to run are no longer suppressed
 * Ctrl+2+kill also clears the internal cache for
compiled modules (especially useful for those that create compiled
dependencies).
 * Last opened path remembered when configuring the pythonpath (dialog)
 What is PyDev? --- 
PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.   Cheers,  --  Fabio Zadrozny -- Software Developer  ESSS - Engineering Simulation and Scientific Software
 http://www.esss.com.br  Pydev Extensions 

http://www.fabioz.com/pydev  Pydev - Python Development Enviroment for Eclipse
 http://pydev.sf.net 

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

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


Pydev 1.2.2 released

2006-07-24 Thread Fabio Zadrozny
Hi All,

 

 Pydev and Pydev Extensions 1.2.2 have been released

 

 Details on Pydev Extensions: http://www.fabioz.com/pydev

 Details on Pydev: 
http://pydev.sf.net 

 Details on its development: http://pydev.blogspot.com




 Release Highlights in Pydev Extensions:

 -


 - Added the 'toggle completion type' when Ctrl is pressed in the code-completion for context-insensitive data

 IMPORTANT:The binding for creating the interactive console and
passing commands to the shell has been changed to Ctrl+Alt+Enter
(because Ctrl+Enter is now used when applying a toggled completion).
Details for toggle completion type:
Blog:http://pydev.blogspot.com/2006/07/improving-code-completion-in-pydev.html

- When getting some definition, if it is defined by an import..from, it keeps going until the actual token is found
- Duplicated signature is no longer warned inside an if..else
- Mark occurrences bug-fix
- Handling nested 'for' declarations and nested list comprehensions correctly in code-analysis
 Release Highlights in Pydev: -- Code Completion

 * Calltips added to pydev
 * The parameters are now linked when a completion is
selected (so, tab iterates through them and enter goes to the end of
the declaration)
 * Parameters gotten from docstring analysis for builtins that don't work with 'inspect.getargspec'
 * Getting completions for the pattern a,b,c=range(3) inside a class
 * Code completion for nested modules had a bug fixed
 * Added the 'toggle completion type' when ctrl is pressed in the code-completion for context-sensitive data
 * Code-completion works correctly after
instantiating a class: MyClass(). -- will bring correct completions
 * Code-completion can now get the arguments passed when instatiating a class (getting the args from __init__)
 * self is added as a parameter in the completion analyzing whether we're in a bounded or unbounded call
 * Pressing Ctrl+Space a second time changes default / template completions
 See details on toggling completion mode,
cycling through completions and linked mode (blog:
http://pydev.blogspot.com/2006/07/improving-code-completion-in-pydev.html)


Outline View

 * Added option for hiding comments and imports
 * Persisting configuration
 * Added option for expanding all

Others

 * Possibility of setting pyunit verbosity level (by Darrell Maples)
 * Errors getting the tests to run are no longer suppressed
 * Ctrl+2+kill also clears the internal cache for
compiled modules (especially useful for those that create compiled
dependencies).
 * Last opened path remembered when configuring the pythonpath (dialog)
 What is PyDev? --- 
PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.   Cheers,  --  Fabio Zadrozny -- Software Developer  ESSS - Engineering Simulation and Scientific Software
 http://www.esss.com.br  Pydev Extensions 

http://www.fabioz.com/pydev  Pydev - Python Development Enviroment for Eclipse
 http://pydev.sf.net 

http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

[Jython-users] Pydev and Pydev Extensions 1.0.6 release

2006-07-08 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.0.6 have been released

Check http://www.fabioz.com/pydev for details on Pydev Extensions

and http://pydev.sf.net for details on Pydev

Release Highlights in Pydev Extensions:
-

- New Feature: Show hierarchy (F4) -- Still in a beta state (currently only looks for subclasses on the same project).
- Analysis happens in a Thread, so, you should now always have the
latest parse without any halts (this happened only when the option was
set to analyze only on save).
- Class variable marked as error when self ommitted
- when an undefined import is found within a try..except ImportError, it will not be reported.
- Allow changing the keybinding for activating the Interactive Console (Ctrl+Enter)
- Added a simple text-search that looks for in all .py and .pyw files
(will be improved in the future to make a real python-like search).
- The keywords that match the 'simple' keywords completion do not show up.


Release Highlights in Pydev:
--

- Assign variables to attributes (Ctrl+2+a): Contributed by Joel
Hedlund (this is the first contribution using the new jython scripting
engine).
- 3 minor 'quirks' were fixed in the indentation engine
- The debugger had some changes (so, if you had halts with it, please try it again).
- Allow changing the keybinding for activating the Find next problem (Ctrl+.)
- The debugger step-return had its behaviour changed.
- Additional scripts location added to pythonpath in the jython scripting engine
- Transversal of nested references improved
- Fixed problems with compiled modules when they had 'nested' module structures (e.g.: wx.glcanvas)

What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.


Cheers,

-- 
Fabio Zadrozny
--
Software Developer

ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Pydev 1.2.1 Released

2006-06-30 Thread Fabio Zadrozny
Hi All,
 
 Pydev and Pydev Extensions 1.2.1 have been released
 
 Details on Pydev Extensions: http://www.fabioz.com/pydev
 Details on Pydev: 
http://pydev.sf.net 
 Details on its development: http://pydev.blogspot.com

Important


1. This release is still not available in the sourceforge downloads
session because of some problems at sourceforge, but it is already
placed in the update sites (and should be added to the sourceforge
downloads as soon as the sourceforge release works again.

2. Eclipse 3.2: The final Eclipse 3.2 should be available (according to http://eclipse.org) in 1 day.
 
 Release Highlights in Pydev Extensions:
 -

 - Bug-Fixes
 Release Highlights in Pydev: -- - The user is asked for which paths should be added to the system pythonpath
- Go to previous method now works with decorators
- Stack-trace link now opens in correct line for external files
- Variables now show in the variables view while debugging
- If an invalid interpreter is selected to run a file (old interpreter or wrong project type), a warning is given to the user
- Ctrl+w is removed as the default for select word (the action is still
there, but its keybinding is removed, so, users have to configure
themselves which keybinding they want for it)
- Assign to local or field variable now enters in linked mode
- Added dependency to Eclipse 3.2 features, as version 1.2.0 of pydev and newer are only Eclipse 3.2 compatible.  What is PyDev? --- 
PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.   Cheers,  --  Fabio Zadrozny -- Software Developer  ESSS - Engineering Simulation and Scientific Software
 http://www.esss.com.br  Pydev Extensions 
http://www.fabioz.com/pydev  Pydev - Python Development Enviroment for Eclipse
 http://pydev.sf.net 
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


Pydev 1.2.1 Released

2006-06-29 Thread Fabio Zadrozny
Hi All,
 
 Pydev and Pydev Extensions 1.2.1 have been released
 
 Details on Pydev Extensions: http://www.fabioz.com/pydev
 Details on Pydev: 
http://pydev.sf.net 
 Details on its development: http://pydev.blogspot.com

Important


1. This release is still not available in the sourceforge downloads
session because of some problems at sourceforge, but it is already
placed in the update sites (and should be added to the sourceforge
downloads as soon as the sourceforge release works again.

2. Eclipse 3.2: The final Eclipse 3.2 should be available (according to http://eclipse.org) in 1 day.
 
 Release Highlights in Pydev Extensions:
 -

 - Bug-Fixes
 Release Highlights in Pydev: -- - The user is asked for which paths should be added to the system pythonpath
- Go to previous method now works with decorators
- Stack-trace link now opens in correct line for external files
- Variables now show in the variables view while debugging
- If an invalid interpreter is selected to run a file (old interpreter or wrong project type), a warning is given to the user
- Ctrl+w is removed as the default for select word (the action is still
there, but its keybinding is removed, so, users have to configure
themselves which keybinding they want for it)
- Assign to local or field variable now enters in linked mode
- Added dependency to Eclipse 3.2 features, as version 1.2.0 of pydev and newer are only Eclipse 3.2 compatible.  What is PyDev? --- 
PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.   Cheers,  --  Fabio Zadrozny -- Software Developer  ESSS - Engineering Simulation and Scientific Software
 http://www.esss.com.br  Pydev Extensions 
http://www.fabioz.com/pydev  Pydev - Python Development Enviroment for Eclipse
 http://pydev.sf.net 
http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Eclipse IDE question

2006-06-25 Thread Fabio Zadrozny
On 6/25/06, Markus Wankus [EMAIL PROTECTED] wrote:
On Sun, 25 Jun 2006 13:21:32 -0400, seerhut [EMAIL PROTECTED] wrote: kilnhead wrote: I am trying to use eclipse for python development. Is it possible to
 run a python script without having to name/setup a configuration? Can eclipse be set up so that run loads the code into the interpreter and goes? I don't want to create a new run config every time I want to run
 a script. try pydev , a plugin for eclipseI'm fairly certain the OP is already doing that...As far as I know (I haven't used pydev in awhile) you need a launchconfiguration for each script.I do know you can run a script easily and
have the launch created for you just by right-clicking the file and sayingRun As  Python (I think).Here is what the FAQ says:How do I run a module from within eclipse using PyDev (either Python or
Jython)?To do that, the easiest way is going to the Run menu (Run-Run As-Pythonor Jython). If it is not available in your current eclipse perspective,you can enable it by going to window-customize perspective-commands and
checking the Lauch item (in this way, you can go only with the keyboard).Another way to run a module is right clicking the module in the navigatorand choosing python-run (when a .py file is selected).
Ok, there is another way of doing it is just pressing F9 if using pydev (http://fabioz.com/pydev/manual_101_root.html contains a complete step-by-step on how to configure pydev and start using it).
Cheers,Fabio
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Another Eclipse Question with Python

2006-06-20 Thread Fabio Zadrozny
On 6/20/06, Stan Cook [EMAIL PROTECTED] wrote:
I followed the help instructions to set a watchpoint for avariable, or at lest I tried.When I hilight the variableand go to the run menu, the toggle watchpoint is grayedout and can't be selected as specified.Is this Python
related only?Just wondering, I want to use the softwarewith all of the features it allows if possible.Which help instructions?
Have you checked the getting started at: http://fabioz.com/pydev/manual_101_root.html?
(This can happen if your perspective is not well configured...)
-- 
http://mail.python.org/mailman/listinfo/python-list

Pydev 1.2.0 Released

2006-06-19 Thread Fabio Zadrozny
Hi All,  Pydev and Pydev Extensions 1.2.0 have been released  Details on Pydev Extensions: http://www.fabioz.com/pydev Details on Pydev: 
http://pydev.sf.net  Details on its development: http://pydev.blogspot.com  Release Highlights in Pydev Extensions: -
 - This is the first version supporting Eclipse 3.2.
- Interactive console: content is now changed so that blocks are closed
with the interactive interpreter 'rules' (so that you don't have
invalid syntax errors when passing code-blocks to the interactive
console).
- An action was added to the menu so that you can use the Open
Declaration Quick-outline without needing focus on the pydev editor.
 Release Highlights in Pydev: -- - Eclipse 3.2 supported (and 3.1 support is now discontinued)
- Lot's of optimizations to make pydev faster
- Ctrl+Click now works with the find definition engine
- Comments that start with #--- are shown in the outline
- Attributes are shown in the outline
- Parse errors are now shown (again) in the editor
- Many other bugs fixed   What is PyDev? --- 
PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.   Cheers,  --  Fabio Zadrozny -- Software Developer  ESSS - Engineering Simulation and Scientific Software
 http://www.esss.com.br  Pydev Extensions http://www.fabioz.com/pydev  Pydev - Python Development Enviroment for Eclipse
 http://pydev.sf.net http://pydev.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

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


<    1   2   3   4   5   6   >