radon
radon copied to clipboard
Import System Enhancement Proposal. (REP-3)
Couple of things are going to be changed with this proposal. Currently we have include keyword to handle imports.
- [x] We will replace
includewithimport.
import stdlib
import "/from/path"
- [ ] #133
Example:
from stdlib import module
from "any/path" import my_functions
Also, only import will be valid syntax.
import library
import "module/path"
- [x] #134
Example:
import module
module.function()
module.Class(something).method()
- [x] Combining
aswithimportstatement.
Example:
from module import function as my_function
import "from/path" as library
import Library as lib
On any changes this issue will be updated.
As we are planning to make it most developer friendly language, we are going to replace include with import.
Added as keyword support #142