mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
move history to features and caveats
This commit is contained in:
@@ -96,3 +96,34 @@ means one import and no more. So basically the only dangerous thing is using
|
|||||||
the import itself. If your ``c_builtin`` uses some strange initializations, it
|
the import itself. If your ``c_builtin`` uses some strange initializations, it
|
||||||
might be dangerous. But if it does you're screwed anyways, because eventualy
|
might be dangerous. But if it does you're screwed anyways, because eventualy
|
||||||
you're going to execute your code, which executes the import.
|
you're going to execute your code, which executes the import.
|
||||||
|
|
||||||
|
|
||||||
|
A little history
|
||||||
|
----------------
|
||||||
|
|
||||||
|
The Star Wars Jedi are awesome. My Jedi software tries to imitate a little bit
|
||||||
|
of the precognition the Jedi have. There's even an awesome `scene
|
||||||
|
<http://www.youtube.com/watch?v=5BDO3pyavOY>`_ of Monty Python Jedis :-).
|
||||||
|
|
||||||
|
But actually the name hasn't so much to do with Star Wars. It's part of my
|
||||||
|
second name.
|
||||||
|
|
||||||
|
After I explained Guido van Rossum, how some parts of my auto-completion work,
|
||||||
|
he said (we drank a beer or two):
|
||||||
|
|
||||||
|
*"Oh, that worries me..."*
|
||||||
|
|
||||||
|
When it's finished, I hope he'll like it :-)
|
||||||
|
|
||||||
|
I actually started Jedi, because there were no good solutions available for VIM.
|
||||||
|
Most auto-completions just didn't work well. The only good solution was PyCharm.
|
||||||
|
But I like my good old VIM. Rope was never really intended to be an
|
||||||
|
auto-completion (and also I really hate project folders for my Python scripts).
|
||||||
|
It's more of a refactoring suite. So I decided to do my own version of a
|
||||||
|
completion, which would execute non-dangerous code. But I soon realized, that
|
||||||
|
this wouldn't work. So I built an extremely recursive thing which understands
|
||||||
|
many of Python's key features.
|
||||||
|
|
||||||
|
By the way, I really tried to program it as understandable as possible. But I
|
||||||
|
think understanding it might need quite some time, because of its recursive
|
||||||
|
nature.
|
||||||
|
|||||||
@@ -1,31 +0,0 @@
|
|||||||
.. include:: ../global.rst
|
|
||||||
|
|
||||||
A little history
|
|
||||||
================
|
|
||||||
|
|
||||||
The Star Wars Jedi are awesome. My Jedi software tries to imitate a little bit
|
|
||||||
of the precognition the Jedi have. There's even an awesome `scene
|
|
||||||
<http://www.youtube.com/watch?v=5BDO3pyavOY>`_ of Monty Python Jedis :-).
|
|
||||||
|
|
||||||
But actually the name hasn't so much to do with Star Wars. It's part of my
|
|
||||||
second name.
|
|
||||||
|
|
||||||
After I explained Guido van Rossum, how some parts of my auto-completion work,
|
|
||||||
he said (we drank a beer or two):
|
|
||||||
|
|
||||||
*"Oh, that worries me..."*
|
|
||||||
|
|
||||||
When it's finished, I hope he'll like it :-)
|
|
||||||
|
|
||||||
I actually started Jedi, because there were no good solutions available for VIM.
|
|
||||||
Most auto-completions just didn't work well. The only good solution was PyCharm.
|
|
||||||
But I like my good old VIM. Rope was never really intended to be an
|
|
||||||
auto-completion (and also I really hate project folders for my Python scripts).
|
|
||||||
It's more of a refactoring suite. So I decided to do my own version of a
|
|
||||||
completion, which would execute non-dangerous code. But I soon realized, that
|
|
||||||
this wouldn't work. So I built an extremely recursive thing which understands
|
|
||||||
many of Python's key features.
|
|
||||||
|
|
||||||
By the way, I really tried to program it as understandable as possible. But I
|
|
||||||
think understanding it might need quite some time, because of its recursive
|
|
||||||
nature.
|
|
||||||
Reference in New Issue
Block a user