Skip to content

Commit

Permalink
Fix get_real_method; don't use pyversion_build (#841)
Browse files Browse the repository at this point in the history
* Fix get_real_method; don't use pyversion_build

* Bump to 1.92.1
  • Loading branch information
tkf committed Oct 1, 2020
1 parent 12b1996 commit 8e3abed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PyCall"
uuid = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
authors = ["Steven G. Johnson <stevenj@mit.edu>", "Yichao Yu <yyc1992@gmail.com>", "Takafumi Arakaki <aka.tkf@gmail.com>", "Simon Kornblith <simon@simonster.com>", "Páll Haraldsson <Pall.Haraldsson@gmail.com>", "Jon Malmaud <malmaud@gmail.com>", "Jake Bolewski <jakebolewski@gmail.com>", "Keno Fischer <keno@alumni.harvard.edu>", "Joel Mason <jobba1@hotmail.com>", "Jameson Nash <vtjnash@gmail.com>", "The JuliaPy development team"]
version = "1.92.0"
version = "1.92.1"

[deps]
Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"
Expand Down
2 changes: 1 addition & 1 deletion src/PyCall.jl
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ https://github.com/ipython/ipython/blob/5.9.0/IPython/utils/dir2.py
"""
function get_real_method(obj, name)
ispynull(obj) && return nothing
@static if pyversion_build < v"3"
@static if pyversion < v"3"
pyisinstance(obj, @pyglobalobj :PyType_Type) && return nothing
end

Expand Down

2 comments on commit 8e3abed

@tkf
Copy link
Member Author

@tkf tkf commented on 8e3abed Oct 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/22235

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.92.1 -m "<description of version>" 8e3abedbc402a8fc36cb2727f33a5b6cd1f0a1e9
git push origin v1.92.1

Please sign in to comment.