David Hewitt
fa8c93cfd1
pyclass #[new]: allow using custom error type
2020-12-13 23:50:03 +00:00
David Hewitt
c66dfa4e15
Merge pull request #1318 from alex/document-abi3-limitations
...
Clearly document the limitations of abi3
2020-12-13 16:09:28 +00:00
Alex Gaynor
3edd961fa3
Clearly document the limitations of abi3
...
closes #1288
2020-12-13 10:26:37 -05:00
kngwyu
3ebf5268ae
Faster conversion from PyLong to u128/i128 with LIMITED_API
2020-12-13 23:49:05 +09:00
David Hewitt
2b94da1cbd
Merge pull request #1316 from PyO3/add-license-links
...
Add symbolic links to LICENSE in subcrates
2020-12-13 14:07:32 +00:00
kngwyu
c0587ac919
Add symbolic links to LICENSE in subcrates
2020-12-13 17:56:59 +09:00
kngwyu
a93d97b351
Faster conversion from u128/i128 to PyLong with abi3
2020-12-13 17:52:26 +09:00
Yuji Kanagawa
22359e9097
Merge pull request #1310 from PyO3/abi3-128bit-integer
...
Implement 128bit integer conversion for limited API
2020-12-12 22:30:15 +09:00
Yuji Kanagawa
560fb4883d
Merge pull request #1312 from birkenfeld/fix-1311
...
ffi: use recommended stable way to represent an opaque C struct
2020-12-12 22:29:45 +09:00
Yuji Kanagawa
2a3a730db5
Merge pull request #1303 from scalexm/lit
...
Do not include the double quotes in `#[pyclass(name = "literal")]`
2020-12-12 22:28:56 +09:00
David Hewitt
5133f81e6d
deprecate pyclass name without quotes
2020-12-12 11:11:11 +00:00
Yuji Kanagawa
7a0542d44e
Update CHANGELOG.md
...
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2020-12-12 19:38:49 +09:00
kngwyu
8c4cba25b7
Implement 128bit integer conversion for limited API
2020-12-12 19:13:53 +09:00
Georg Brandl
7d5ff2d768
ffi: use recommended stable way to represent an opaque C struct
...
After `extern { type ... }` has stabilized for a while, this can
be replaced. For now, I used a macro since it is much easier to
spot the locations to touch at that time.
fixes #1311
2020-12-12 10:59:36 +01:00
Yuji Kanagawa
9aa70f7c89
Merge pull request #1263 from PyO3/abi3-min-python
...
Add abi3-py* features
2020-12-08 12:52:00 +09:00
Yuji Kanagawa
7bef4e7a7f
Merge pull request #1307 from Stranger6667/dd/expand-examples
...
Add `jsonschema-rs` and `css-inline` to the examples list
2020-12-08 12:50:53 +09:00
kngwyu
49143724d5
Rename PYO3_NO_INTERPRETER by PYO3_NO_PYTHON
2020-12-07 17:30:04 +09:00
Dmitry Dygalo
4ad9dacd4a
Add `jsonschema-rs` and `css-inline` to the examples list
2020-12-06 12:25:56 +01:00
Yuji Kanagawa
6da6bc9461
Apply suggestions from @davidhewitt
...
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2020-12-06 16:06:10 +09:00
kngwyu
1b838504b7
Introduce PYO3_NO_INTERPRETER variable for build script
2020-12-01 23:40:49 +09:00
scalexm
7dadf59fde
Do not include the double quotes in `#[pyclass(name = "literal")]`
2020-11-30 22:04:07 +01:00
David Hewitt
92b7a9736c
Merge pull request #1301 from Palladinium/check-signals-faq
...
Add section about Python::check_signals to the FAQ
2020-11-30 08:36:19 +00:00
Patrick Chieppe
d5767b8921
Fix typo
2020-11-30 11:46:26 +11:00
Patrick Chieppe
cda46cbe40
Add CHANGELOG.md entry
2020-11-30 11:43:01 +11:00
Patrick Chieppe
bba1cf19b3
Add section about Python::check_signals to the FAQ
2020-11-30 11:38:40 +11:00
Yuji Kanagawa
0696f03807
Merge pull request #1299 from davidhewitt/backport-0.12.4
...
Release notes for backported 0.12.4
2020-11-29 17:10:18 +09:00
David Hewitt
afa5ed3ba2
Release notes for backported 0.12.4
2020-11-28 20:21:52 +00:00
Yuji Kanagawa
729d355672
Merge pull request #1295 from scalexm/lit
...
Allow `#[pyclass(name = "string literal")]`
2020-11-28 20:24:03 +09:00
Yuji Kanagawa
1ee3961a0d
Merge pull request #1297 from davidhewitt/pyobject-from-py
...
py: fix reference count bug in From(Py<T>) for PyObject
2020-11-28 20:23:23 +09:00
Yuji Kanagawa
884f9b23b8
Merge pull request #1294 from PyO3/davidhewitt-patch-9
...
readme: add pythonize
2020-11-28 20:15:41 +09:00
David Hewitt
f86e6d3923
py: fix reference count bug in From(Py<T>) for PyObject
2020-11-28 10:34:34 +00:00
scalexm
649b439463
Allow `#[pyclass(name = "string literal")]`
...
This is also more in line with the `#[name = "..."]` attribute on
methods.
2020-11-27 18:45:07 +01:00
David Hewitt
6669493502
Merge pull request #1296 from davidhewitt/map-with-capacity
...
dict: use with_capacity in HashMap extraction
2020-11-26 18:15:36 +00:00
David Hewitt
1b0642fdd5
dict: use HashMap::with_capacity in extract
2020-11-26 10:02:59 +00:00
David Hewitt
02b90c462f
benches: add map / set extraction
2020-11-26 10:02:59 +00:00
Yuji Kanagawa
47a731bd5d
Merge pull request #1287 from davidhewitt/vectorcall
...
vectorcall: fix bindings & use for call0 and call_method0
2020-11-26 18:18:59 +09:00
David Hewitt
87bacf1be5
performance: use vectorcall for call0 and call_method0
2020-11-25 20:59:11 +00:00
David Hewitt
d1248d5743
benches: add bench_call
2020-11-25 20:54:12 +00:00
David Hewitt
fc6fa9ead6
ffi: correct vectorcall bindings
2020-11-25 20:54:12 +00:00
David Hewitt
282fd803b2
readme: add pythonize
2020-11-24 19:48:08 +00:00
Yuji Kanagawa
6465766ebc
Merge pull request #1292 from davidhewitt/python-deprecations
...
python: deprecate some redundant methods
2020-11-23 15:06:22 +09:00
David Hewitt
7ca126cc5b
python: deprecate some redundant methods
2020-11-22 20:04:45 +00:00
David Hewitt
e0c7d828fa
Merge pull request #1276 from davidhewitt/pyany-isinstance
...
pyany: add is_instance
2020-11-22 19:42:57 +00:00
David Hewitt
fc34e41163
pyany: add is_instance
2020-11-22 19:24:59 +00:00
David Hewitt
db78cd76c8
Merge pull request #1290 from davidhewitt/anaconda-virtualenv
...
anaconda: fix for building in a virtualenv
2020-11-21 10:27:15 +00:00
David Hewitt
53ce423424
anaconda: fix for building in a virtualenv
2020-11-21 08:56:07 +00:00
Yuji Kanagawa
86f4d006b0
Merge pull request #1291 from AleksaC/reintroduce-pypy-to-ci
...
Reintroduce PyPy for Windows in CI
2020-11-21 14:23:37 +09:00
AleksaC
f54769cd2a
Reintroduce pypy for Windows in CI
2020-11-21 02:51:23 +01:00
Yuji Kanagawa
c621b70168
Merge pull request #1282 from PyO3/char-support
...
Char support
2020-11-20 17:43:47 +09:00
kngwyu
a2490e32ce
Add a CHANGELOG entry for char support
2020-11-20 16:39:05 +09:00