Menu

#120 Put tokens in builtin modules into global cache.

open
nobody
None
5
2006-04-21
2006-04-20
Dobes V
No

Not sure why, but if I type rad<ctrl-tab> it offers to
import the radians() function from turtle and not
math. I'd like to import the radians function from
math, but it isn't offered on my machine.

Discussion

  • Fabio Zadrozny

    Fabio Zadrozny - 2006-04-21
    • summary: pydev extensions uses turtle.radians instead of math.radians --> Put tokens in builtin modules into global cache.
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2006-04-21

    Logged In: YES
    user_id=617340

    Actually, pydev does not search those tokens in builtin
    modules, so, you have to import math and then use its
    tokens, as it does not try to search those to put it in the
    'global' cache it uses.

    So, I'm changing it to a feature-request to make some
    process to pass all builtin modules with the shell to get
    all those tokens when the interpreter is set (currently it
    gets all the tokens for not-builtin modules).

    Cheers,

    Fabio

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.