Re: Virtual functions are virtually invisible!

2011-07-16 Thread Fabio Zadrozny
On Sun, Jul 10, 2011 at 2:15 PM, rantingrick rantingr...@gmail.com wrote: On Jul 4, 3:43 am, Gregory Ewing greg.ew...@canterbury.ac.nz wrote: rantingrick wrote: what concerns me is the fact that virtual methods in derived classes just blend in to the crowd. I think we really need some

PyDev 2.2.1 Released

2011-07-14 Thread Fabio Zadrozny
users to use Eclipse for Python, Jython and IronPython 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

Pydev 2.2.0 Released

2011-06-27 Thread Fabio Zadrozny
such as code completion, syntax highlighting, syntax analysis, refactor, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer Appcelerator http://appcelerator.com/ Aptana http://aptana.com/ Pydev - Python Development

Pydev 2.2.0 Released

2011-06-27 Thread Fabio Zadrozny
such as code completion, syntax highlighting, syntax analysis, refactor, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer Appcelerator http://appcelerator.com/ Aptana http://aptana.com/ Pydev - Python Development

Pydev 2.1.0 Released

2011-06-01 Thread Fabio Zadrozny
, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer Appcelerator http://appcelerator.com/ Aptana http://aptana.com/ Pydev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com -- http

[issue11798] Test cases not garbage collected after run

2011-06-01 Thread Fabio Zadrozny
Fabio Zadrozny fab...@users.sourceforge.net added the comment: Sure, will try to get a patch for next week... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11798

Pydev 2.1.0 Released

2011-05-30 Thread Fabio Zadrozny
, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer Appcelerator http://appcelerator.com/ Aptana http://aptana.com/ Pydev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com -- http

[issue11798] Test cases not garbage collected after run

2011-05-26 Thread Fabio Zadrozny
Fabio Zadrozny fab...@users.sourceforge.net added the comment: So Michal, it seems no objections were raised? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11798

[issue11798] Test cases not garbage collected after run

2011-04-07 Thread Fabio Zadrozny
New submission from Fabio Zadrozny fab...@users.sourceforge.net: Right now, when doing a test case, one must clear all the variables created in the test class, and I believe this shouldn't be needed... E.g.: class Test(TestCase): def setUp(self): self.obj1 = MyObject() ... def

[issue11798] Test cases not garbage collected after run

2011-04-07 Thread Fabio Zadrozny
Fabio Zadrozny fab...@users.sourceforge.net added the comment: I do get the idea of the backward incompatibility, although I think it's really minor in this case. Just for some data, the pydev test runner has had a fix to clear those test cases for quite a while already and no one has

[issue11798] Test cases not garbage collected after run

2011-04-07 Thread Fabio Zadrozny
Fabio Zadrozny fab...@users.sourceforge.net added the comment: The current code I use in PyDev is below -- another option could be not adding the None to the list of tests, but removing it, but I find that a bit worse because in the current way if someone tries to access it after it's ran

Pydev 2.0 Released

2011-04-04 Thread Fabio Zadrozny
users to use Eclipse for Python, Jython and IronPython 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

Pydev 2.0 Released

2011-04-04 Thread Fabio Zadrozny
users to use Eclipse for Python, Jython and IronPython 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

Pydev 1.6.5 Released

2011-02-04 Thread Fabio Zadrozny
and IronPython 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

Pydev 1.6.5 Released

2011-02-03 Thread Fabio Zadrozny
and IronPython 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

[issue10933] Tracing disabled when a recursion error is triggered (even if properly handled)

