pydev-code Mailing List for PyDev for Eclipse (Page 22)
Brought to you by:
fabioz
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
(14) |
Apr
(18) |
May
(12) |
Jun
(34) |
Jul
(31) |
Aug
(37) |
Sep
(22) |
Oct
(2) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(1) |
Feb
(4) |
Mar
(9) |
Apr
(1) |
May
|
Jun
(2) |
Jul
(24) |
Aug
(3) |
Sep
(5) |
Oct
(3) |
Nov
(3) |
Dec
(5) |
2006 |
Jan
(5) |
Feb
(23) |
Mar
(5) |
Apr
(80) |
May
(26) |
Jun
(13) |
Jul
(13) |
Aug
(4) |
Sep
(31) |
Oct
(24) |
Nov
(6) |
Dec
(2) |
2007 |
Jan
(7) |
Feb
|
Mar
(26) |
Apr
(3) |
May
(8) |
Jun
(6) |
Jul
(11) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
(3) |
2008 |
Jan
(7) |
Feb
(1) |
Mar
(6) |
Apr
(7) |
May
(9) |
Jun
(14) |
Jul
(9) |
Aug
(6) |
Sep
(10) |
Oct
(5) |
Nov
(8) |
Dec
(5) |
2009 |
Jan
(8) |
Feb
(10) |
Mar
(10) |
Apr
(1) |
May
(3) |
Jun
(5) |
Jul
(10) |
Aug
(3) |
Sep
(12) |
Oct
(6) |
Nov
(22) |
Dec
(12) |
2010 |
Jan
(10) |
Feb
(17) |
Mar
(5) |
Apr
(9) |
May
(8) |
Jun
(2) |
Jul
(4) |
Aug
(12) |
Sep
(1) |
Oct
(1) |
Nov
(8) |
Dec
|
2011 |
Jan
(14) |
Feb
(8) |
Mar
(3) |
Apr
(11) |
May
(6) |
Jun
(5) |
Jul
(10) |
Aug
(7) |
Sep
|
Oct
(4) |
Nov
(4) |
Dec
(8) |
2012 |
Jan
|
Feb
(8) |
Mar
(10) |
Apr
(5) |
May
(4) |
Jun
(10) |
Jul
|
Aug
(2) |
Sep
(2) |
Oct
(11) |
Nov
(1) |
Dec
|
2013 |
Jan
(1) |
Feb
(2) |
Mar
(11) |
Apr
(10) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(20) |
Sep
(4) |
Oct
(18) |
Nov
(5) |
Dec
(7) |
2014 |
Jan
(3) |
Feb
(5) |
Mar
(7) |
Apr
(5) |
May
(10) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(7) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
2015 |
Jan
(1) |
Feb
(1) |
Mar
(8) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
(1) |
Aug
(2) |
Sep
(1) |
Oct
(3) |
Nov
(5) |
Dec
(1) |
2016 |
Jan
(26) |
Feb
(10) |
Mar
(4) |
Apr
|
May
(4) |
Jun
(3) |
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
(4) |
Dec
(3) |
2017 |
Jan
(3) |
Feb
|
Mar
(9) |
Apr
(2) |
May
|
Jun
(1) |
Jul
|
Aug
(9) |
Sep
(1) |
Oct
|
Nov
(2) |
Dec
|
2018 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
(3) |
2019 |
Jan
(4) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(4) |
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(4) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
(11) |
2021 |
Jan
(3) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2024 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
From: Fabio Z. <fa...@gm...> - 2009-12-14 22:57:31
|
Not sure if there's a 'standard' practice, but usually I work as: /project /build <- contains several build utilities (SConstruct, an install.py used for code-generation, etc). /libs <- contains generated dlls (when doing 32/64 builds there's a directory inside making the distinction). /source /python <- this is the actual source folder for python /c++ <- c++ source files /c++ bindings <- these are only wrappings for c++ to python (each submodule generates a dll to be imported in python). Cheers, Fabio On Mon, Dec 14, 2009 at 6:39 PM, Randolph Fritz <rfr...@gm...> wrote: > What's current practice for organizing a cross-platform mixed > Python/C++ project directory? Source files under src, obviously. But > what about build files? Do I include the python sources in the > distribution? How do I keep the various platform-dependent files > separate? > > Anyone got a book or a link to recommend? Any specific tips or > gotchas you'd like to mention? > -- > Randolph Fritz > design machine group, architecture department, university of washington > rfritz@u.washington.edu -or- rfr...@gm... > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: Randolph F. <rfr...@gm...> - 2009-12-14 20:39:47
|
What's current practice for organizing a cross-platform mixed Python/C++ project directory? Source files under src, obviously. But what about build files? Do I include the python sources in the distribution? How do I keep the various platform-dependent files separate? Anyone got a book or a link to recommend? Any specific tips or gotchas you'd like to mention? -- Randolph Fritz design machine group, architecture department, university of washington rfritz@u.washington.edu -or- rfr...@gm... |
From: Fabio Z. <fa...@ap...> - 2009-12-09 13:26:11
|
Hi All, Pydev 1.5.2 has been released Details on Pydev: http://pydev.org Details on its development: http://pydev.blogspot.com Release Highlights: ------------------------------- * Profile to have much lower memory requirements (especially on code-analysis rebuilds) * Profile for parsing to be faster * Compare Editor o Syntax highlighting integrated o Editions use the pydev editor behavior o Code completion works * Fixed issue where pydev could deadlock * No longer reporting import redefinitions and unused variables for the initial parts of imports such as import os.path * Fixed issue where pydev was removing __classpath__ from the pythonpath in jython * Using M1, M2 and M3 for keys instead of hardcoding Ctrl, Shift and Alt (which should make keybindings right on Mac OS) * Fixed some menus and popups * Properly categorizing Pydev views * Handling binary numbers in the python 2.6 and 3.0 grammar * from __future__ import print_function works on python 2.6 * Added drag support from the pydev package explorer * Properly translating slashes on client/server debug * Other minor fixes What is PyDev? --------------------------- PyDev 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 ------------------------------------------------------ Software Developer Aptana http://aptana.com/python Pydev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com |
From: Leo S. M. <leo...@gm...> - 2009-11-26 19:10:06
|
On Thu, Nov 26, 2009 at 3:33 PM, Fabio Zadrozny <fa...@gm...> wrote: [...] > The com packages are related to the features that were previously from > pydev extensions (mostly code-analysis / code-completion using all the > tokens in the workspace / remote debugger / rename refactoring). Oh, I see, that's why they seem alien to me. BTW, kudos for opensourcing that part of PyDev! -- Leo Soto M. http://blog.leosoto.com |
From: Fabio Z. <fa...@es...> - 2009-11-26 18:58:24
|
Hi Leo, On Thu, Nov 26, 2009 at 2:01 PM, Leo Soto M. <leo...@gm...> wrote: > Hello, > > I'm in the process of "rebasing" my Django support prototype done in > March to the current development version. This time I'm aiming a bit > higher, which means that I'd love to see the code on Pydev itself. > Which means that I need to polish the code a lot and write *tests* for > it. And make sure I'm not breaking anything, of course :) > > So here is my question: > > How is the PyDev test suite supposed to be ran? > > Right now I'm running the JUnit suite from > org.python.pydev.runalltests.AllTests but I'm getting lots of errors > (~250). Some of them are surely due to not having Python3 nor > IronPython on my system but still, I'd like to know if I'm running the > test suite in the right way. > > BTW, I had to run the suite as "JUnit Test" and not as a "JUnit > Plug-in Test" since the last one isn't working at all for me (but > seems like a OSX/JDK specific problem. That's the correct way to run them -- the one to run is \com.python.pydev.runalltests\src\com\python\pydev\runalltests2\AllTests.java -- and the AllWorkbenchTests needs to be run as a Plug-in test (but that one is kind of brittle right now because of some threading issues). Cheers, Fabio |
From: Fabio Z. <fa...@gm...> - 2009-11-26 18:33:59
|
Hi Leo, On Thu, Nov 26, 2009 at 2:11 PM, Leo Soto M. <leo...@gm...> wrote: > On Thu, Nov 26, 2009 at 1:01 PM, Leo Soto M. <leo...@gm...> wrote: > > [...] >> Right now I'm running the JUnit suite from >> org.python.pydev.runalltests.AllTests > > Oh and I just realized that there is a com.python.pydev.runalltests > project too. In fact, there are many projects with the > com.python.pydev/org.python.pydev duplication. > > Which one is the preferred namespace? If I want to patch the > pydev.debug project, should I write the patch against > org.python.pydev.debug or com.python.pydev.debug? The runtests to be used is com.python.pydev.runalltests (which runs all the org and com tests). As for the patching, usually the org packages should be used. The com packages are related to the features that were previously from pydev extensions (mostly code-analysis / code-completion using all the tokens in the workspace / remote debugger / rename refactoring). Cheers, Fabio > > Regards, > -- > Leo Soto M. > http://blog.leosoto.com > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: Leo S. M. <leo...@gm...> - 2009-11-26 16:12:08
|
On Thu, Nov 26, 2009 at 1:01 PM, Leo Soto M. <leo...@gm...> wrote: [...] > Right now I'm running the JUnit suite from > org.python.pydev.runalltests.AllTests Oh and I just realized that there is a com.python.pydev.runalltests project too. In fact, there are many projects with the com.python.pydev/org.python.pydev duplication. Which one is the preferred namespace? If I want to patch the pydev.debug project, should I write the patch against org.python.pydev.debug or com.python.pydev.debug? Regards, -- Leo Soto M. http://blog.leosoto.com |
From: Leo S. M. <leo...@gm...> - 2009-11-26 16:01:13
|
Hello, I'm in the process of "rebasing" my Django support prototype done in March to the current development version. This time I'm aiming a bit higher, which means that I'd love to see the code on Pydev itself. Which means that I need to polish the code a lot and write *tests* for it. And make sure I'm not breaking anything, of course :) So here is my question: How is the PyDev test suite supposed to be ran? Right now I'm running the JUnit suite from org.python.pydev.runalltests.AllTests but I'm getting lots of errors (~250). Some of them are surely due to not having Python3 nor IronPython on my system but still, I'd like to know if I'm running the test suite in the right way. BTW, I had to run the suite as "JUnit Test" and not as a "JUnit Plug-in Test" since the last one isn't working at all for me (but seems like a OSX/JDK specific problem. Regards, -- Leo Soto M. http://blog.leosoto.com |
From: vincent l. <lap...@ho...> - 2009-11-20 19:03:10
|
Ticket done. Thanks Vincent ---------------------------------------- > Date: Thu, 19 Nov 2009 20:22:14 -0200 > From: fa...@es... > To: pyd...@li... > Subject: Re: [Pydev-code] Default argument values in Code completion > > See: http://pydev.org/faq.html#how_do_i_report_a_feature_request > > Cheers, > > Fabio > > On Thu, Nov 19, 2009 at 8:06 PM, vincent lapointe > wrote: >> >> >> Hi, >> >> Where should I make a feature request? >> >> Thanks >> >> >> >> ---------------------------------------- >>> Date: Thu, 19 Nov 2009 17:34:20 -0200 >>> From: fa...@es... >>> To: pyd...@li... >>> Subject: Re: [Pydev-code] Default argument values in Code completion >>> >>> Hi Vincent, >>> >>> This is not planned. >>> >>> Please add a feature request for that (that would be added as a >>> preference -- in general, I think the current behavior is nicer -- >>> although it should appear in the tooltip). >>> >>> Cheers, >>> >>> Fabio >>> >>> On Thu, Nov 19, 2009 at 4:20 PM, vincent lapointe >>> wrote: >>>> >>>> Hi, >>>> >>>> >>>> I have the following function define in Python: >>>> >>>> def toto(a=1): >>>> "this is a function with a default value for argument 1" >>>> print a >>>> >>>> Then when working with pydev, many features of pydev don't take care of the default value. >>>> >>>> Example: >>>> >>>> 1- When typing the name of the function in the pydev console, pydev show a code completion dialog but the default argument doesn't appear. See attachment codeCompletion.bmp >>>> >>>> 2- Then when I press the carriage return key (on the completion dialog), pydev adds argument of the function without taking care of my default argument. See attachment codeCompletion2.bmp. >>>> >>>> I think I would prefer that Pydev doesn't add argument with default value when pressing return key. >>>> >>>> Also note that the tooltip that appears above the code doesn't mention the default argument >>>> >>>> 3- When I use the pydev editor, I have similar behaviours for code completion >>>> >>>> Is this feature planned in a next release? >>>> >>>> >>>> Thanks >>>> >>>> Vincent >>>> >>>> >>>> _________________________________________________________________ >>>> Windows Live: Keep your friends up to date with what you do online. >>>> http://go.microsoft.com/?linkid=9691815 >>>> ------------------------------------------------------------------------------ >>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>> trial. Simplify your report design, integration and deployment - and focus on >>>> what you do best, core application coding. Discover what's new with >>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>> _______________________________________________ >>>> pydev-code mailing list >>>> pyd...@li... >>>> https://lists.sourceforge.net/lists/listinfo/pydev-code >>>> >>>> >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> pydev-code mailing list >>> pyd...@li... >>> https://lists.sourceforge.net/lists/listinfo/pydev-code >> _________________________________________________________________ >> Windows Live: Make it easier for your friends to see what you’re up to on Facebook. >> http://go.microsoft.com/?linkid=9691816 >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> pydev-code mailing list >> pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-code >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code _________________________________________________________________ Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you. http://go.microsoft.com/?linkid=9691817 |
From: Fabio Z. <fa...@es...> - 2009-11-19 22:22:27
|
See: http://pydev.org/faq.html#how_do_i_report_a_feature_request Cheers, Fabio On Thu, Nov 19, 2009 at 8:06 PM, vincent lapointe <lap...@ho...> wrote: > > > Hi, > > Where should I make a feature request? > > Thanks > > > > ---------------------------------------- >> Date: Thu, 19 Nov 2009 17:34:20 -0200 >> From: fa...@es... >> To: pyd...@li... >> Subject: Re: [Pydev-code] Default argument values in Code completion >> >> Hi Vincent, >> >> This is not planned. >> >> Please add a feature request for that (that would be added as a >> preference -- in general, I think the current behavior is nicer -- >> although it should appear in the tooltip). >> >> Cheers, >> >> Fabio >> >> On Thu, Nov 19, 2009 at 4:20 PM, vincent lapointe >> wrote: >>> >>> Hi, >>> >>> >>> I have the following function define in Python: >>> >>> def toto(a=1): >>> "this is a function with a default value for argument 1" >>> print a >>> >>> Then when working with pydev, many features of pydev don't take care of the default value. >>> >>> Example: >>> >>> 1- When typing the name of the function in the pydev console, pydev show a code completion dialog but the default argument doesn't appear. See attachment codeCompletion.bmp >>> >>> 2- Then when I press the carriage return key (on the completion dialog), pydev adds argument of the function without taking care of my default argument. See attachment codeCompletion2.bmp. >>> >>> I think I would prefer that Pydev doesn't add argument with default value when pressing return key. >>> >>> Also note that the tooltip that appears above the code doesn't mention the default argument >>> >>> 3- When I use the pydev editor, I have similar behaviours for code completion >>> >>> Is this feature planned in a next release? >>> >>> >>> Thanks >>> >>> Vincent >>> >>> >>> _________________________________________________________________ >>> Windows Live: Keep your friends up to date with what you do online. >>> http://go.microsoft.com/?linkid=9691815 >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> pydev-code mailing list >>> pyd...@li... >>> https://lists.sourceforge.net/lists/listinfo/pydev-code >>> >>> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> pydev-code mailing list >> pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-code > _________________________________________________________________ > Windows Live: Make it easier for your friends to see what you’re up to on Facebook. > http://go.microsoft.com/?linkid=9691816 > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: vincent l. <lap...@ho...> - 2009-11-19 22:06:48
|
Hi, Where should I make a feature request? Thanks ---------------------------------------- > Date: Thu, 19 Nov 2009 17:34:20 -0200 > From: fa...@es... > To: pyd...@li... > Subject: Re: [Pydev-code] Default argument values in Code completion > > Hi Vincent, > > This is not planned. > > Please add a feature request for that (that would be added as a > preference -- in general, I think the current behavior is nicer -- > although it should appear in the tooltip). > > Cheers, > > Fabio > > On Thu, Nov 19, 2009 at 4:20 PM, vincent lapointe > wrote: >> >> Hi, >> >> >> I have the following function define in Python: >> >> def toto(a=1): >> "this is a function with a default value for argument 1" >> print a >> >> Then when working with pydev, many features of pydev don't take care of the default value. >> >> Example: >> >> 1- When typing the name of the function in the pydev console, pydev show a code completion dialog but the default argument doesn't appear. See attachment codeCompletion.bmp >> >> 2- Then when I press the carriage return key (on the completion dialog), pydev adds argument of the function without taking care of my default argument. See attachment codeCompletion2.bmp. >> >> I think I would prefer that Pydev doesn't add argument with default value when pressing return key. >> >> Also note that the tooltip that appears above the code doesn't mention the default argument >> >> 3- When I use the pydev editor, I have similar behaviours for code completion >> >> Is this feature planned in a next release? >> >> >> Thanks >> >> Vincent >> >> >> _________________________________________________________________ >> Windows Live: Keep your friends up to date with what you do online. >> http://go.microsoft.com/?linkid=9691815 >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> pydev-code mailing list >> pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-code >> >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code _________________________________________________________________ Windows Live: Make it easier for your friends to see what you’re up to on Facebook. http://go.microsoft.com/?linkid=9691816 |
From: Fabio Z. <fa...@es...> - 2009-11-19 19:34:31
|
Hi Vincent, This is not planned. Please add a feature request for that (that would be added as a preference -- in general, I think the current behavior is nicer -- although it should appear in the tooltip). Cheers, Fabio On Thu, Nov 19, 2009 at 4:20 PM, vincent lapointe <lap...@ho...> wrote: > > Hi, > > > I have the following function define in Python: > > def toto(a=1): > "this is a function with a default value for argument 1" > print a > > Then when working with pydev, many features of pydev don't take care of the default value. > > Example: > > 1- When typing the name of the function in the pydev console, pydev show a code completion dialog but the default argument doesn't appear. See attachment codeCompletion.bmp > > 2- Then when I press the carriage return key (on the completion dialog), pydev adds argument of the function without taking care of my default argument. See attachment codeCompletion2.bmp. > > I think I would prefer that Pydev doesn't add argument with default value when pressing return key. > > Also note that the tooltip that appears above the code doesn't mention the default argument > > 3- When I use the pydev editor, I have similar behaviours for code completion > > Is this feature planned in a next release? > > > Thanks > > Vincent > > > _________________________________________________________________ > Windows Live: Keep your friends up to date with what you do online. > http://go.microsoft.com/?linkid=9691815 > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > > |
From: vincent l. <lap...@ho...> - 2009-11-19 18:21:02
|
Hi, I have the following function define in Python: def toto(a=1): "this is a function with a default value for argument 1" print a Then when working with pydev, many features of pydev don't take care of the default value. Example: 1- When typing the name of the function in the pydev console, pydev show a code completion dialog but the default argument doesn't appear. See attachment codeCompletion.bmp 2- Then when I press the carriage return key (on the completion dialog), pydev adds argument of the function without taking care of my default argument. See attachment codeCompletion2.bmp. I think I would prefer that Pydev doesn't add argument with default value when pressing return key. Also note that the tooltip that appears above the code doesn't mention the default argument 3- When I use the pydev editor, I have similar behaviours for code completion Is this feature planned in a next release? Thanks Vincent _________________________________________________________________ Windows Live: Keep your friends up to date with what you do online. http://go.microsoft.com/?linkid=9691815 |
From: Doubleday, D. <ddo...@vo...> - 2009-11-18 15:24:04
|
We use the WindowTester tool from Instantiations to test our plugins. It is a great tool. And you can run it on your build machine, but your build machine has to have a display to test GUI behavior. Dennis Doubleday Enterprise Software Architect Vocollect, Inc. -----Original Message----- From: Thomas Johnsson [mailto:th...@sk...] Sent: Wednesday, November 18, 2009 9:34 AM To: pyd...@li... Subject: [Pydev-code] Regression testing of pydev-related plugins Now that we have written a plugin which is an add-on to pydev, the issue of regression testing has come up ... When it comes to regression testing of such plug-ins, what approach would you recommend? Tests need to be able to run batch, e.g. nighly, and test gui behaviour in particular. Words of advice most welcomed! Cheers, -- Thomas Johnsson Jeppesen Systems, Göteborg, Sweden ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ pydev-code mailing list pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-code |
From: Thomas J. <th...@sk...> - 2009-11-18 14:58:22
|
Now that we have written a plugin which is an add-on to pydev, the issue of regression testing has come up ... When it comes to regression testing of such plug-ins, what approach would you recommend? Tests need to be able to run batch, e.g. nighly, and test gui behaviour in particular. Words of advice most welcomed! Cheers, -- Thomas Johnsson Jeppesen Systems, Göteborg, Sweden |
From: Fabio Z. <fa...@ap...> - 2009-11-17 23:09:19
|
Hi All, Pydev 1.5.1 has been released Details on Pydev: http://pydev.org Details on its development: http://pydev.blogspot.com Release Highlights: ------------------------------- * Improvements in the AST rewriter * Improvements on the refactoring engine: o No longer using BRM o Merged with the latest PEPTIC o Inline local available o Extract method bug-fixes o Extract local on multi-line o Generating properties using coding style defined in preferences o Add after current method option added to extract method o A bunch of other corner-case situations were fixed * Bug-fixes: o Minor editor improvements o Adding default forced builtins on all platforms (e.g.: time, math, etc) which wouldn't be on sys.builtin_module_names on some python installations o Adding 'numpy' and 'Image' to the forced builtins always o Ctrl+1: Generate docstring minor fixes o Ctrl+1: Assign to local now follows coding style preferences properly o Exponential with uppercase E working on code-formatting o When a set/get method is found in code-completion for a java class an NPE is no longer thrown o Backspace properly treated in block mode o Setting IRONPYTHONPATH when dealing with Iron Python (projects could not be referenced) o No longer giving spurious 'statement has no effect' inside of lambda and decorators o Fixed new exec in python 3k o Fixed NPE when breakpoint is related to a resource in a removed project o Fixed import problem on regexp that could lead to a recursion. o No longer giving NPE when debugging with the register view open o List access be treated as __getitem__() in the list -- patch from Tassilo Barth o Fix for invalid auto-self added when typing What is PyDev? --------------------------- PyDev is a plugin that enables users to use Eclipse 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 ------------------------------------------------------ Software Developer Aptana http://aptana.com/python Pydev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com |
From: vincent l. <lap...@ho...> - 2009-11-06 15:47:48
|
<cfb...@ma...> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi Fabio=2C =20 I made the modifications based on what you suggested. =20 However=2C when I apply the changes=2C all opened projects with python natu= re throw the following exception. (Note that pydev console also generated a= similar exception) =20 Invalid interpreter: Default configured for project: Project1. org.python.pydev.core.ProjectMisconfiguredException: Invalid interpreter: D= efault configured for project: Project1. at org.python.pydev.plugin.nature.PythonNature.getProjectInterpreter(Pytho= nNature.java:1051) at org.python.pydev.plugin.nature.PythonNature.getConfigErrorsAndInfo(Pyth= onNature.java:1100) at org.python.pydev.navigator.ProjectInfoForPackageExplorer.getConfigError= sAndInfo(ProjectInfoForPackageExplorer.java:79) at org.python.pydev.navigator.ProjectInfoForPackageExplorer.recreateInfo(P= rojectInfoForPackageExplorer.java:53) at org.python.pydev.navigator.PythonBaseModelProvider.internalDoNotifyPyth= onPathRebuilt(PythonBaseModelProvider.java:289) at org.python.pydev.navigator.PythonBaseModelProvider$Updater.run(PythonBa= seModelProvider.java:193) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Then=2C if I close my rcp application and reopen it=2C the projects with py= thon nature and the pydev console work correctly=20 =20 Moreover=2C I checked the configuration of the interpreter in the preferenc= e page and all settings are exactly the same as when configured automatical= ly. Note that I set an empty dll list in the InterpreterInfo. =20 So=2C is it normal that I should close my rcp application before the new in= terpreter works correctly? =20 =20 Thank again =20 Vincent =20 _________________________________________________________________ Ready. Set. Get a great deal on Windows 7. See fantastic deals on Windows 7= now http://go.microsoft.com/?linkid=3D9691818= |
From: Fabio Z. <fa...@es...> - 2009-11-05 22:57:57
|
> I'm changing the INTERPRETER_PATH_NEW preference with the preference store of the pydev plugin. How can I send a refresh command to the pydev plugin to make sure it is updated? > > See the sample below... > > > Note: sometimes, pydev automatically detected my preference change and automatically refresh the plugin, but sometimes it doesn't. Is there a particular reason? > > Thanks > > Vincent > > > /** > * String template used to define the interpreter value > */ > private static final String INTERPRETER_PATH_NEW_TEMPLATE = > "Version$versionExecutable:" + pathTag + "\\python.exe|" + > "$path\\DLLs|" + > "$path\\lib|" + > "$path\\lib\\lib-tk|" + > "$path|" + > "$path\\lib\\site-packages|" + > "$path\\lib\\site-packages\\win32|" + > "$path\\lib\\site-packages\\win32\\lib|" + > "$path\\lib\\site-packages\\Pythonwin@$|" + > "OpenGL|__builtin__|__main__|_codecs|_hotshot|_locale|_weakref|array|audioop|binascii|cPickle|cStringIO|cmath|email|errno|exceptions|gc|imageop|imp|marshal|math|md5|msvcrt|new|nt|operator|os|pcre|regex|rgbimg|rotor|sha|signal|strop|struct|sys|thread|time|wx|wxPython|xreadlines|xxsubtype&&&&&"; > > > private void setPydevInterpreter(File pythonRootDirExecFile, String version) { > > String pythonPath = pythonRootDirExecFile.getAbsolutePath(); > > // Calculate interpreter value > String interpreterValue = INTERPRETER_PATH_NEW_TEMPLATE; > > // replace version > interpreterValue = interpreterValue.replace("$version", version); > > // replace python path > interpreterValue = interpreterValue.replace("$path", pythonPath); > > // Set INTERPRETER_PATH_NEW preference > pydevPlugin.getPreferenceStore().setValue(INTERPRETER_PATH_NEW, interpreterValue); > > // Refresh pydev plugin > // How can I force the refresh of the plugin > > } > Hi Vincent. The actual way to create an interpreter would be something as: IInterpreterManager iMan = PydevPlugin.getPythonInterpreterManager(true); IInterpreterInfo interpreterInfo = ... (create your interpreter info here) iMan.addInterpreterInfo(interpreterInfo); iMan.restorePythopathForAllInterpreters(monitor); iMan.setPersistedString(iMan.getStringToPersist(new IInterpreterInfo[]{interpreterInfo})); iMan.saveInterpretersInfoModulesManager(); Cheers, Fabio |
From: Randolph F. <rfr...@gm...> - 2009-11-05 22:20:15
|
> On Tue, Nov 3, 2009 at 9:11 PM, Randolph Fritz <rfr...@gm...> wrote: >> [description of mixed C++/Python project] On 2009-11-05, Fabio Zadrozny <fa...@es...> wrote: > > Both approaches work... [...] Thanks! That helps a lot! Randolph -- Randolph Fritz design machine group, architecture department, university of washington rfritz@u.washington.edu -or- rfr...@gm... |
From: vincent l. <lap...@ho...> - 2009-11-05 22:09:08
|
<cfb...@ma...> Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi Fabio=2C =20 I will check the difficulty... :-)=20 =20 Thanks ---------------------------------------- > Date: Thu=2C 5 Nov 2009 10:32:40 -0200 > From: fa...@es... > To: pyd...@li... > Subject: Re: [Pydev-code] Open python console without dialog > > Not right now=2C but if you want=2C you can create an > createInteractiveLaunch() with receiving parameters instead of opening > the dialog (whith the current createInteractiveLaunch() calling it) > and submit that as a patch -- and I'll apply it for the next release. > > Cheers=2C > > Fabio > > On Wed=2C Nov 4=2C 2009 at 3:40 PM=2C vincent lapointe > wrote: >> >> >> Hi=2C >> >> I'm using the following code (extract from the PydevConsoleFactory) to o= pen programmatically a python console. When the createInteractiveLaunch met= hod is called=2C the application prompt for the type of dialog I want to op= en. Is there a way to open the console without showing the dialog and to au= tomatically select the Python Console type? >> >> >> private void function() { >> ScriptConsoleManager manager =3D ScriptConsoleManager.getInstance()=3B >> try { >> PydevConsoleInterpreter interpreter =3D createDefaultPydevInterpreter()= =3B >> if(interpreter !=3D null){ >> PydevConsole console =3D new PydevConsole(interpreter)=3B >> manager.add(console=2C true)=3B >> } >> } catch (Exception e) { >> PydevPlugin.log(e)=3B >> } >> } >> >> private PydevConsoleInterpreter createDefaultPydevInterpreter() throws E= xception=2C UserCanceledException { >> IProcessFactory iprocessFactory =3D new IProcessFactory()=3B >> Tuple3 launchAndProcess =3D iprocessFactory.createInteractiveLaunch()=3B >> >> if(launchAndProcess =3D=3D null){ >> return null=3B >> } >> final ILaunch launch =3D launchAndProcess.o1=3B >> if(launch =3D=3D null){ >> return null=3B >> } >> PydevConsoleInterpreter consoleInterpreter =3D new PydevConsoleInterpret= er()=3B >> int port =3D Integer.parseInt(launch.getAttribute(IProcessFactory.INTERA= CTIVE_LAUNCH_PORT))=3B >> consoleInterpreter.setConsoleCommunication(new PydevConsoleCommunication= (port=2C launchAndProcess.o2=2C launchAndProcess.o3))=3B >> consoleInterpreter.setNaturesUsed(iprocessFactory.getNaturesUsed())=3B >> >> PydevDebugPlugin.getDefault().addConsoleLaunch(launch)=3B >> >> consoleInterpreter.addCloseOperation(new Runnable() { >> public void run() { >> PydevDebugPlugin.getDefault().removeConsoleLaunch(launch)=3B >> } >> })=3B >> return consoleInterpreter=3B >> } >> >> Thank >> >> Vincent >> >> >> _________________________________________________________________ >> Windows Live: Keep your friends up to date with what you do online. >> http://go.microsoft.com/?linkid=3D9691815 >> ------------------------------------------------------------------------= ------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-= Day >> trial. Simplify your report design=2C integration and deployment - and f= ocus on >> what you do best=2C core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> pydev-code mailing list >> pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-code >> > > -------------------------------------------------------------------------= ----- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-D= ay > trial. Simplify your report design=2C integration and deployment - and fo= cus on > what you do best=2C core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code =20 _________________________________________________________________ Windows Live: Make it easier for your friends to see what you=92re up to on= Facebook. http://go.microsoft.com/?linkid=3D9691816= |
From: vincent l. <lap...@ho...> - 2009-11-05 21:47:06
|
Hi, I'm changing the INTERPRETER_PATH_NEW preference with the preference store of the pydev plugin. How can I send a refresh command to the pydev plugin to make sure it is updated? See the sample below... Note: sometimes, pydev automatically detected my preference change and automatically refresh the plugin, but sometimes it doesn't. Is there a particular reason? Thanks Vincent /** * String template used to define the interpreter value */ private static final String INTERPRETER_PATH_NEW_TEMPLATE = "Version$versionExecutable:" + pathTag + "\\python.exe|" + "$path\\DLLs|" + "$path\\lib|" + "$path\\lib\\lib-tk|" + "$path|" + "$path\\lib\\site-packages|" + "$path\\lib\\site-packages\\win32|" + "$path\\lib\\site-packages\\win32\\lib|" + "$path\\lib\\site-packages\\Pythonwin@$|" + "OpenGL|__builtin__|__main__|_codecs|_hotshot|_locale|_weakref|array|audioop|binascii|cPickle|cStringIO|cmath|email|errno|exceptions|gc|imageop|imp|marshal|math|md5|msvcrt|new|nt|operator|os|pcre|regex|rgbimg|rotor|sha|signal|strop|struct|sys|thread|time|wx|wxPython|xreadlines|xxsubtype&&&&&"; private void setPydevInterpreter(File pythonRootDirExecFile, String version) { String pythonPath = pythonRootDirExecFile.getAbsolutePath(); // Calculate interpreter value String interpreterValue = INTERPRETER_PATH_NEW_TEMPLATE; // replace version interpreterValue = interpreterValue.replace("$version", version); // replace python path interpreterValue = interpreterValue.replace("$path", pythonPath); // Set INTERPRETER_PATH_NEW preference pydevPlugin.getPreferenceStore().setValue(INTERPRETER_PATH_NEW, interpreterValue); // Refresh pydev plugin // How can I force the refresh of the plugin } _________________________________________________________________ Windows Live: Keep your friends up to date with what you do online. http://go.microsoft.com/?linkid=9691815 |
From: Fabio Z. <fa...@es...> - 2009-11-05 12:43:26
|
Hi Randolph, On Tue, Nov 3, 2009 at 9:11 PM, Randolph Fritz <rfr...@gm...> wrote: > I have a project with a Python GUI, some boost.python C++ > visualization modules, & some external libraries I am try to import to > Eclipse. I need to be able to build and debug these together. > > What's the best way to approach this problem? Establish two separate > Eclipse projects for the Python and C++ code? Or...? Both approaches work... If you choose to put them in the same project, you have to add the folder that has the dlls created as a source to your pythopath. If you create 2 projects, you still have to set the C++ project as a pydev project and add the source folder to the pythonpath, and you also have to add a reference to that project from your pydev project. Personally, I think separating projects is better (as it's easier to configure the C++ portion of things). Don't forget that you have to do a ctrl+2+kill (with focus on the pydev editor) before you recompile your libraries (this is needed because the python shell spawned may lock those libraries and so that the shell is restarted to get the new completions from those dlls). > > Also, does PyDev provide any support for distutils? > Not right now. Cheers, Fabio > > -- > Randolph Fritz > design machine group, architecture department, university of washington > rfritz@u.washington.edu -or- rfr...@gm... > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: Fabio Z. <fa...@es...> - 2009-11-05 12:33:01
|
Not right now, but if you want, you can create an createInteractiveLaunch() with receiving parameters instead of opening the dialog (whith the current createInteractiveLaunch() calling it) and submit that as a patch -- and I'll apply it for the next release. Cheers, Fabio On Wed, Nov 4, 2009 at 3:40 PM, vincent lapointe <lap...@ho...> wrote: > > > Hi, > > I'm using the following code (extract from the PydevConsoleFactory) to open programmatically a python console. When the createInteractiveLaunch method is called, the application prompt for the type of dialog I want to open. Is there a way to open the console without showing the dialog and to automatically select the Python Console type? > > > private void function() { > ScriptConsoleManager manager = ScriptConsoleManager.getInstance(); > try { > PydevConsoleInterpreter interpreter = createDefaultPydevInterpreter(); > if(interpreter != null){ > PydevConsole console = new PydevConsole(interpreter); > manager.add(console, true); > } > } catch (Exception e) { > PydevPlugin.log(e); > } > } > > private PydevConsoleInterpreter createDefaultPydevInterpreter() throws Exception, UserCanceledException { > IProcessFactory iprocessFactory = new IProcessFactory(); > Tuple3<Launch, Process, Integer> launchAndProcess = iprocessFactory.createInteractiveLaunch(); > > if(launchAndProcess == null){ > return null; > } > final ILaunch launch = launchAndProcess.o1; > if(launch == null){ > return null; > } > PydevConsoleInterpreter consoleInterpreter = new PydevConsoleInterpreter(); > int port = Integer.parseInt(launch.getAttribute(IProcessFactory.INTERACTIVE_LAUNCH_PORT)); > consoleInterpreter.setConsoleCommunication(new PydevConsoleCommunication(port, launchAndProcess.o2, launchAndProcess.o3)); > consoleInterpreter.setNaturesUsed(iprocessFactory.getNaturesUsed()); > > PydevDebugPlugin.getDefault().addConsoleLaunch(launch); > > consoleInterpreter.addCloseOperation(new Runnable() { > public void run() { > PydevDebugPlugin.getDefault().removeConsoleLaunch(launch); > } > }); > return consoleInterpreter; > } > > Thank > > Vincent > > > _________________________________________________________________ > Windows Live: Keep your friends up to date with what you do online. > http://go.microsoft.com/?linkid=9691815 > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code > |
From: vincent l. <lap...@ho...> - 2009-11-04 17:40:25
|
Hi, I'm using the following code (extract from the PydevConsoleFactory) to open programmatically a python console. When the createInteractiveLaunch method is called, the application prompt for the type of dialog I want to open. Is there a way to open the console without showing the dialog and to automatically select the Python Console type? private void function() { ScriptConsoleManager manager = ScriptConsoleManager.getInstance(); try { PydevConsoleInterpreter interpreter = createDefaultPydevInterpreter(); if(interpreter != null){ PydevConsole console = new PydevConsole(interpreter); manager.add(console, true); } } catch (Exception e) { PydevPlugin.log(e); } } private PydevConsoleInterpreter createDefaultPydevInterpreter() throws Exception, UserCanceledException { IProcessFactory iprocessFactory = new IProcessFactory(); Tuple3<Launch, Process, Integer> launchAndProcess = iprocessFactory.createInteractiveLaunch(); if(launchAndProcess == null){ return null; } final ILaunch launch = launchAndProcess.o1; if(launch == null){ return null; } PydevConsoleInterpreter consoleInterpreter = new PydevConsoleInterpreter(); int port = Integer.parseInt(launch.getAttribute(IProcessFactory.INTERACTIVE_LAUNCH_PORT)); consoleInterpreter.setConsoleCommunication(new PydevConsoleCommunication(port, launchAndProcess.o2, launchAndProcess.o3)); consoleInterpreter.setNaturesUsed(iprocessFactory.getNaturesUsed()); PydevDebugPlugin.getDefault().addConsoleLaunch(launch); consoleInterpreter.addCloseOperation(new Runnable() { public void run() { PydevDebugPlugin.getDefault().removeConsoleLaunch(launch); } }); return consoleInterpreter; } Thank Vincent _________________________________________________________________ Windows Live: Keep your friends up to date with what you do online. http://go.microsoft.com/?linkid=9691815 |
From: Randolph F. <rfr...@gm...> - 2009-11-03 23:15:20
|
I have a project with a Python GUI, some boost.python C++ visualization modules, & some external libraries I am try to import to Eclipse. I need to be able to build and debug these together. What's the best way to approach this problem? Establish two separate Eclipse projects for the Python and C++ code? Or...? Also, does PyDev provide any support for distutils? -- Randolph Fritz design machine group, architecture department, university of washington rfritz@u.washington.edu -or- rfr...@gm... |