Skip to content

replace PyString::from_object with PyString::from_encoded_object#5017

Merged
davidhewitt merged 6 commits intoPyO3:mainfrom
davidhewitt:deprecate-string-from-object
Aug 1, 2025
Merged

replace PyString::from_object with PyString::from_encoded_object#5017
davidhewitt merged 6 commits intoPyO3:mainfrom
davidhewitt:deprecate-string-from-object

Conversation

@davidhewitt
Copy link
Copy Markdown
Member

Followup to #5008, as per my suggestion in #5005

@davidhewitt davidhewitt force-pushed the deprecate-string-from-object branch 3 times, most recently from ec502ec to 5de3f93 Compare March 28, 2025 15:09
@davidhewitt
Copy link
Copy Markdown
Member Author

Looks like adding a deprecation is discouraged in a patch, so will keep this for 0.25.

Think we'll start merging all those changes in shortly, I just want to get 0.24.1 done first.

@davidhewitt davidhewitt marked this pull request as draft March 28, 2025 15:10
@Icxolu Icxolu added this to the 0.25 milestone Mar 28, 2025
@davidhewitt davidhewitt marked this pull request as ready for review March 28, 2025 21:10
@davidhewitt
Copy link
Copy Markdown
Member Author

With #5021 prepped, I think this is ready for merge, if others agree this is a good idea?

Comment thread src/types/string.rs Outdated
Comment thread src/types/string.rs Outdated
@Icxolu Icxolu mentioned this pull request Jul 20, 2025
@davidhewitt davidhewitt modified the milestones: 0.25, 0.26 Jul 25, 2025
@davidhewitt davidhewitt force-pushed the deprecate-string-from-object branch from 525f5af to 4d87463 Compare July 25, 2025 18:24
@davidhewitt davidhewitt requested a review from Icxolu July 25, 2025 18:24
@davidhewitt davidhewitt enabled auto-merge July 26, 2025 10:58
@davidhewitt davidhewitt added this pull request to the merge queue Jul 26, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 26, 2025
@davidhewitt davidhewitt added this pull request to the merge queue Aug 1, 2025
Merged via the queue into PyO3:main with commit 3fb90de Aug 1, 2025
43 checks passed
@davidhewitt davidhewitt deleted the deprecate-string-from-object branch August 1, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants