Suppressor.jl would suppress everything, right?

So the idea is that one would use `@suppress import("foo.jl")` ?

As heavy as ClobberingReload.jl is, I appreciate that it only suppresses
*one* error -- the annoying "you redefined a method" error that IMO should
never have existed in the first place. If there are other errors, like
syntax errors, in my script, I do want to hear about those. Or have I
misunderstood how Suppressor.jl works?

Cheers,
Daniel.


On 28 September 2016 at 07:36, Chris Rackauckas <rackd...@gmail.com> wrote:

> You could've just used Suppressor.jl
> <https://github.com/Ismael-VC/Suppressor.jl>...
>
> On Tuesday, September 27, 2016 at 9:55:53 PM UTC-7, K leo wrote:
>>
>>
>> On Wednesday, September 28, 2016 at 12:53:12 PM UTC+8, K leo wrote:
>>>
>>> This a very heavy install.  It's fetching tons of things that I have not
>>> used.  Not sure what they are, but seems like trashing my system.
>>>
>>
>> julia> Pkg.clone("git://github.com/cstjean/ClobberingReload.jl.git")
>> INFO: Cloning ClobberingReload from git://github.com/cstjean/Clobb
>> eringReload.jl.git
>> INFO: Computing changes...
>> INFO: Cloning cache of IJulia from https://github.com/JuliaLang/I
>> Julia.jl.git
>> INFO: Cloning cache of Nettle from https://github.com/staticfloat
>> /Nettle.jl.git
>> INFO: Cloning cache of ZMQ from https://github.com/JuliaLang/ZMQ.jl.git
>> INFO: Installing Conda v0.3.2
>> INFO: Installing IJulia v1.3.2
>> INFO: Installing Nettle v0.2.4
>> INFO: Installing ZMQ v0.3.4
>> INFO: Building Nettle
>> INFO: Building ZMQ
>> INFO: Building IJulia
>> INFO: Installing Jupyter via the Conda package.
>> INFO: Downloading miniconda installer ...
>>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
>>  Current
>>                                  Dload  Upload   Total   Spent    Left
>>  Speed
>> 100 25.9M  100 25.9M    0     0  1104k      0  0:00:24  0:00:24 --:--:--
>> 2297k
>> INFO: Installing miniconda ...
>> PREFIX=/home/xxx/.julia/v0.5/Conda/deps/usr
>> installing: _cache-0.0-py27_x0 ...
>> installing: python-2.7.11-0 ...
>> installing: conda-env-2.4.5-py27_0 ...
>> installing: openssl-1.0.2g-0 ...
>> installing: pycosat-0.6.1-py27_0 ...
>> installing: pyyaml-3.11-py27_1 ...
>> installing: readline-6.2-2 ...
>> installing: requests-2.9.1-py27_0 ...
>> installing: sqlite-3.9.2-0 ...
>> installing: tk-8.5.18-0 ...
>> installing: yaml-0.1.6-0 ...
>> installing: zlib-1.2.8-0 ...
>> installing: conda-4.0.5-py27_0 ...
>> installing: pycrypto-2.6.1-py27_0 ...
>> installing: pip-8.1.1-py27_1 ...
>> installing: wheel-0.29.0-py27_0 ...
>> installing: setuptools-20.3-py27_0 ...
>> Python 2.7.11 :: Continuum Analytics, Inc.
>> creating default environment...
>> installation finished.
>> Fetching package metadata: ....
>> Solving package specifications: .........
>>
>> Package plan for installation in environment
>> /home/xxx/.julia/v0.5/Conda/deps/usr:
>>
>> The following packages will be downloaded:
>>
>>     package                    |            build
>>     ---------------------------|-----------------
>>     conda-env-2.6.0            |                0          502 B
>>     expat-2.1.0                |                0         365 KB
>>     icu-54.1                   |                0        11.3 MB
>>     jpeg-8d                    |                1         806 KB
>>     libffi-3.2.1               |                0          36 KB
>>     libgcc-5.2.0               |                0         1.1 MB
>>     libsodium-1.0.10           |                0         1.2 MB
>>     libxcb-1.12                |                0         1.5 MB
>>     sqlite-3.13.0              |                0         4.0 MB
>>     dbus-1.10.10               |                0         2.4 MB
>>     glib-2.43.0                |                1         5.4 MB
>>     libpng-1.6.22              |                0         214 KB
>>     libxml2-2.9.2              |                0         4.2 MB
>>     python-2.7.12              |                1        12.1 MB
>>     zeromq-4.1.4               |                0         4.1 MB
>>     backports-1.0              |           py27_0           1 KB
>>     backports_abc-0.4          |           py27_0           5 KB
>>     decorator-4.0.10           |           py27_0          12 KB
>>     enum34-1.1.6               |           py27_0          53 KB
>>     freetype-2.5.5             |                1         2.5 MB
>>     functools32-3.2.3.2        |           py27_0          15 KB
>>     gstreamer-1.8.0            |                0         2.6 MB
>>     ipython_genutils-0.1.0     |           py27_0          32 KB
>>     markupsafe-0.23            |           py27_2          31 KB
>>     mistune-0.7.3              |           py27_0         560 KB
>>     path.py-8.2.1              |           py27_0          45 KB
>>     ptyprocess-0.5.1           |           py27_0          19 KB
>>     pygments-2.1.3             |           py27_0         1.2 MB
>>     pytz-2016.6.1              |           py27_0         178 KB
>>     pyzmq-15.4.0               |           py27_0         705 KB
>>     ruamel_yaml-0.11.14        |           py27_0         352 KB
>>     simplegeneric-0.8.1        |           py27_1           7 KB
>>     sip-4.18                   |           py27_0         264 KB
>>     six-1.10.0                 |           py27_0          16 KB
>>     wcwidth-0.1.7              |           py27_0          21 KB
>>     clyent-1.2.2               |           py27_0          15 KB
>>     conda-4.2.9                |           py27_0         360 KB
>>     configparser-3.5.0         |           py27_0          31 KB
>>     fontconfig-2.11.1          |                6         405 KB
>>     get_terminal_size-1.0.0    |           py27_0           4 KB
>>     gst-plugins-base-1.8.0     |                0         3.1 MB
>>     jinja2-2.8                 |           py27_1         264 KB
>>     jsonschema-2.5.1           |           py27_0          55 KB
>>     pathlib2-2.1.0             |           py27_0          26 KB
>>     pexpect-4.0.1              |           py27_0          63 KB
>>     prompt_toolkit-1.0.3       |           py27_0         295 KB
>>     python-dateutil-2.5.3      |           py27_0         236 KB
>>     singledispatch-3.4.0.3     |           py27_0          12 KB
>>     ssl_match_hostname-3.4.0.2 |           py27_1           6 KB
>>     traitlets-4.3.0            |           py27_0         119 KB
>>     anaconda-client-1.5.1      |           py27_0         110 KB
>>     entrypoints-0.2.2          |           py27_0           6 KB
>>     jupyter_core-4.2.0         |           py27_0          51 KB
>>     pickleshare-0.7.4          |           py27_0           8 KB
>>     qt-5.6.0                   |                0        43.9 MB
>>     tornado-4.4.1              |           py27_0         552 KB
>>     ipython-5.1.0              |           py27_0         936 KB
>>     jupyter_client-4.4.0       |           py27_0          97 KB
>>     nbformat-4.1.0             |           py27_0         115 KB
>>     pyqt-5.6.0                 |           py27_0         5.3 MB
>>     terminado-0.6              |           py27_0          18 KB
>>     ipykernel-4.5.0            |           py27_0         123 KB
>>     nbconvert-4.2.0            |           py27_0         310 KB
>>     jupyter_console-5.0.0      |           py27_0          28 KB
>>     notebook-4.2.3             |           py27_0         5.0 MB
>>     qtconsole-4.2.1            |           py27_1         148 KB
>>     widgetsnbextension-1.2.6   |           py27_0         1.1 MB
>>     ipywidgets-5.2.2           |           py27_0          58 KB
>>     jupyter-1.0.0              |           py27_3           3 KB
>>     nb_anacondacloud-1.2.0     |           py27_0          23 KB
>>     nb_conda_kernels-2.0.0     |           py27_0          30 KB
>>     nb_conda-2.0.0             |           py27_0          28 KB
>>     _nb_ext_conf-0.3.0         |           py27_0          956 B
>>     nbpresent-3.0.2            |           py27_0         463 KB
>>     ------------------------------------------------------------
>>                                            Total:       120.4 MB
>>
>> The following NEW packages will be INSTALLED:
>>
>>     _nb_ext_conf:       0.3.0-py27_0
>>     anaconda-client:    1.5.1-py27_0
>>     backports:          1.0-py27_0
>>     backports_abc:      0.4-py27_0
>>     clyent:             1.2.2-py27_0
>>     configparser:       3.5.0-py27_0
>>     dbus:               1.10.10-0
>>     decorator:          4.0.10-py27_0
>>     entrypoints:        0.2.2-py27_0
>>     enum34:             1.1.6-py27_0
>>     expat:              2.1.0-0
>>     fontconfig:         2.11.1-6
>>     freetype:           2.5.5-1
>>     functools32:        3.2.3.2-py27_0
>>     get_terminal_size:  1.0.0-py27_0
>>     glib:               2.43.0-1
>>     gst-plugins-base:   1.8.0-0
>>     gstreamer:          1.8.0-0
>>     icu:                54.1-0
>>     ipykernel:          4.5.0-py27_0
>>     ipython:            5.1.0-py27_0
>>     ipython_genutils:   0.1.0-py27_0
>>     ipywidgets:         5.2.2-py27_0
>>     jinja2:             2.8-py27_1
>>     jpeg:               8d-1
>>     jsonschema:         2.5.1-py27_0
>>     jupyter:            1.0.0-py27_3
>>     jupyter_client:     4.4.0-py27_0
>>     jupyter_console:    5.0.0-py27_0
>>     jupyter_core:       4.2.0-py27_0
>>     libffi:             3.2.1-0
>>     libgcc:             5.2.0-0
>>     libpng:             1.6.22-0
>>     libsodium:          1.0.10-0
>>     libxcb:             1.12-0
>>     libxml2:            2.9.2-0
>>     markupsafe:         0.23-py27_2
>>     mistune:            0.7.3-py27_0
>>     nb_anacondacloud:   1.2.0-py27_0
>>     nb_conda:           2.0.0-py27_0
>>     nb_conda_kernels:   2.0.0-py27_0
>>     nbconvert:          4.2.0-py27_0
>>     nbformat:           4.1.0-py27_0
>>     nbpresent:          3.0.2-py27_0
>>     notebook:           4.2.3-py27_0
>>     path.py:            8.2.1-py27_0
>>     pathlib2:           2.1.0-py27_0
>>     pexpect:            4.0.1-py27_0
>>     pickleshare:        0.7.4-py27_0
>>     prompt_toolkit:     1.0.3-py27_0
>>     ptyprocess:         0.5.1-py27_0
>>     pygments:           2.1.3-py27_0
>>     pyqt:               5.6.0-py27_0
>>     python-dateutil:    2.5.3-py27_0
>>     pytz:               2016.6.1-py27_0
>>     pyzmq:              15.4.0-py27_0
>>     qt:                 5.6.0-0
>>     qtconsole:          4.2.1-py27_1
>>     ruamel_yaml:        0.11.14-py27_0
>>     simplegeneric:      0.8.1-py27_1
>>     singledispatch:     3.4.0.3-py27_0
>>     sip:                4.18-py27_0
>>     six:                1.10.0-py27_0
>>     ssl_match_hostname: 3.4.0.2-py27_1
>>     terminado:          0.6-py27_0
>>     tornado:            4.4.1-py27_0
>>     traitlets:          4.3.0-py27_0
>>     wcwidth:            0.1.7-py27_0
>>     widgetsnbextension: 1.2.6-py27_0
>>     zeromq:             4.1.4-0
>>
>> The following packages will be UPDATED:
>>
>>     conda:              4.0.5-py27_0 --> 4.2.9-py27_0
>>     conda-env:          2.4.5-py27_0 --> 2.6.0-0
>>     python:             2.7.11-0     --> 2.7.12-1
>>     sqlite:             3.9.2-0      --> 3.13.0-0
>>
>> Fetching packages ...
>> conda-env-2.6. 100% |####################################| Time: 0:00:00
>> 493.56 kB/s
>> expat-2.1.0-0. 100% |####################################| Time: 0:00:02
>> 146.65 kB/s
>> icu-54.1-0.tar 100% |####################################| Time: 0:00:14
>> 825.31 kB/s
>> jpeg-8d-1.tar. 100% |####################################| Time: 0:00:06
>> 133.58 kB/s
>> libffi-3.2.1-0 100% |####################################| Time: 0:00:00
>>  50.31 kB/s
>> libgcc-5.2.0-0 100% |####################################| Time: 0:00:07
>> 156.10 kB/s
>> libsodium-1.0. 100% |####################################| Time: 0:00:07
>> 172.95 kB/s
>> libxcb-1.12-0. 100% |####################################| Time: 0:00:10
>> 148.88 kB/s
>> sqlite-3.13.0- 100% |####################################| Time: 0:00:10
>> 412.13 kB/s
>> dbus-1.10.10-0 100% |####################################| Time: 0:00:08
>> 306.02 kB/s
>> glib-2.43.0-1. 100% |####################################| Time: 0:00:19
>> 291.78 kB/s
>> libpng-1.6.22- 100% |####################################| Time: 0:00:02
>>  90.77 kB/s
>> libxml2-2.9.2- 100% |####################################| Time: 0:00:20
>> 213.01 kB/s
>> python-2.7.12- 100% |####################################| Time: 0:00:22
>> 565.40 kB/s
>> zeromq-4.1.4-0 100% |####################################| Time: 0:00:20
>> 210.51 kB/s
>> backports-1.0- 100% |####################################| Time: 0:00:00
>>   2.15 MB/s
>> backports_abc- 100% |####################################| Time: 0:00:00
>>   4.28 MB/s
>> decorator-4.0. 100% |####################################| Time: 0:00:00
>>  20.61 MB/s
>> enum34-1.1.6-p 100% |####################################| Time: 0:00:00
>>  66.70 kB/s
>> freetype-2.5.5 100% |####################################| Time: 0:00:08
>> 312.17 kB/s
>> functools32-3. 100% |####################################| Time: 0:00:00
>>  37.43 kB/s
>> gstreamer-1.8. 100% |####################################| Time: 0:00:13
>> 201.00 kB/s
>> ipython_genuti 100% |####################################| Time: 0:00:00
>> 120.53 kB/s
>> markupsafe-0.2 100% |####################################| Time: 0:00:00
>> 115.32 kB/s
>> mistune-0.7.3- 100% |####################################| Time: 0:00:03
>> 155.31 kB/s
>> path.py-8.2.1- 100% |####################################| Time: 0:00:00
>>  63.12 kB/s
>> ptyprocess-0.5 100% |####################################| Time: 0:00:00
>>  53.36 kB/s
>> pygments-2.1.3 100% |####################################| Time: 0:00:06
>> 179.87 kB/s
>> pytz-2016.6.1- 100% |####################################| Time: 0:00:02
>>  87.86 kB/s
>> pyzmq-15.4.0-p 100% |####################################| Time: 0:00:05
>> 131.37 kB/s
>> ruamel_yaml-0. 100% |####################################| Time: 0:00:03
>> 108.32 kB/s
>> simplegeneric- 100% |####################################| Time: 0:00:00
>>  10.05 MB/s
>> sip-4.18-py27_ 100% |####################################| Time: 0:00:02
>> 121.45 kB/s
>> six-1.10.0-py2 100% |####################################| Time: 0:00:00
>>  55.96 kB/s
>> wcwidth-0.1.7- 100% |####################################| Time: 0:00:00
>>  79.25 kB/s
>> clyent-1.2.2-p 100% |####################################| Time: 0:00:00
>>  38.91 kB/s
>> conda-4.2.9-py 100% |####################################| Time: 0:00:01
>> 188.64 kB/s
>> configparser-3 100% |####################################| Time: 0:00:00
>>  76.74 kB/s
>> fontconfig-2.1 100% |####################################| Time: 0:00:04
>> 100.98 kB/s
>> get_terminal_s 100% |####################################| Time: 0:00:00
>>   6.96 MB/s
>> gst-plugins-ba 100% |####################################| Time: 0:00:09
>> 354.94 kB/s
>> jinja2-2.8-py2 100% |####################################| Time: 0:00:02
>>  95.16 kB/s
>> jsonschema-2.5 100% |####################################| Time: 0:00:00
>>  77.84 kB/s
>> pathlib2-2.1.0 100% |####################################| Time: 0:00:00
>>  89.60 kB/s
>> pexpect-4.0.1- 100% |####################################| Time: 0:00:00
>>  85.43 kB/s
>> prompt_toolkit 100% |####################################| Time: 0:00:01
>> 180.43 kB/s
>> python-dateuti 100% |####################################| Time: 0:00:01
>> 126.93 kB/s
>> singledispatch 100% |####################################| Time: 0:00:00
>>  32.02 kB/s
>> ssl_match_host 100% |####################################| Time: 0:00:00
>>  11.94 MB/s
>> traitlets-4.3. 100% |####################################| Time: 0:00:01
>> 102.34 kB/s
>> anaconda-clien 100% |####################################| Time: 0:00:00
>> 131.32 kB/s
>> entrypoints-0. 100% |####################################| Time: 0:00:00
>>   8.01 MB/s
>> jupyter_core-4 100% |####################################| Time: 0:00:00
>>  65.15 kB/s
>> pickleshare-0. 100% |####################################| Time: 0:00:00
>>  10.55 MB/s
>> qt-5.6.0-0.tar 100% |####################################| Time: 0:00:38
>>   1.18 MB/s
>> tornado-4.4.1- 100% |####################################| Time: 0:00:04
>> 126.35 kB/s
>> ipython-5.1.0- 100% |####################################| Time: 0:00:04
>> 212.47 kB/s
>> jupyter_client 100% |####################################| Time: 0:00:01
>>  80.24 kB/s
>> nbformat-4.1.0 100% |####################################| Time: 0:00:01
>>  97.55 kB/s
>> pyqt-5.6.0-py2 100% |####################################| Time: 0:00:22
>> 245.24 kB/s
>> terminado-0.6- 100% |####################################| Time: 0:00:00
>>  47.85 kB/s
>> ipykernel-4.5. 100% |####################################| Time: 0:00:01
>>  75.60 kB/s
>> nbconvert-4.2. 100% |####################################| Time: 0:00:03
>> 101.72 kB/s
>> jupyter_consol 100% |####################################| Time: 0:00:00
>>  78.09 kB/s
>> notebook-4.2.3 100% |####################################| Time: 0:00:10
>> 520.04 kB/s
>> qtconsole-4.2. 100% |####################################| Time: 0:00:01
>> 103.16 kB/s
>> widgetsnbexten 100% |####################################| Time: 0:00:06
>> 172.46 kB/s
>> ipywidgets-5.2 100% |####################################| Time: 0:00:00
>>  72.03 kB/s
>> jupyter-1.0.0- 100% |####################################| Time: 0:00:00
>>   2.40 MB/s
>> nb_anacondaclo 100% |####################################| Time: 0:00:00
>>  48.66 kB/s
>> nb_conda_kerne 100% |####################################| Time: 0:00:00
>>  79.82 kB/s
>> nb_conda-2.0.0 100% |####################################| Time: 0:00:00
>>  68.97 kB/s
>> _nb_ext_conf-0 100% |####################################| Time: 0:00:00
>>   1.55 MB/s
>> nbpresent-3.0. 100% |####################################| Time: 0:00:03
>> 126.30 kB/s
>> Extracting packages ...
>> [      COMPLETE      
>> ]|#######################################################|
>> 100%
>> Unlinking packages ...
>> [      COMPLETE      
>> ]|#######################################################|
>> 100%
>> Linking packages ...
>> [      COMPLETE      
>> ]|#######################################################|
>> 100%
>>
>> julia>
>>
>>
>

Reply via email to