Samuele Maci
0aa02f715f
Address clippy::into_iter_on_array issues
2019-08-17 14:10:36 +02:00
Samuele Maci
8f57d9fb82
Address clippy::dead_code issues
2019-08-17 14:10:36 +02:00
Samuele Maci
5e0168b2e9
Address clippy::redundant_static_lifetimes issues
2019-08-17 14:10:36 +02:00
Samuele Maci
7034332f46
Address clippy::inconsistent_digit_grouping issues
2019-08-17 14:10:35 +02:00
Samuele Maci
6ae27f9c44
Address clippy::unreadable_literal issues
2019-08-17 14:10:35 +02:00
Samuele Maci
8e4204b503
Enhance .travis.yml documentation related to nightly min-version
...
Add fallback to install clippy from github repo if rustup component add fails
2019-08-17 14:10:35 +02:00
Samuele Maci
1cdd6020cc
Add dedicated makefile target for lint, clippy, fmt execution
2019-08-17 14:10:35 +02:00
Yuji Kanagawa
e752bd27f4
Merge pull request #575 from kngwyu/chlog
...
Add a missing entry to CHANGELOG
2019-08-14 23:52:58 +09:00
kngwyu
e055fdb338
Add a missing entry to CHANGELOG
2019-08-12 22:46:15 +09:00
konstin
d6f8514e1b
Merge pull request #554 from PyO3/grcov
...
Try out grcov
2019-08-11 17:14:50 +02:00
konstin
5874014252
Try fixing the pypy build
2019-08-11 14:26:56 +02:00
konstin
d995701aa7
Try out grcov
2019-08-11 14:25:44 +02:00
Yuji Kanagawa
be22d9e5bb
Merge pull request #573 from kngwyu/ref_into
...
Implement IntoPyObject to PyRef
2019-08-11 21:04:36 +09:00
kngwyu
5ab216dfe0
Implement IntoPyObject to PyRef
2019-08-11 18:43:50 +09:00
Yuji Kanagawa
1f85593d0a
Merge pull request #564 from kngwyu/paste
...
Replace mashup with paste
2019-08-11 18:42:21 +09:00
kngwyu
21a040b8b4
Change Minimum nightly to 2019-07-19
2019-08-11 16:40:21 +09:00
konstin
98b7079183
Merge pull request #540 from PyO3/disable_broken_subclassing
...
Disable segfaulty subclassing by default
2019-08-05 14:39:46 +02:00
konstin
664209b3ed
Merge pull request #558 from danieldk/fix-iter-null-deref
...
Fix NULL pointer deref when creating iterator for non-iterable
2019-08-05 14:39:33 +02:00
konstin
40c4b6a24e
Merge pull request #533 from PyO3/codecov_no_more_comments
...
Turn off codecov PR comments and remove badge from readme
2019-08-05 12:32:55 +02:00
konstin
5096f936dc
Disable segfaulty subclassing by default
...
See https://github.com/PyO3/pyo3/issues/220 and https://github.com/PyO3/pyo3/issues/407 for details on those segfaults
2019-08-05 11:52:47 +02:00
konstin
38f25f6462
Merge pull request #550 from hengchu/fix/rhs-arithmetic
...
Attempting to fix #549
2019-08-05 11:40:24 +02:00
konstin
961add7f56
Merge pull request #563 from Alexander-N/patch-2
...
Add dict-derive to Examples and tooling section in readme
2019-08-05 11:39:09 +02:00
konstin
c7e82b1f52
Turn off codecov PR comments
2019-08-05 11:36:20 +02:00
kngwyu
6dabaf08b3
Update minimum nightly to 1.37 07-12
2019-08-05 16:55:25 +09:00
kngwyu
41f31e85fd
Replace mashup with paste
2019-08-04 23:50:10 +09:00
Alexander Niederbühl
f3d1b0139b
Update README.md
2019-08-04 12:54:22 +02:00
Yuji Kanagawa
83b92a6a55
Merge pull request #562 from Alexander-N/exceptions
...
Fix example in guide
2019-08-04 16:29:11 +09:00
Alexander Niederbühl
9d9ebfa556
Disable test for windows
...
The test fails for Windows, since the error message is provided by the
OS.
2019-08-03 22:36:23 +02:00
Alexander Niederbühl
4586702fb7
Fix example in guide
...
The example was failing with:
`error[E0117]: only traits defined in the current crate can be implemented for arbitrary types`
2019-08-03 22:09:12 +02:00
Alexander Niederbühl
618b9090ed
Add test for exception with custom error
...
Also simplify the old test.
2019-08-03 22:08:51 +02:00
Yuji Kanagawa
c6de61f7e1
Merge pull request #561 from Alexander-N/exceptions
...
Use to_string() instead of description() for exception messages
2019-08-01 12:35:58 +09:00
Alexander Niederbühl
1e01f4f8cc
Use to_string() instead of description() for exception messages
...
`description()` is soft-deprecated and can differ from `to_string()`.
For example for NotFound error:
* `description()`: "entity not found"
* `to_string()`: "No such file or directory (os error 2)"
Since io errors provide their error code through the Display trait there
is no need to get it through `raw_os_error()`.
2019-08-01 00:48:56 +02:00
Daniël de Kok
ac28a3114b
Fix NULL pointer deref when creating iterator for non-iterable
...
Fixes #494 .
2019-07-27 19:58:18 +02:00
Yuji Kanagawa
382c79ec31
Merge pull request #556 from athre0z/patch-1
...
Remove mention of Python 2
2019-07-27 19:07:02 +09:00
Joel Höner
eb34ce588b
Remove mention of Python 2
2019-07-27 04:45:53 +02:00
hengchu
149163e059
commenting out one of the rhs arithmetics test case for now...
2019-07-24 16:27:07 -04:00
hengchu
3596cc65c0
adding a small testcase for rhs arithmetics
2019-07-21 23:05:03 -04:00
konstin
20534ec22a
Merge pull request #551 from PyO3/remove-an-unsafe
...
Remove an unsafe
2019-07-21 21:43:17 +02:00
konstin
a4ed4543d1
Remove an unsafe
2019-07-21 14:08:49 +02:00
hengchu
741b7e3daa
make rhs-arith protocol impls public traits
2019-07-21 03:33:39 -04:00
konstin
58e17be1a6
Merge pull request #545 from PyO3/replace-PyByteArray-data
...
Replace unsound PyByteArray::data with PyByteArray::to_vec
2019-07-20 13:14:14 +02:00
konstin
cd2eefb65a
fixup
2019-07-20 12:22:10 +02:00
Yuji Kanagawa
63fd354fe2
Merge pull request #546 from thedrow/patch-2
...
Add empty() to PySet and PyFrozenSet
2019-07-20 10:51:23 +09:00
konstin
1736568d28
Rename also in the tests
2019-07-19 18:17:11 +02:00
Omer Katz
182b2fc615
Add empty() to PySet and PyFrozenSet.
2019-07-19 17:35:47 +03:00
konstin
bd86b6750e
Replace unsound PyByteArray::data with PyByteArray::to_vec
2019-07-18 22:57:33 +02:00
Yuji Kanagawa
cf8f63cacf
Merge pull request #542 from PyO3/index_bytes
...
Implement Index for PyBytes
2019-07-17 21:22:07 +09:00
konstin
d90ac76400
Implement Index for PyBytes
2019-07-17 12:29:14 +02:00
konstin
86cc84e692
Merge pull request #541 from PyO3/upgrade_version_check
...
Upgrade version check
2019-07-16 20:10:10 +02:00
konstin
1332174e00
Upgrade version check
2019-07-15 13:05:56 +02:00