Skip to content

Commit

Permalink
Add deprecations for checknan keyword argument and add to NEWS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
simonster committed Oct 8, 2014
1 parent aa9f699 commit 793cf3e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
19 changes: 13 additions & 6 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ Library improvements

* `deepcopy` recurses through immutable types and makes copies of their mutable fields ([#8560]).

Deprecated or removed
---------------------

* `median` and `median!` no longer accept a `checknan` keyword argument ([#8605]).

Julia v0.3.0 Release Notes
==========================

Expand Down Expand Up @@ -852,6 +857,7 @@ Too numerous to mention.
[#3688]: https://github.com/JuliaLang/julia/issues/3688
[#3697]: https://github.com/JuliaLang/julia/issues/3697
[#3719]: https://github.com/JuliaLang/julia/issues/3719
[#3759]: https://github.com/JuliaLang/julia/issues/3759
[#3790]: https://github.com/JuliaLang/julia/issues/3790
[#3819]: https://github.com/JuliaLang/julia/issues/3819
[#3872]: https://github.com/JuliaLang/julia/issues/3872
Expand Down Expand Up @@ -913,6 +919,7 @@ Too numerous to mention.
[#5381]: https://github.com/JuliaLang/julia/issues/5381
[#5387]: https://github.com/JuliaLang/julia/issues/5387
[#5403]: https://github.com/JuliaLang/julia/issues/5403
[#5413]: https://github.com/JuliaLang/julia/issues/5413
[#5423]: https://github.com/JuliaLang/julia/issues/5423
[#5427]: https://github.com/JuliaLang/julia/issues/5427
[#5428]: https://github.com/JuliaLang/julia/issues/5428
Expand Down Expand Up @@ -962,6 +969,7 @@ Too numerous to mention.
[#6678]: https://github.com/JuliaLang/julia/issues/6678
[#6716]: https://github.com/JuliaLang/julia/issues/6716
[#6726]: https://github.com/JuliaLang/julia/issues/6726
[#6739]: https://github.com/JuliaLang/julia/issues/6739
[#6769]: https://github.com/JuliaLang/julia/issues/6769
[#6773]: https://github.com/JuliaLang/julia/issues/6773
[#6911]: https://github.com/JuliaLang/julia/issues/6911
Expand All @@ -981,6 +989,7 @@ Too numerous to mention.
[#7146]: https://github.com/JuliaLang/julia/issues/7146
[#7236]: https://github.com/JuliaLang/julia/issues/7236
[#7242]: https://github.com/JuliaLang/julia/issues/7242
[#7311]: https://github.com/JuliaLang/julia/issues/7311
[#7359]: https://github.com/JuliaLang/julia/issues/7359
[#7365]: https://github.com/JuliaLang/julia/issues/7365
[#7373]: https://github.com/JuliaLang/julia/issues/7373
Expand All @@ -990,14 +999,12 @@ Too numerous to mention.
[#7513]: https://github.com/JuliaLang/julia/issues/7513
[#7647]: https://github.com/JuliaLang/julia/issues/7647
[#7654]: https://github.com/JuliaLang/julia/issues/7654
[#7704]: https://github.com/JuliaLang/julia/issues/7704
[#7917]: https://github.com/JuliaLang/julia/issues/7917
[#7992]: https://github.com/JuliaLang/julia/issues/7992
[#8011]: https://github.com/JuliaLang/julia/issues/8011
[#8089]: https://github.com/JuliaLang/julia/issues/8089
[#7704]: https://github.com/JuliaLang/julia/issues/7704
[#5413]: https://github.com/JuliaLang/julia/issues/5413
[#3759]: https://github.com/JuliaLang/julia/issues/3759
[#7311]: https://github.com/JuliaLang/julia/issues/7311
[#8152]: https://github.com/JuliaLang/julia/issues/8152
[#8423]: https://github.com/JuliaLang/julia/issues/8423
[#8152]: https://github.com/JuliaLang/julia/pull/8152
[#6739]: https://github.com/JuliaLang/julia/issues/6739
[#8560]: https://github.com/JuliaLang/julia/issues/8560
[#8605]: https://github.com/JuliaLang/julia/issues/8605
4 changes: 4 additions & 0 deletions base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -185,3 +185,7 @@ const Nothing = Void

export None
const None = Union()

@deprecate median(v::AbstractArray; checknan::Bool=true) median(v)
@deprecate median(v::AbstractArray, region; checknan::Bool=true) median(v, region)
@deprecate median!(v::AbstractVector; checknan::Bool=true) median!(v)

0 comments on commit 793cf3e

Please sign in to comment.