Georg Brandl
117f6eb47d
Allow omitting PyResult wrapping in property get/set methods
...
fixes #443
2019-04-17 22:29:12 +02:00
konstin
6d80ee0679
Properly scope libc to fix #442
...
Apparently we can't add a test for that because the test crates have libc
in scope
2019-04-17 19:08:55 +02:00
Yuji Kanagawa
dc2fc80f4a
Merge pull request #441 from serpilliere/fix_tipo
...
Fix typo
2019-04-17 23:43:33 +09:00
Fabrice Desclaux
73e4ed723f
Fix typo
2019-04-17 14:22:16 +02:00
Georg Brandl
527da127f3
Make Py(Frozen)Set::new return PyResult<&Py(Frozen)Set>
...
fixes #437
2019-04-17 12:17:58 +02:00
Yuji Kanagawa
f5c7b92c2d
Merge pull request #434 from ijl/pyfloat-macro
...
PyFloat_AS_DOUBLE()
2019-04-17 11:21:12 +09:00
ijl
afb82ee875
PyFloat_AS_DOUBLE()
2019-04-16 12:53:03 +00:00
Martin Larralde
60efd5b9c2
Merge pull request #432 from althonos/master
...
Fix documentation-related bugs
2019-04-14 19:05:59 -07:00
Martin Larralde
edd2fba2d6
Add tests for quotes in class/method documentation
2019-04-15 01:29:13 +02:00
Yuji Kanagawa
85489ebd8e
Merge pull request #433 from Hywan/patch-1
...
doc(types) Fix a typo in `PySlice`
2019-04-14 13:09:29 +09:00
Ivan Enderlin
a78465f8b1
doc(types) Fix a typo in PySlice
...
Thanks for the awesome project!
2019-04-13 20:59:31 -07:00
Martin Larralde
e6ca87d5dc
Update CHANGELOG.md
with latest bugfixes
2019-04-14 01:56:11 +02:00
Martin Larralde
51be6a60fe
Run cargo fmt
on pyo3-derive-backend
and tests
2019-04-14 01:50:00 +02:00
Martin Larralde
4e3d828181
Remove uneeded syn::parse_str
from pyo3-derive-backend
2019-04-14 01:47:19 +02:00
Martin Larralde
3f4f068c7f
Ensure #[getter]
doc is exposed as the __doc__
of the descriptor
2019-04-14 00:23:59 +02:00
Martin Larralde
569a7e9e95
Add more tests for #[pymethods]
docstrings
2019-04-13 23:25:45 +02:00
Yuji Kanagawa
6673c440fb
Merge pull request #431 from PyO3/konstin-patch-1
...
Fix pyo3 version in the readme for #430
2019-04-12 12:27:05 +09:00
konstin
f5b4713010
Fix pyo3 version in the readme for #430
2019-04-11 13:19:02 +02:00
Yuji Kanagawa
4458c09fbf
Merge pull request #429 from scOwez/patch-1
...
Added capitalization & wording changes to README.md
2019-04-09 19:16:44 +09:00
Owez
303dc22831
Update CHANGELOG.md
2019-04-09 11:02:19 +01:00
Owez
00acbc461a
Added capitalization & better wording to README.md
...
Capitalized words:
* `python` to `Python`
* `rust` to `Rust`
* `windows` to `Windows`
* `linux` to `Linux`
* `macOS` to `MacOS`
Alongside some minor wording changes to allow it to read more fluently.
2019-04-09 10:56:03 +01:00
Martin Larralde
72003ec37a
Add entry to CHANGELOG.md
2019-04-04 09:47:21 +02:00
Martin Larralde
ad9e676512
Have PyModule
generate a __all__
list from its members
2019-04-04 09:43:32 +02:00
Martin Larralde
08334fe582
Fix create_exception
macro not using an unsafe impl
2019-03-31 05:40:06 +02:00
Martin Larralde
3ce8886ad6
Merge pull request #423 from althonos/master
...
Fix derive of `PySequenceProtocol` trait.
2019-03-30 20:36:56 -07:00
Martin Larralde
dfd1fa55c0
Remove dead code from tests/test_sequence.rs
2019-03-31 05:29:25 +02:00
Martin Larralde
2c82a03170
Add entry to CHANGELOG.md
and fix typo
2019-03-31 05:29:20 +02:00
Martin Larralde
3b7e83fb7c
Run cargo fmt
on tests/test_sequence.rs
2019-03-31 05:28:52 +02:00
Martin Larralde
d482b715de
Fix signatures of PySequenceProtocol
methods
2019-03-31 05:28:52 +02:00
Martin Larralde
dd2f1ba16a
Add tests for PySequenceProtocol
in tests/test_sequence.rs
2019-03-31 05:28:52 +02:00
konstin
9a9b519bcb
Mark PyTypeObject as unsafe
2019-03-30 20:25:47 +01:00
konstin
9f2afbc3cc
Merge pull request #411 from ijl/rm-python2
...
Drop support for python2
2019-03-29 19:00:03 +01:00
ijl
80179be2b0
Merge num3, num_common to num
2019-03-29 12:37:26 +00:00
ijl
fdeef7d67e
Merge string and stringutils
2019-03-29 12:37:26 +00:00
ijl
2bb0d05a30
Drop support for python2
2019-03-29 12:37:26 +00:00
konstin
bc7776e61f
Merge pull request #382 from Alisa-lisa/patch-1
...
Remove unrequired encoding header
2019-03-28 13:20:43 +01:00
konstin
7086141f85
Fix version in docs
2019-03-28 12:58:19 +01:00
konstin
8acc5289cc
Revert 176e0981c1
2019-03-28 12:54:26 +01:00
konstin
176e0981c1
(cargo-release) start next development iteration 0.6.1-alpha.0
2019-03-28 12:52:34 +01:00
konstin
3f27647b1b
Bump to 0.6.0
2019-03-28 12:49:59 +01:00
konstin
b2561e9db1
Better error message when python is not on PATH for #414
...
Example for the new error message:
Compiling pyo3 v0.6.0-alpha.4 (/home/konsti/pyo3)
error: failed to run custom build command for `pyo3 v0.6.0-alpha.4 (/home/konsti/pyo3)`
process didn't exit successfully: `/home/konsti/pyo3/target/debug/build/pyo3-bcc3e702033ec884/build-script-build` (exit code: 1)
--- stderr
Error: "Could not find any interpreter at python, are you sure you have python installed on your PATH?"
2019-03-26 12:47:35 +01:00
konstin
b2a5c705a2
Merge pull request #418 from PyO3/fmt_on_travis
...
Try fixing cargo fmt on travis ci
2019-03-26 12:30:02 +01:00
konstin
20481e8324
Whitelist clippy error
2019-03-24 17:33:08 +01:00
konstin
97189a16b9
Try fixing cargo fmt on travis ci
2019-03-24 17:19:15 +01:00
konstin
f75f742c58
Fix CStr usages
2019-03-20 21:48:41 +01:00
konstin
0d346458c3
Merge pull request #408 from milesgranger/update-docs-into-dict
...
Update tests & docs with IntoPyDict::into_py_dict(py)
2019-03-20 21:07:54 +01:00
Miles Granger
711155d7ad
Update tests & docs with IntoPyDict::into_py_dict(py)
2019-03-20 20:04:00 +01:00
konstin
421b26bcef
Merge pull request #406 from Alexander-N/changelog
...
Fix markdown links in CHANGELOG.md
2019-03-19 21:03:10 +01:00
Alexander Niederbühl
484ceb43e1
Fix markdown links in CHANGELOG.md
2019-03-19 18:42:17 +01:00
konstin
7cdd253593
Merge pull request #397 from Alexander-N/coverage
...
Reactivate coverage on CI
2019-03-18 15:11:51 +01:00