Commit graph

4797 commits

Author SHA1 Message Date
David Hewitt fb34ed1694 add more coverage 2022-10-20 07:29:42 +01:00
David Hewitt c76916a084 refactor: move std conversions into common module 2022-10-19 21:36:39 +01:00
David Hewitt 446c0e82f0
Merge pull request #2692 from mejrs/all
Implement get/set all on pyclass
2022-10-18 21:39:44 +01:00
mejrs 3b687b7012 newsfragment 2022-10-18 21:40:59 +02:00
mejrs 08c8b845aa Create better error spans/messages 2022-10-18 21:14:22 +02:00
Georg Brandl 676227d2a1
Make is_instance() and is_subclass() take &PyAny (#2695) 2022-10-18 19:22:23 +02:00
David Hewitt bec726c463
Merge pull request #2691 from ctb/patch-1
Suggestions to update "getting started" docs so things work out of the box.
2022-10-17 20:31:51 +01:00
mejrs d254134154 Implement get/set all on pyclass 2022-10-17 02:37:43 +02:00
C. Titus Brown ca1c9c1dba update per review 2022-10-16 11:04:15 -07:00
C. Titus Brown 8e6bf1875f
Apply suggestions from code review
Co-authored-by: Georg Brandl <georg@python.org>
2022-10-16 11:01:15 -07:00
C. Titus Brown 54ecbdaaf0
Merge branch 'PyO3:main' into patch-1 2022-10-16 10:45:20 -07:00
Bruno Kolenbrander 4a04603c2c
Don't use intocallback in method macros (#2664)
* Don't use intocallback in method macros

Co-authored-by: mejrs <>
2022-10-16 10:35:58 +01:00
C. Titus Brown 78e4130762
Update getting_started.md 2022-10-15 20:55:49 -07:00
C. Titus Brown b265ee7907
Point new users at specific source file for Rust code.
This was a minor confusion for me so I thought I'd suggest the change - it was the first place I looked, but I did have to think about it :)
2022-10-15 20:49:24 -07:00
David Hewitt 125af9b7de
Merge pull request #2676 from PyO3/exact-iter
Add more implementations of ExactSizeIterator when iterating built-in Python data structures.
2022-10-13 21:28:04 +01:00
David Hewitt 61fd70c476
Merge pull request #2675 from PyO3/relax-extract-array
Also relax the PySequence check when extracting fixed-sized arrays.
2022-10-13 20:57:43 +01:00
Adam Reichold f456ed7586 Also relax the PySequence check when extracting fixed-sized arrays. 2022-10-13 09:43:45 +02:00
David Hewitt 43261c7b8c
Merge pull request #2681 from PyO3/unpin-itertools
Unpin itertools after it was published without a spurious resolver specification.
2022-10-13 07:49:51 +01:00
Adam Reichold 9847530cc8 Fix code blocks containing HTML-related characters missing backticks. 2022-10-13 07:33:11 +02:00
Adam Reichold 75d06d07a4 Unpin itertools after it was published without a spurious resolver specification. 2022-10-13 07:09:39 +02:00
David Hewitt 49b1b22e68
Merge pull request #2658 from PyO3/add-citation
add CITATION.cff
2022-10-12 08:15:29 +01:00
Adam Reichold cd361dc5cc Add more implementations of ExactSizeIterator when iterating built-in Python data structures. 2022-10-11 18:21:02 +02:00
Bruno Kolenbrander c9b26f57cd
Merge pull request #2657 from mejrs/decorator_fix
Update decorator to use Cell counter
2022-10-10 19:55:36 +02:00
dependabot[bot] f68781e67f
Merge pull request #2670 from PyO3/dependabot/github_actions/codecov/codecov-action-3 2022-10-10 06:09:35 +00:00
messense 44732fc4c9
Merge pull request #2672 from messense/dependabot-github-actions-labels
Add `CI-skip-changelog` label automatically for dependabot github actions updates
2022-10-10 14:08:44 +08:00
dependabot[bot] 1b28176e3d
Merge pull request #2671 from PyO3/dependabot/github_actions/actions/cache-3 2022-10-10 05:04:47 +00:00
dependabot[bot] 55cfc32215
Merge pull request #2669 from PyO3/dependabot/github_actions/actions/setup-python-4 2022-10-10 04:33:47 +00:00
messense 3599d7f28a
Add CI-skip-changelog label automatically for dependabot github actions updates 2022-10-10 11:31:04 +08:00
dependabot[bot] 6e6bf3816b
build(deps): bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [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/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 02:23:19 +00:00
dependabot[bot] d7b50c29d7
build(deps): bump codecov/codecov-action from 2 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 02:23:14 +00:00
dependabot[bot] 1708998ccd
build(deps): bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
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>
2022-10-10 02:23:10 +00:00
messense fad39e74c4
Merge pull request #2666 from messense/dependabot-github-actions
Add `github-actions` to dependabot config
2022-10-10 10:22:38 +08:00
messense 5a43f48d8c
Add github-actions to dependabot config
https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
2022-10-09 14:16:23 +08:00
David Hewitt 420a373653
add CITATION.cff 2022-10-04 19:33:00 +01:00
mejrs d8fa6be28a is 2022-10-04 19:33:02 +02:00
mejrs e0602b641c Just use Cell 2022-10-04 19:05:44 +02:00
mejrs 611ea4db49 Update decorator to use atomics 2022-10-04 17:59:46 +02:00
David Hewitt 4939a205ad
Merge pull request #2656 from davidhewitt/0.17.2-changelog
update main for 0.17.2 release
2022-10-04 08:52:10 +01:00
David Hewitt bd40011e93 release: 0.17.2 2022-10-04 08:13:53 +01:00
David Hewitt 4a68273b17
Merge pull request #2642 from davidhewitt/doctest-guide-function
guide: doctest function/ subpages
2022-09-27 19:28:02 +01:00
messense da989ecd3f
Merge pull request #2643 from davidhewitt/pymodule-implementation-detail
docs: note that `#[pymodule]` will create hidden module, like `#[pyfunction]`
2022-09-28 00:10:20 +08:00
David Hewitt 9257de40fd docs: note that #[pymodule] will create hidden module, like #[pyfunction] 2022-09-27 07:55:21 +01:00
David Hewitt 372176630e guide: doctest function/ subpages 2022-09-27 07:52:14 +01:00
David Hewitt a38a75da34
Merge pull request #2641 from smheidrich/fix-types-docs-topyobject-links
docs: Fix links to ToPyObject in PyLong and PyFloat docs
2022-09-27 07:41:41 +01:00
Bruno Kolenbrander fad5f6a07a
Merge pull request #2639 from mrob95/err-self-typo
docs: fixed typo in error_handling.md
2022-09-26 23:16:26 +02:00
David Hewitt 1d47286c18
Merge pull request #2640 from smheidrich/fix-guide-mult-py-build-config-dep-advice
docs: Fix pyo3-build-config dependency advice in guide
2022-09-25 09:24:46 +01:00
smheidrich bc00e9ff12 Improve PyLong/PyFloat doc links to PyAny::extract 2022-09-24 20:59:04 +02:00
smheidrich 9572220f6c Fix links to ToPyObject in types docs 2022-09-24 20:08:43 +02:00
smheidrich 2dd3c6c71f Document needing resolve-config for pyo3 cfgs 2022-09-24 16:18:05 +02:00
smheidrich a731c2ae60 Fix pyo3-build-config version in docs 2022-09-24 15:50:41 +02:00