David Hewitt
7549a21154
Merge pull request #3773 from davidhewitt/float-new-bound
...
add `PyFloat::new_bound`
2024-01-29 11:52:45 +00:00
David Hewitt
7f2d1d2aa5
Merge pull request #3772 from davidhewitt/dict-new-bound
...
add `PyDict::new_bound` without deprecation
2024-01-29 11:16:04 +00:00
David Hewitt
345e122bbf
add `PyFloat::new_bound`
2024-01-29 11:06:34 +00:00
David Hewitt
d4d08b24b0
add `PyDict::new_bound` without deprecation
2024-01-29 10:17:54 +00:00
David Hewitt
c54d8976db
Merge pull request #3706 from davidhewitt/frompyobject2
...
Add `extract_bound` method to FromPyObject
2024-01-28 07:48:03 +00:00
David Hewitt
ffaa03e3f1
Migrate some conversions to `extract_bound`
2024-01-28 07:22:51 +00:00
David Hewitt
595ca4b3c1
Add `extract_bound` method to `FromPyObject`
2024-01-28 07:22:51 +00:00
David Hewitt
eb8d11f42f
Merge pull request #3769 from davidhewitt/remove-test-pep-587
...
remove `test_pep_587`
2024-01-27 22:33:35 +00:00
David Hewitt
ed7263faa2
Merge pull request #3767 from Icxolu/complex
...
implement `PyComplexMethods`
2024-01-27 22:06:02 +00:00
David Hewitt
5ccc46e459
remove `test_pep_587`
2024-01-27 21:57:43 +00:00
David Hewitt
796e4192b7
Merge pull request #3755 from davidhewitt/list-bound
...
add list bound constructors
2024-01-27 21:27:22 +00:00
Icxolu
37e2a4d9c9
implement `PyComplexMethods`
2024-01-27 22:26:53 +01:00
David Hewitt
7927a2e211
add bench for tuple `get_borrowed_item`
2024-01-27 21:12:55 +00:00
David Hewitt
1657109ae0
documentation updates for `PyList::new_bound`
2024-01-27 21:12:55 +00:00
David Hewitt
57a49a2b12
update tuple benchmarks for bound API
2024-01-27 21:12:55 +00:00
David Hewitt
674f7282d8
`ToPyObject` and `IntoPy` for `Borrowed`
2024-01-27 21:12:55 +00:00
David Hewitt
eed196329d
add list bound constructors
2024-01-27 21:12:55 +00:00
David Hewitt
0973da27e9
Merge pull request #3743 from davidhewitt/set-bound-constructors
...
add bound constructors for `PySet` and `PyFrozenSet`
2024-01-27 17:55:42 +00:00
Tpt
f83544910f
Adds conversion between SystemTime and datetime
2024-01-27 17:43:51 +01:00
David Hewitt
5f320d7a04
Merge pull request #3765 from davidhewitt/remove-py-newref
...
remove internal uses of `_Py_NewRef`
2024-01-27 13:35:29 +00:00
David Hewitt
f09ad1e28f
Merge pull request #3763 from Icxolu/slice-traceback
...
implement `PyTracebackMethods` and `PySliceMethods`
2024-01-27 12:42:37 +00:00
David Hewitt
87e0610b58
remove internal uses of `_Py_NewRef`
2024-01-27 12:07:46 +00:00
Icxolu
7fddd983b4
update `test_compile_error` ui test output
2024-01-27 12:37:26 +01:00
Icxolu
7918815cee
implement `PySliceMethods`
2024-01-27 11:34:32 +01:00
Icxolu
f86053e2c2
implement `PyTracebackMethods`
2024-01-27 11:34:32 +01:00
David Hewitt
f449fc0fc1
Merge pull request #3753 from PyO3/dependabot/github_actions/actions/cache-4
...
Bump actions/cache from 3 to 4
2024-01-23 23:24:37 +00:00
David Hewitt
173d0afb7b
Merge pull request #3757 from davidhewitt/pypy-7.3.15
...
update ffi structures for PyPy 7.3.15
2024-01-23 23:24:22 +00:00
David Hewitt
11b5ae7f5f
update ffi structures for PyPy 7.3.15
2024-01-23 20:34:19 +00:00
David Hewitt
3af73fabcf
Merge pull request #3754 from Xuanwo/patch-1
...
docs: Update opendal's repo name
2024-01-23 08:54:17 +00:00
Xuanwo
4d40f4183f
docs: Update opendal's repo name
...
Apache OpenDAL is now a graduated project, remove the incubator prefix in the repo name.
2024-01-23 14:39:38 +08:00
dependabot[bot]
bcfbbf198d
Bump actions/cache from 3 to 4
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 20:07:15 +00:00
David Hewitt
bf32986b1d
Merge pull request #3751 from mkovaxx/fix_ugly_enum_example
...
docs: make complex enum example in class.md more readable
2024-01-20 08:19:33 +00:00
Mate Kovacs
f32becacc7
fix ugly example
2024-01-20 11:47:27 +09:00
David Hewitt
d1b072222a
Merge pull request #3582 from mkovaxx/pyclass_complex_enum
...
Full ADT support with pyclass for complex enums
2024-01-19 14:17:28 +00:00
Mate Kovacs
3ed5ddb0ec
feat: support pyclass on complex enums
2024-01-18 22:04:42 +09:00
David Hewitt
4e24e680e8
update set benchmarks
2024-01-17 10:49:21 +00:00
David Hewitt
06c95432c6
set & frozenset bound constructors
2024-01-17 09:45:41 +00:00
David Hewitt
43504cd15a
Merge pull request #3742 from samuelcolvin/int-extraction-performance
...
improve performance of successful int extract by ~30% by avoiding calls to `__index__` where redundant
2024-01-16 17:14:39 +00:00
Samuel Colvin
0e876d94d6
improve performance of successful int extract by ~30%
...
add newsfragment
formatting
skip slow path on 3.8+
formatting
cfg if,else
formatting again
dedicated macro, change int_convert_u64_or_i64 too
add float tests
force index call for PyLong_AsUnsignedLongLong
perform PyLong check for 3.8 too
perform PyLong check for <3.10
2024-01-16 13:51:19 +00:00
David Hewitt
7366b1a386
Merge pull request #3730 from Tpt/chrono-tz
...
Conversion between chrono_tz::Tz and zoneinfo.ZoneInfo
2024-01-15 14:48:27 +00:00
David Hewitt
48e74b7829
Merge pull request #3734 from jadedpasta/ffi-pytype-getmodulebydef
...
ffi: Add definition for PyType_GetModuleByDef
2024-01-13 08:49:36 +00:00
jadedpasta
83f0f22efe
ffi: Add definition for PyType_GetModuleByDef
...
This API is available starting in 3.11. It is not part of the Stable ABI.
PyType_GetModuleByDef searches the MRO of the given type for a module
matching the given module spec. It can be useful for users use that
`pyo3_ffi` directly and want to support multiple interpreters/per
interpreter GIL. It is useful to obtain access to the module state from
special methods like `tp_new` that can't use the METH_METHOD calling
convention.
This API is not supported on PyPy yet, but guess the symbol name for the future.
2024-01-12 22:13:33 -06:00
David Hewitt
f8878a7440
Merge pull request #3731 from PyO3/dependabot/github_actions/actions/setup-python-5
...
Bump actions/setup-python from 4 to 5
2024-01-12 17:51:13 +00:00
David Hewitt
590ce70bed
Merge pull request #3740 from davidhewitt/nightly-lints
...
allow dead_code in `IPowModulo`
2024-01-12 16:27:24 +00:00
David Hewitt
0db6dce9ce
Merge pull request #3739 from davidhewitt/pypy-buffer-hidden-fields
...
fix size of pypy private fields in Py_buffer definition
2024-01-12 16:27:10 +00:00
David Hewitt
8fef7a5848
fix size of pypy private fields in Py_buffer definition
2024-01-12 15:59:14 +00:00
David Hewitt
ab699a0727
allow dead_code in `IPowModulo`
2024-01-12 15:55:21 +00:00
David Hewitt
1520b058e8
Merge pull request #3738 from davidhewitt/nightly-lints
...
fix some nightly lints 2024-01-12
2024-01-12 13:52:50 +00:00
David Hewitt
4504a7c96e
fix some nightly lints 2024-01-12
2024-01-12 13:34:17 +00:00
dependabot[bot]
800943ab2d
Bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 20:14:38 +00:00