El 08/03/11 02:27, Pierre Raybaut escribió:
On Mar 8, 4:37 am, Carlos Córdoba<[email protected]> wrote:
I already tried it and it's really a terrific improvement! Many thanks
for all your hard work!! :-)
Two more things I would like to mention:
1. Do you plan to support some rope refactoring features in 2.1? I tend
to do a lot of refactoring so it would be really good to have them.
That would be interesting indeed.
But there are 133 opened issues here:
http://code.google.com/p/spyderlib/issues/list
...so we would have to set some priorities!
Glad to hear it. No rush then, maybe for 2.2 :-)
2. It seems trunk is broken for me (although I don't think it's related
to this new feature). When I try to open the Preferences dialog I get
this traceback on the internal console:
>>> Traceback (most recent call last):
File
"/home/carlos/.virtualenvs/spyder_trunk/lib/python2.6/site-packages/spyderl
ib/spyder.py",
line 1254, in edit_preferences
widget = plugin.create_configwidget(dlg)
File
"/home/carlos/.virtualenvs/spyder_trunk/lib/python2.6/site-packages/spyderl
ib/plugins/__init__.py",
line 136, in create_configwidget
configwidget.initialize()
File
"/home/carlos/.virtualenvs/spyder_trunk/lib/python2.6/site-packages/spyderl
ib/plugins/configdialog.py",
line 42, in initialize
self.load_from_conf()
File
"/home/carlos/.virtualenvs/spyder_trunk/lib/python2.6/site-packages/spyderl
ib/plugins/configdialog.py",
line 220, in load_from_conf
checkbox.setChecked(self.get_option(option, default))
File
"/home/carlos/.virtualenvs/spyder_trunk/lib/python2.6/site-packages/spyderl
ib/plugins/__init__.py",
line 191, in get_option
return CONF.get(self.CONF_SECTION, option, default)
File
"/home/carlos/.virtualenvs/spyder_trunk/lib/python2.6/site-packages/spyderl
ib/userconfig.py",
line 238, in get
raise RuntimeError("Unknown option %r" % option)
RuntimeError: Unknown option 'ignore_sip_setapi_errors'
Thanks for this feedback, I simply forgot to add the default option
value in spyderlib/config.py.
That is fixed:
http://code.google.com/p/spyderlib/source/detail?r=0699ef90627e0a6082ded5a70cf4c4259027705f
Cheers,
Pierre
Thanks.
Cheers,
Carlos
Cheers,
Carlos
El 07/03/11 16:36, Pierre Raybaut escribi�:
Hi all,
As some of you may have noticed, Spyder's editor is still suffering of
performance issues when using code completion and calltips. Those
features -which are powered by 'rope'- were sometimes really slow: for
example, the first appearance of code completion list on NumPy could
take 10 seconds on an average machine. This is not acceptable and
would legitimately lead some users to disable these features to avoid
being slown down when typing code.
As I was getting tired of these performance issues, I decided last
week to write a simple test (see the 'rope_profiling' folder in Spyder
sources) and see with the 'rope' team if things could be improved.
After some iterations with the 'rope' project owner, we found a
solution and a patch has now been integrated in Spyder's development
version:
http://code.google.com/p/spyderlib/source/detail?r=d71858d8206c7423be...
The results is that code completion performances have been greatly
improved (on a NumPy example: before the patch, 11 seconds, after the
patch: 200ms...!).
Enjoy! (and please report any related bug)
-Pierre
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/spyderlib?hl=en.