kngwyu
1f5cb83ef8
Add tests for mutability checking
2020-02-18 15:28:04 +09:00
kngwyu
4b746af11b
Rename unchecked_refmut -> unchecked_mut
2020-02-18 12:55:06 +09:00
Yuji Kanagawa
98d810e662
Apply suggestions from davidhewitt's review
...
Co-Authored-By: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2020-02-18 12:51:02 +09:00
kngwyu
daca04e5f3
Update class.md and Change super API
2020-02-18 00:19:55 +09:00
kngwyu
2fd2185052
Merge branch 'master' into pycell
2020-02-17 00:07:15 +09:00
kngwyu
8f8b42591a
Fix PySelf and AsPyRef
2020-02-16 23:54:55 +09:00
Yuji Kanagawa
45d892a970
Merge pull request #769 from davidhewitt/cfg-attrs
...
Make #[pymethods] aware of #[cfg]
2020-02-16 00:17:11 +09:00
David Hewitt
d5509424b2
Make #[pymethods] aware of #[cfg]
2020-02-15 14:07:48 +00:00
kngwyu
da4ed398bb
Fix PyCell to share BorrowFlag with parents
2020-02-15 18:13:39 +09:00
Yuji Kanagawa
0b5918e94d
Merge pull request #767 from gilescope/more-docs
...
(docs update) Focusing on FromPy rather than IntoPy
2020-02-15 15:10:39 +09:00
Yuji Kanagawa
7910dfc94c
Merge pull request #764 from bmatthieu3/add_mocpy_example
...
Add mocpy to the list of examples using pyo3
2020-02-14 19:53:09 +09:00
Yuji Kanagawa
00560a1cc1
Merge branch 'master' into add_mocpy_example
2020-02-14 19:13:51 +09:00
Yuji Kanagawa
6b0f7d2791
Merge pull request #765 from synapticarbors/patch-1
...
Add Hugging Face tokenizers bindings to examples
2020-02-14 19:13:07 +09:00
Giles Cope
6b4a4e881a
Focusing on FromPy rather than IntoPy
...
(as you get IntoPy for free)
Also try and point out that intoPy doesn't mean it's going to convert
something into a python object.
2020-02-14 06:35:41 +00:00
Joshua Adelman
57f9dfd77c
Fix incorrect url in last commit
2020-02-13 17:13:28 -05:00
Joshua Adelman
41128bbfe6
Add Hugging Face tokenizers bindings to examples
2020-02-13 17:12:09 -05:00
Matthieu Baumann
db0819be52
Add mocpy to the list of examples
...
MOCpy is an astronomical Python library used for describing arbitrary
coverage regions on the sky unit sphere. It relies on the HEALPix tesselation
scheme and because of this, it is very easy and fast to compute the
intersection/union... between coverage regions!
Please check the documentation of mocpy [here](https://cds-astro.github.io/mocpy/ ) if you are curious.
2020-02-12 17:19:40 +01:00
kngwyu
4a5f219cc4
New AsPyRef
2020-02-11 18:50:50 +09:00
Yuji Kanagawa
3c02de2688
Merge pull request #760 from davidhewitt/property-fixes
...
Improvements to property macros
2020-02-10 18:50:35 +09:00
kngwyu
7b3de17d81
Run cargo fmt
2020-02-10 18:18:44 +09:00
kngwyu
c43fb9fcdf
Prototype Implementation of RefCell-like PyCell
2020-02-10 16:13:15 +09:00
Yuji Kanagawa
0eb4eb4e58
Merge branch 'master' into property-fixes
2020-02-10 15:13:19 +09:00
Yuji Kanagawa
1d33ac4e7d
Merge pull request #761 from davidhewitt/fix-clippy-warnings
...
Bump minimum Rust version to 1.42.0-nightly
2020-02-10 15:11:54 +09:00
kngwyu
a6fed34e23
Fix clippy warnings in build.rs and tests
2020-02-10 14:53:13 +09:00
kngwyu
3176097a25
Update minumum nightly in travis.yml and get_started
2020-02-10 10:51:37 +09:00
David Hewitt
de9698e7a5
Changes from PR#760
2020-02-09 11:06:44 +00:00
David Hewitt
6c25f6aacc
Bump minimum Rust version to 1.42.0-nightly
2020-02-09 10:54:00 +00:00
kngwyu
5d4e7374e9
Introduce PyDownCastImpl and Change PyTryFrom and FromPyPointer
2020-02-09 16:35:52 +09:00
David Hewitt
20c6c2d463
Fix clippy warnings
2020-02-08 19:25:52 +00:00
David Hewitt
50bb41f398
Add CHANGELOG entry for msrv bump
2020-02-08 19:02:52 +00:00
David Hewitt
cea8a9a2b0
Refactor to clean up property descriptor macros
2020-02-08 18:57:30 +00:00
kngwyu
a2408cacbb
Rename PyClassShell with PyCell
2020-02-08 15:05:13 +09:00
Yuji Kanagawa
6069ee1239
Merge pull request #758 from kngwyu/remove-oncecell
...
Lazy type objects without once_cell
2020-02-08 15:01:23 +09:00
kngwyu
ba20b0ef21
Remove unnecessary parentheses from FFI
2020-02-08 14:27:59 +09:00
kngwyu
50de21abb7
Use AtomicBool for lazy types
2020-02-08 14:03:57 +09:00
David Hewitt
f8c8b8effd
Fix for PyObject with #[pyo3(get)]
2020-02-07 19:31:13 +00:00
kngwyu
58a0841ff7
Rewrite LazyTypeObjects without once_cell
2020-02-07 00:10:27 +09:00
kngwyu
f8de335b00
Make PyTypeInfo::type_object return &'static instead of NonNull
2020-02-06 19:11:59 +09:00
Yuji Kanagawa
14980d742d
Merge pull request #755 from davidhewitt/property-doc
...
Fix docstrings generated by `[pyo3(get, set)]`
2020-02-03 18:14:54 +09:00
Yuji Kanagawa
8fea23a0b8
Merge pull request #751 from davidhewitt/remove-static-mut
...
Remove static mut from PyTypeInfo implementation
2020-02-03 17:39:25 +09:00
David Hewitt
dfb7d7c58d
Fix docstrings generated by [pyo3(get, set)]
2020-02-03 08:01:30 +00:00
David Hewitt
04f30c5971
Revisions from PR#751
2020-02-03 07:34:42 +00:00
Yuji Kanagawa
d75f072811
Merge pull request #754 from kngwyu/py_from_native
...
Implement From<&PyNativeType> for Py
2020-02-02 21:17:24 +09:00
kngwyu
b88fe39ed6
Implement From<&PyNativeType> for Py
2020-02-02 15:28:44 +09:00
Yuji Kanagawa
1beca86b1c
Merge pull request #753 from Alexander-N/py3.8-ci
...
Add Python 3.8 to CI
2020-02-02 00:11:19 +09:00
Alexander Niederbühl
b604061106
Add Python 3.8 to CI
2020-02-01 15:08:41 +01:00
David Hewitt
7531b9fb07
Remove even more uses of static mut
2020-01-30 13:24:55 +00:00
David Hewitt
5cbdef6471
Remove static mut from PyTypeInfo implementation
2020-01-30 00:14:27 +00:00
Yuji Kanagawa
99c601b6a1
Merge pull request #750 from kngwyu/separete-extract
...
Separate FromPyObjectImpl from pyobject_native_type_convert!
2020-01-29 19:53:29 +09:00
kngwyu
d1f28e9089
Separate FromPyObjectImpl from pyobject_native_type_convert!
2020-01-29 18:12:16 +09:00