Kenta Murata

Results 83 issues of Kenta Murata

`bokeh.embed.components()` function cannot use in PyCall.without_gvl block. ```rb require 'pycall' plotting = PyCall.import_module('bokeh.plotting') embed = PyCall.import_module('bokeh.embed') plot = plotting.figure() plot.circle([1, 2], [3, 4]) PyCall.without_gvl do components = embed.components(plot) ##

bug
help wanted

In ruby: ``` >> PyCall.import_module('scipy.stats').norm.pdf([1, 2, 3], 0, 10) PyCall::PyError: : pdf() takes 2 positional arguments but 4 were given from /Users/mrkn/src/github.com/mrkn/pycall.rb/lib/pycall/pyobject_wrapper.rb:43:in `pdf' ``` In python: ``` >>> import scipy.stats...

bug

In Python, classes and modules can be deleted by `importlib.reload` and `del`. Using `WeakRef` we can detect such deletion and remove the entry of the deleted classes and modules from...

enhancement

Here https://github.com/mrkn/pycall.rb/blob/master/lib/pycall/wrapper_object_cache.rb#L30

bug

In pycall 1.0.3, PyCall::List doesn't respond to `empty?` method. ``` undefined method `empty?' for # ```

Now pycall.rb converts Ruby's Array and Hash to Python's list and dict, respectively. For reducing conversion costs, we need to introduce wrappers of Array and Hash in Python-side. These wrapper...

enhancement
help wanted

Range objects in Ruby should be mapped from/to range in Python 3 or xrange in Python 2.

enhancement

https://ci.appveyor.com/project/mrkn/pycall/build/1.0.108/job/ylhkmtyb8ya1uqw7 The failed example is: ``` Failures: 1) #has_key? when key is a python object should not have key time.struct_time(tm_year=2017, tm_mon=9, tm_mday=22, tm_hour=2, tm_min=32, tm_sec=36, tm_wday=4, tm_yday=265, tm_isdst=0) Failure/Error: expect(subject).not_to...