kngwyu
498689423e
Make PyNativeType unsafe
2019-02-25 23:15:13 +09:00
konstin
5b4d77db88
Merge pull request #368 from kngwyu/aspypointer
...
Rename ToPyPointer with AsPyPointer
2019-02-24 15:52:29 +01:00
kngwyu
86d239e445
Rename ToPyPointer with AsPyPointer
2019-02-24 16:20:04 +09:00
konstin
3067b7ba98
Merge pull request #367 from PyO3/restructuring
...
Some api improvements
2019-02-23 18:59:24 +01:00
konstin
d3743fec64
Python 2
2019-02-23 18:42:40 +01:00
konstin
6cd07c369c
Simpler new and clippy fixes
2019-02-23 18:38:00 +01:00
konstin
ad590bd158
Some api improvements
2019-02-23 18:01:22 +01:00
konstin
0cd72ac213
Bump to 0.6.0-alpha.4
2019-02-20 11:30:09 +01:00
konstin
61e449b10e
Update Changelog
2019-02-19 22:30:22 +01:00
konstin
32a15bc4a9
Merge pull request #364 from PyO3/parser_refactoring
...
Big proc macro refactoring
2019-02-19 22:22:23 +01:00
konstin
625093ce5b
Merge pull request #361 from kngwyu/pydictitem
...
Introduce PyDictItem
2019-02-18 20:13:32 +01:00
konstin
c52dae2691
Merge pull request #363 from kngwyu/travis-misc
...
Run rustfmt and clippy only at the minimum nightly
2019-02-18 20:11:24 +01:00
konstin
d02f7c3aa5
Big proc macro refactoring
...
* Removed a lot of clutter, unified some code
* Started using syn::parse::Parse for pyfunction attributes
* No more newlines between imports
* Renamed `#[prop(get, set)]` to `#[pyo3(get, set)]`
* `#[pyfunction]` now supports the same arguments as `#[pyfn()]`
* Some macros now emit proper spanned errors instead of panics.
2019-02-18 20:07:56 +01:00
kngwyu
c1421e2e08
Run rustfmt and clippy only at minimum nightly
2019-02-19 00:01:23 +09:00
kngwyu
8d9b4dd153
Introduce PyDictItem
2019-02-18 16:06:37 +09:00
Yuji Kanagawa
f248aaddbe
Merge pull request #358 from chr1sj0nes/pylist_reverse
...
Add `PyList.reverse()`.
2019-02-18 11:36:07 +09:00
Chris Jones
5a28a1c4f0
Add `PyList.reverse()`.
2019-02-17 22:22:46 +00:00
Yuji Kanagawa
b01592e201
Merge pull request #359 from chr1sj0nes/pylist_from_iterator
...
Add support for creating `PyList` from any `IntoIterator` for known s…
2019-02-17 09:50:06 +09:00
Yuji Kanagawa
9ceb453822
Merge pull request #357 from chr1sj0nes/master
...
Add `PyList.sort()`.
2019-02-17 09:20:01 +09:00
Chris Jones
e1ffd6c352
Add support for creating `PyList` from any `IntoIterator` for known size.
2019-02-16 23:28:03 +00:00
Chris Jones
275e6cb7c8
Add `PyList.sort()`.
2019-02-15 23:20:02 +00:00
konstin
61194abf1c
Merge pull request #355 from PyO3/pytuple_3
...
Into PyTuple tests, third attempt
2019-02-13 22:31:10 +01:00
konstin
2105fa896b
Add PyTuple tests
...
Initially proposed by athre0z in #307 , with the changes from latest master
2019-02-13 22:30:46 +01:00
konstin
a7b5267798
Merge pull request #344 from PyO3/init_value
...
Change the initializer style
2019-02-13 22:29:50 +01:00
konstin
6cb098ee12
Replace py.init_[ref|mut] with Py[Ref|Mut]::new
2019-02-13 21:52:21 +01:00
konstin
f9de1d03b0
Merge pull request #349 from PyO3/check_min_nightly_on_travis
...
Check minimum rustc version on travis
2019-02-13 21:47:23 +01:00
konstin
090b392653
Merge pull request #351 from PyO3/init_value_cherry_pick
...
Make the init methods use a value instead of a function
2019-02-13 21:17:04 +01:00
konstin
7a4cb50c96
Travis cleanup
2019-02-13 21:12:46 +01:00
konstin
1a489d2829
Make the init methods use a value instead of a function
2019-02-13 13:59:47 +01:00
konstin
94cb3e7625
Merge pull request #350 from PyO3/type_object_trait_cleanup
...
Cleanup PyTypeObject and PyTypeCreate
2019-02-13 12:34:46 +01:00
konstin
ce659941e8
Cleanup PyTypeObject and PyTypeCreate
2019-02-13 12:32:59 +01:00
konstin
37088024f1
Merge pull request #343 from PyO3/into_py_tuple_no_more
...
Replace IntoPyTuple with IntoPy<Py<PyTuple>>
2019-02-12 23:36:49 +01:00
konstin
c13f0708a4
Replace IntoPyTuple with IntoPy<Py<PyTuple>>
2019-02-12 22:58:23 +01:00
konstin
1d17463532
Merge pull request #335 from kngwyu/rethink-pyclass
...
Remove ToPyPointer and so on from pyclass
2019-02-12 22:56:23 +01:00
kngwyu
4c60af6934
More detailed explaination about PyRef
2019-02-12 19:13:55 +09:00
konstin
a1f13c124a
Merge pull request #348 from PyO3/3_8_fixup
...
Actually run 3.8 on travis
2019-02-10 20:24:40 +01:00
konstin
c38b1bc7a0
Actually run 3.8 on travis
2019-02-10 19:56:49 +01:00
konstin
58ba920a97
Merge pull request #345 from PyO3/coc
...
Add Code of Conduct and Contributing
2019-02-10 19:42:44 +01:00
konstin
62d9b40274
Add Contributing.md
2019-02-10 19:42:24 +01:00
Yuji Kanagawa
baaccfc775
Merge pull request #347 from kngwyu/clippy-fallback
...
[CI] Install clippy from git when it's missing
2019-02-10 12:00:03 +09:00
kngwyu
2de3146c62
[CI] Install clippy from git when it's missing
2019-02-10 10:52:39 +09:00
kngwyu
73c7f8a5c2
Write about Py<T> in the guide
2019-02-09 22:37:21 +09:00
kngwyu
8259cc5d89
Added a note about `PyRef` and `PyRefMut` in guide
2019-02-08 23:51:37 +09:00
kngwyu
4a552a88cf
Py::new_ref -> PyRef::new
2019-02-08 23:51:14 +09:00
kngwyu
f95f4e8c14
Fix python2 test
2019-02-08 14:09:49 +09:00
kngwyu
c80134fbcd
Refactor PyRef/PyRefMut based on reviews
2019-02-08 13:58:44 +09:00
konstin
596c0c75b6
Add Code of Conduct
2019-02-07 20:50:09 +01:00
konstin
7e914ac535
Merge pull request #337 from Alexander-N/fix-examples
...
Fix some examples
2019-02-07 15:21:26 +01:00
kngwyu
1d3dd2c343
Write documents of PyRef/PyRefMut
2019-02-07 15:17:27 +09:00
kngwyu
01fc1405b0
Modify AsPyRef::as_ref to return PyRef
2019-02-07 14:27:13 +09:00