Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default whos() filtering? #9902

Closed
jdlangs opened this issue Jan 23, 2015 · 2 comments
Closed

Default whos() filtering? #9902

jdlangs opened this issue Jan 23, 2015 · 2 comments
Labels
needs decision A decision on this change is needed REPL Julia's REPL (Read Eval Print Loop)
Milestone

Comments

@jdlangs
Copy link
Contributor

jdlangs commented Jan 23, 2015

I might be in the minority, but I would much appreciate it if whos() filtered out Module types by default. After starting julia and loading my code this is what I see:

julia> whos()
@run                          Function
ArrayViews                    Module
Autoreload                    Module
BSplines                      Module
Base                          Module
Blosc                         Module
Calculus                      Module
Color                         Module
Compat                        Module
Core                          Module
DataStructures                Module
DualNumbers                   Module
FixedPointNumbers             Module
Graphs                        Module
HDF5                          Module
HighLevelInterface            Module
JLD                           Module
JuMP                          Module
LaTeXStrings                  Module
LfF                           Module
MAT                           Module
MAT_HDF5                      Module
MAT_v5                        Module
Main                          Module
MathProgBase                  Module
Mosek                         Module
NaNMath                       Module
ODE                           Module
Optim                         Module
Polynomials                   Module
PyCall                        Module
PyPlot                        Module
Quaternions                   Module
ReverseDiffSparse             Module
SolverInterface               Module
Zlib                          Module
ans                           Void
options                       Dict{ASCIIString,Any} with 9 entries

It would be nice to only keep track of the variables/functions/types that I created. Modules could still be visible with names(Main) or maybe whos(mods=true).

@ihnorton ihnorton added REPL Julia's REPL (Read Eval Print Loop) needs decision A decision on this change is needed labels Jan 26, 2015
@StefanKarpinski StefanKarpinski added this to the 0.6.0 milestone Sep 13, 2016
@JeffBezanson JeffBezanson modified the milestones: 1.0, 0.6.0 Dec 29, 2016
@JeffBezanson
Copy link
Member

I think #17997 will address this particular example.

@JeffBezanson
Copy link
Member

This specific example is fixed, and in general I think we should avoid polluting Main instead of filtering whos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs decision A decision on this change is needed REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

No branches or pull requests

4 participants