2011-01-18 Thread Fabio Zadrozny
New submission from Fabio Zadrozny fab...@users.sourceforge.net: It seems that tracing in the interpreter is lost after some recursion error is triggered (even if it's properly handled). This breaks any debugger working after any recursion error is triggered (which suppose shouldn't happen

Re: [PyQt] Working with PyQt and Pydev

2011-01-07 Thread Fabio Zadrozny
On Thu, Jan 6, 2011 at 9:32 AM, Rohit Coder passionate_program...@hotmail.com wrote: I installed the PyDev plugin into Aptana Stdui 3 Beta. Someone suggested me to use PyQt for Python GUI app, and so I downloaded and installed PyQt. But when I open Aptana Studio, I could see a new menu added

Pydev 1.6.4 Released

2011-01-01 Thread Fabio Zadrozny
, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer Aptana http://aptana.com/ Pydev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com -- http://mail.python.org/mailman/listinfo/python

Pydev 1.6.4 Released

2011-01-01 Thread Fabio Zadrozny
, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer Aptana http://aptana.com/ Pydev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com -- http://mail.python.org/mailman/listinfo/python

Re: Python - NAWIT / Community

2010-12-31 Thread Fabio Zadrozny
My question relates to community contribution. My concern arose when recently installing the pydev.org extensions in Eclipse. Now as far as my understanding goes the licensing on both is open source GPL. However Pydev became open source as part of aptana's acquistion, and for the moment pydev

Re: Eclipse/PyDev - BOM Lexical Error

2010-10-31 Thread Fabio Zadrozny
On Mon, Oct 4, 2010 at 5:03 AM, TheOne daewon.y...@gmail.com wrote: Hi. I installed eclipse/pydev today. I created a pydev project and added python source files with utf-8 BOM. Eclipse/Pydev reports lexical error :  Lexical error at line 1, column 1. Encountered: \ufeff (65279), after :

Pydev 1.6.3 Released

2010-10-05 Thread Fabio Zadrozny
, refactor, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer Aptana http://aptana.com/ Pydev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com -- http://mail.python.org/mailman/listinfo

Pydev 1.6.3 Released

2010-10-05 Thread Fabio Zadrozny
, refactor, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer Aptana http://aptana.com/ Pydev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com -- http://mail.python.org/mailman/listinfo

Pydev 1.6.2 Released

2010-09-07 Thread Fabio Zadrozny
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/ Pydev - Python Development

[issue1654367] [PATCH] Debuggers need a way to change the locals of a frame

2010-08-19 Thread Fabio Zadrozny
Fabio Zadrozny fab...@users.sourceforge.net added the comment: I agree that it'd be cleaner making the frame locals a dict-like object with write access, but I wouldn't be able to do that because of time constraints (and I'd have to research more how to do it and it'd be much more intrusive I

Pydev 1.6.1 Released

2010-08-03 Thread Fabio Zadrozny
that enables users to use Eclipse for Python, Jython and IronPython 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

Re: Pydev 1.6.0 Released

2010-07-22 Thread Fabio Zadrozny
The supposed feature to start a console in which the contents of the current editor window are automatically execed /available still doesn't work for me. I'm talking about this: http://www.pydev.org/manual_adv_interactive_console.html Pressing Ctrl-Alt-Enter, a interactive console opens

Pydev 1.6.0 Released

2010-07-21 Thread Fabio Zadrozny
and many others. Cheers, -- Fabio Zadrozny -- Software Developer Aptana http://aptana.com/ Pydev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com -- http://mail.python.org/mailman/listinfo/python-announce-list

Pydev 1.6.0 Released

2010-07-20 Thread Fabio Zadrozny
and many others. Cheers, -- Fabio Zadrozny -- Software Developer Aptana http://aptana.com/ Pydev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Pydev 1.5.8 Released

2010-06-29 Thread Fabio Zadrozny
On Tue, Jun 29, 2010 at 12:37 AM, ejosvp ejo...@gmail.com wrote: On 28 jun, 22:35, ejosvp ejo...@gmail.com wrote: I have a problem with pydev 1.5.8 An error has occurred. See error log for more details. com.aptana.editor.common.CommonEditorPlugin.getThemeManager()Lcom/

Pydev 1.5.8 Released

2010-06-28 Thread Fabio Zadrozny
-- 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/ Pydev

Pydev 1.5.8 Released

2010-06-28 Thread Fabio Zadrozny
-- 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/ Pydev

How to get the date format from the users locale?

2010-06-25 Thread Fabio Zadrozny
I'm trying to get the locale-aware date format but it doesn't seem to be available through nl_langinfo in python 2.5.4 (windows vista). Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] onType help, copyright, credits or license for more information. import

Re: weird pickle behavior in Python 3.1.2 + Eclipse 3.5.2

2010-06-08 Thread Fabio Zadrozny
On Mon, Jun 7, 2010 at 6:30 AM, Peter Otten __pete...@web.de wrote: kirby.ur...@gmail.com wrote: On Jun 4, 9:47 am, Peter Otten __pete...@web.de wrote: I can provoke the error in naked Python 3 by changing the Example.__module__ attribute: Python 3.1.1+ (r311:74480, Nov  2 2009, 15:45:00)

[issue8943] Bug in InteractiveConsole

2010-06-08 Thread Fabio Zadrozny
New submission from Fabio Zadrozny fab...@users.sourceforge.net: Unable to pickle classes used in the InteractiveConsole. The code attached works in python 2.5 and fails on python 3.1.2. -- components: Library (Lib) files: fast_test.py messages: 107328 nosy: fabioz priority: normal

Re: Do any debuggers support edit and continue?

2010-05-22 Thread Fabio Zadrozny
On Wed, May 12, 2010 at 2:42 PM, Joel Koltner zapwiredashgro...@yahoo.com wrote: Just curious... in Microsoft's Visual Studio (and I would presume some other tools), for many languages (both interpreted and compiled!) there's an edit and conitnue option that, when you hit a breakpoint, allows

Pydev 1.5.7 Released

2010-05-06 Thread Fabio Zadrozny
is a plugin that enables users to use Eclipse for Python, Jython and IronPython 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

2to3 issues with execfile on python 3.0 on files with encoding

2010-05-06 Thread Fabio Zadrozny
Right now, it seems that the default implementation of execfile in 2to3 is something as: exec(compile(open(file).read()+\n, file, 'exec'), globals, locals) But it seems it won't deal with encodings properly... and also, in CPython just making an open without a close is OK, because of the

Pydev 1.5.7 Released

2010-05-06 Thread Fabio Zadrozny
is a plugin that enables users to use Eclipse for Python, Jython and IronPython 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

Re: How to choose a debugger

2010-04-26 Thread Fabio Zadrozny
2010/4/25 sanam singh sanamsi...@hotmail.com: Hi, I want to debug my c++blocks which are dynamically loaded into python for execution. I am using wingide for debugging python. But its limitation is that when c++module is called in python script it doent take me into c++ module. What I want is

Re: PyDev : undefined variable from import

2010-04-26 Thread Fabio Zadrozny
On Mon, Apr 26, 2010 at 12:08 PM, Wanderer wande...@dialup4less.com wrote: Since the last Java update, I get the error, undefined variable from import in Pydev in the Eclipse editor. I can still run the program in Eclipse. If I add a blank line and save the program, the error goes away, but

Re: Pydev 1.5.6 Released (Django Integration)

2010-04-23 Thread Fabio Zadrozny
Pydev 1.5.6 has been released Details on Pydev: http://pydev.org Details on its development: http://pydev.blogspot.com Question, Does it have a feature to evaluate the current edit buffer and continue with an interactive prompt? Yes. See:

Pydev 1.5.6 Released (Django Integration)

2010-04-02 Thread Fabio Zadrozny
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 - Python

Pydev 1.5.6 Released (Django Integration)

2010-04-01 Thread Fabio Zadrozny
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 - Python

Re: Get Eclipse/PyDev to run scripts that don't end in .py

2010-03-31 Thread Fabio Zadrozny
On Wed, Mar 31, 2010 at 6:37 PM, J dreadpiratej...@gmail.com wrote: Is there any way to tell PyDev in Eclipse to run a script that doesn't end in .py?  Even if I have to go and manually set something for each file... I've inherited (in a manner of speaking) a dev project that is done in

Pydev 1.5.5 Released

2010-03-04 Thread Fabio Zadrozny
such as code completion, syntax highlighting, syntax analysis, refactor, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer Aptana http://aptana.com/python Pydev - Python Development Environment for Eclipse http://pydev.org

Pydev 1.5.4 Released

2010-01-19 Thread Fabio Zadrozny
such as code completion, syntax highlighting, syntax analysis, refactor, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer Aptana http://aptana.com/python Pydev - Python Development Environment for Eclipse http://pydev.org

Re: Eclipse Carriage Return Workaround

2009-12-19 Thread Fabio Zadrozny
On Fri, Dec 18, 2009 at 1:38 PM, Steve Holden st...@holdenweb.com wrote: I've written a Python 3 course that uses an Eclipse-based teaching system. The school is telling me that their version of Eclipse/pydev appears to have an input() function that appends a carriage return character to the

Re: Eclipse Carriage Return Workaround

2009-12-19 Thread Fabio Zadrozny
On Sat, Dec 19, 2009 at 8:36 AM, Fabio Zadrozny fabi...@gmail.com wrote: On Fri, Dec 18, 2009 at 1:38 PM, Steve Holden st...@holdenweb.com wrote: I've written a Python 3 course that uses an Eclipse-based teaching system. The school is telling me that their version of Eclipse/pydev appears

Pydev 1.5.2 Released

2009-12-09 Thread Fabio Zadrozny
users to use Eclipse for Python, Jython and IronPython 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

Pydev 1.5.2 Released

2009-12-09 Thread Fabio Zadrozny
users to use Eclipse for Python, Jython and IronPython 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

Re: editor with autocompletion

2009-12-05 Thread Fabio Zadrozny
On Sat, Dec 5, 2009 at 5:19 AM, Siva B sivait...@gmail.com wrote: Hi All, Thanks for your reply. What I want is An Editor which can support Dynamic Languages with Autocomplete. I have my own language with some file extension (for ex: *.fs ) I can add few keywords to editor, it should

Pydev 1.5.1 Released

2009-11-18 Thread Fabio Zadrozny
, refactor, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer Aptana http://aptana.com/python Pydev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com -- http://mail.python.org/mailman

Pydev 1.5.1 Released

2009-11-17 Thread Fabio Zadrozny
, refactor, debug and many others. Cheers, -- Fabio Zadrozny -- Software Developer Aptana http://aptana.com/python Pydev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com -- http://mail.python.org/mailman

Re: Aaaargh! global name 'eggz' is not defined

2009-10-30 Thread Fabio Zadrozny
On Thu, Oct 29, 2009 at 6:48 PM, kj no.em...@please.post wrote: How can one check that a Python script is lexically correct? As my Python apps grow in complexity and execution, I'm finding it more often the situation in which a program dies after a lengthy (i.e. expensive) run because the

Pydev 1.5.0 (Pydev Extensions open sourced)

2009-09-03 Thread Fabio Zadrozny
used subversion will be disabled. Instructions on getting the source code from the new location is available at: http://www.pydev.org/developers.html Best Regards, -- Fabio Zadrozny Aptana http://aptana.com Pydev - Python Development Environment for Eclipse http://pydev.org http

Pydev 1.5.0 (Pydev Extensions open sourced)

2009-09-03 Thread Fabio Zadrozny
used subversion will be disabled. Instructions on getting the source code from the new location is available at: http://www.pydev.org/developers.html Best Regards, -- Fabio Zadrozny Aptana http://aptana.com Pydev - Python Development Environment for Eclipse http://pydev.org http

Pydev 1.4.8 Released

2009-08-22 Thread Fabio Zadrozny
for Python, Jython and Iron Python 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

Re: Strongly typed list

2009-08-17 Thread Fabio Zadrozny
Hello, I am using eclips for python and i am facing a problem. I have many classes with many properties and want a list of objects from one of my declared classes. The problem is:When i am accessing any item from the list, the IDE does not know it's type because in python we do not declare

Re: Eclipse Pydev update error ?

2009-07-24 Thread Fabio Zadrozny
On Fri, Jul 24, 2009 at 4:17 PM, Linuxguy123linuxguy...@gmail.com wrote: Does anyone know why this error is occurring in my Eclipse Pydev update ? An error occurred while collecting items to be installed  No repository found containing: org.python.pydev/osgi.bundle/1.4.7.2843  No repository

Pydev 1.4.7 Released

2009-07-09 Thread Fabio Zadrozny
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

Re: Pydev 1.4.7 Released

2009-07-09 Thread Fabio Zadrozny
Yes. On Thu, Jul 9, 2009 at 3:32 AM, Morten Nygaard Aasnesmorten.aas...@gmail.com wrote: On 2009-07-08, Fabio Zadrozny fabi...@gmail.com wrote: Hi All, Pydev and Pydev Extensions 1.4.7 have been released Details on Pydev Extensions: http://www.fabioz.com/pydev Details on Pydev: http

Pydev 1.4.7 Released

2009-07-08 Thread Fabio Zadrozny
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

Re: Python debugger

2009-07-04 Thread Fabio Zadrozny
Hi, Could you suggest some python debuggers? Thanks, Srini Pydev has a debugger that supports the common debugger features (watches, multiple threads, breakpoints, conditional breakpoints, step in, out, etc -- http://fabioz.com/pydev/manual_adv_debugger.html ), and pydev extensions adds to

Re: GUI(eclipse+pydev/SPE) freeze when doing python auto-completion under Linux

2009-06-19 Thread Fabio Zadrozny
follow the getting started tutorial for that: http://fabioz.com/pydev/manual_101_root.html Cheers, Fabio Thanks James On Fri, Jun 19, 2009 at 9:32 AM, Fabio Zadrozny fabi...@gmail.com wrote: yes, the same problem even on an empty program. every file has the same problem

Re: GUI(eclipse+pydev/SPE) freeze when doing python auto-completion under Linux

2009-06-18 Thread Fabio Zadrozny
yes, the same problem even on an empty program. every file has the same problem. for example, if I new a file and input the following: import os os. after I input '.', it will pop up the window, and i can select the function of os module or continue input. but after that, no action can be

Pydev 1.4.6 Released

2009-05-20 Thread Fabio Zadrozny
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 1.4.6 Released

2009-05-20 Thread Fabio Zadrozny
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

[issue5924] When setting complete PYTHONPATH on Python 3.x, paths in the PYTHONPATH are ignored

2009-05-04 Thread Fabio Zadrozny
New submission from Fabio Zadrozny fab...@users.sourceforge.net: Setting the complete PYTHONPATH in Python 3.x does not work (reported initially for Pydev: https://sourceforge.net/tracker/index.php?func=detailaid=2767830group_id=85796atid=577329 ). Checked on 3.0.1 and 3.1a2. I'm not sure

Re: Python interpreter speed

2009-04-21 Thread Fabio Zadrozny
Further, I have an accounting software which was previously in java, but now in python and the performance gain is ausom. Yes it depends on how we write the code but comparing the 2 at least at the middle layer and front-end (pygtk) python is faster than java. Infact I am most certain that

Re: What IDE support python 3.0.1 ?

2009-04-15 Thread Fabio Zadrozny
I want to start learning python and not wanna waste my time learning python 2.x ,so i need your advise to what IDE to use for python 3.0.1 Pydev supports Python 2.x and 3.x. Cheers, Fabio -- http://mail.python.org/mailman/listinfo/python-list

Pydev 1.4.5 Released

2009-04-13 Thread Fabio Zadrozny
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

Pydev 1.4.5 Released

2009-04-12 Thread Fabio Zadrozny
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

Re: Syntax disagreement between IDLE and pydev?

2009-03-30 Thread Fabio Zadrozny
IDLE (3.1a1) accepts    a,*b = re.split(str,pattern) and does the right thing ('a' gets the first result and 'b' gets the rest). pydev configured to use the exact same Python 3.1a1 runtime doesn't like this syntax (in my source, column 23 is the asterisk): Encountered * at line 32,

Re: i have to change default tab length in pydev

2009-03-30 Thread Fabio Zadrozny
Most such problems are caused by mixing tabs and spaces in the same file.  Pick one style and be consistent, and you'll be in good shape. My approach is to always expand tabs.  My tab key simply gets me to a convenient column, there never are any tabs in my source files. (I don't use either

Re: Unit testing frameworks

2009-03-25 Thread Fabio Zadrozny
Hi Andew, not exactly a framework, but useful while working on small projects - you can run tests from inside eclipse (using the pydev plugin for python). it's easy to run all tests or some small subset (although it is a bit buggy for 3.0). What exactly is not working with 3.0? (couldn't

Re: Unit testing frameworks

2009-03-25 Thread Fabio Zadrozny
sorry for not reporting a bug - i assumed you'd know (and the workarounds described above meant i wasn't stalled). i also have eclipse 3.4.2 with pydev 1.4.4.2636 on a separate machine (ie new versions), and i can try there if you want (it will take a while to get the source there, but is

[issue5460] Python 3.0 grammar is ambiguous with the addition of star_expr

2009-03-09 Thread Fabio Zadrozny
New submission from Fabio Zadrozny fab...@users.sourceforge.net: Note: A discussion related to this bug was raised on: http://mail.python.org/pipermail/python-dev/2009-March/086939.html The following constructs are ambiguous in the Python 3.0 grammar: arglist: (argument

Re: Eclipse And PyDev

2009-03-08 Thread Fabio Zadrozny
Thanks. I noticed that when I was on my windows box at work and I would check it and click apply then ok and when I go back to those prefs and it isn't checked. I did that a few times. I will try it on my Linux box tomorrow at home and see if I have the same results. If it doesn't work for

Re: Eclipse And PyDev

2009-03-07 Thread Fabio Zadrozny
I realize this question may not belong here but I am going to ask anyway to the current users of Eclipse and PyDev.  It's regarding the auto-complete feature.  Say you want to type sys.path.append('yada yada yada'), using say Komodo or IDLE.  When you get to sys.path.ap and type a (, it will

Pydev 1.4.4 Released

2009-02-24 Thread Fabio Zadrozny
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

Pydev 1.4.4 Released

2009-02-24 Thread Fabio Zadrozny
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

Why deepcopy with class with __getattr__ makes the tracing go nuts?

2009-02-19 Thread Fabio Zadrozny
Anyone has any idea why the code attached does not work? Basically, after doing the deepcopy of the class that has __getattr__ overridden, the python tracing facilities don't seem to work anymore. In the code-attached, if the deepcopy is removed, all works as expected (or if __deepcopy__ is

Pydev 1.4.3 Released

2009-02-19 Thread Fabio Zadrozny
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

Why doesn't eval of generator expression work with locals?

2009-01-27 Thread Fabio Zadrozny
Hi All, Anyone knows why the code below gives an error? global_vars = {} local_vars = {'ar':[foo, bar], 'y':bar} print eval('all((x == y for x in ar))', global_vars, local_vars) Error: Traceback (most recent call last): File C:\temp\work\test\src\a.py, line 3, in module print

Re: Why doesn't eval of generator expression work with locals?

2009-01-27 Thread Fabio Zadrozny
On Tue, Jan 27, 2009 at 9:51 PM, James Mills prolo...@shortcircuit.net.au wrote: On Wed, Jan 28, 2009 at 9:31 AM, Fabio Zadrozny fabi...@gmail.com wrote: Anyone knows why the code below gives an error? global_vars = {} local_vars = {'ar':[foo, bar], 'y':bar} print eval('all((x == y for x

Re: Why doesn't eval of generator expression work with locals?

2009-01-27 Thread Fabio Zadrozny
I think you can work around your problem by using the same dictionary for both locals and globals. The locals/globals distinction is not useful in your circumstances. For example, the Python interpreter has these the same: globals() is locals() True Interesting... In my case, what I

Pydev 1.4.2 Released

2009-01-14 Thread Fabio Zadrozny
, -- 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

Pydev 1.4.2 Released

2009-01-13 Thread Fabio Zadrozny
, -- 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

[issue4716] Python 3.0 halts on shutdown when settrace is set

2008-12-22 Thread Fabio Zadrozny
New submission from Fabio Zadrozny fab...@users.sourceforge.net: In Python 3.0, the interpreter will not shutdown properly after setting a tracing function and something goes into stdout. The code attached shows the problem in action: just execute it and notice how the interpreter will be kept

[issue4717] execfile conversion is not correct

2008-12-22 Thread Fabio Zadrozny
New submission from Fabio Zadrozny fab...@users.sourceforge.net: In 2to3, execfile(file, globals, locals) is translated to exec(open(file).read(), globals, locals) But that's not correct, as the actual file from the executed code gets wrong with that. The correct thing would be: exec

[issue4719] sys.exc_clear() not flagged in any way

2008-12-22 Thread Fabio Zadrozny
New submission from Fabio Zadrozny fab...@users.sourceforge.net: sys.exc_clear() does not seem to exist in Python 3.0 anymore, so, a way to deal with it should be provided (maybe put a #TODO comment and point to somewhere explaining what happened?). -- components: 2to3 (2.x to 3.0

[issue4719] sys.exc_clear() not flagged in any way

2008-12-22 Thread Fabio Zadrozny
Fabio Zadrozny fab...@users.sourceforge.net added the comment: When created it was already marked as a 2to3 issue (in the components), so, for clarity, yes: it's a 2to3 issue (what should the user do with that when porting... I think that the 2to3 should do something regarding that... maybe just

[issue4719] sys.exc_clear() not flagged in any way

2008-12-22 Thread Fabio Zadrozny
Fabio Zadrozny fab...@users.sourceforge.net added the comment: 2to3 doesn't deal with anything else that has been removed. That seems a bit odd for me... isn't it the perfect place for that? (it doesn't even need to change the code for a pass, but it could give the user some warning about

[issue4705] python3.0 -u: unbuffered stdout

2008-12-20 Thread Fabio Zadrozny
Fabio Zadrozny fab...@users.sourceforge.net added the comment: Just as a note, Pydev needs the unbuffered output (or it cannot get it). This has been brought up in the python-dev list: http://mail.python.org/pipermail/python-dev/2008-December/084436.html As a workaround for now I'm using

[issue4289] Python 2.6 installer crashes when selecting 'advanced' and cancelling it

2008-11-09 Thread Fabio Zadrozny
New submission from Fabio Zadrozny [EMAIL PROTECTED]: When installing python-2.6.msi it crashes when doing the following steps on a windows XP (32 bit). I'm not sure if all those steps are needed, but that's how it crashed here: - start python-2.6.msi - check 'install just for me' - change

Re: developing python extensions with CDT and Pydev in Eclipse

2008-11-06 Thread Fabio Zadrozny
I have tried all of those things (on Linux), but without success. Has anyone tried this under Linux? Have you asked on CDT? (the basic idea is that python behaves as a regular program launched, so, that should be something straightforward to do). Cheers, Fabio --

Re: developing python extensions with CDT and Pydev in Eclipse

2008-11-04 Thread Fabio Zadrozny
Has anyone been able to use both Pydev and CDT to debug extension modules? The question was asked about a year ago on this list, and I am hoping that someone has figured it out in meantime. Previous answers on that: https://sourceforge.net/forum/message.php?msg_id=4268986

Re: free IDE with removing import and refactoring

2008-10-29 Thread Fabio Zadrozny
I am looking for a python IDE which can remove my unused imports, and can do basic refactoring under windows. If you have Pydev Extensions, it analyzes your source for undefined tokens and is able to make the imports for you (but it doesn't remove the unused imports... especially because this

Pydev 1.3.24 Released

2008-10-28 Thread Fabio Zadrozny
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

<    1   2   3   4   5   6   >