Skip to content

[stdlib][NFC] Move code in _cpython.mojo to reduce the diff size for subsequent patches#5048

Closed
soraros wants to merge 7 commits intomodular:mainfrom
soraros:cpython-api-move-code
Closed

[stdlib][NFC] Move code in _cpython.mojo to reduce the diff size for subsequent patches#5048
soraros wants to merge 7 commits intomodular:mainfrom
soraros:cpython-api-move-code

Conversation

@soraros
Copy link
Copy Markdown
Contributor

@soraros soraros commented Jul 18, 2025

No description provided.

@soraros soraros requested a review from a team as a code owner July 18, 2025 23:08
@soraros
Copy link
Copy Markdown
Contributor Author

soraros commented Jul 18, 2025

The diff algorithm isn't smart enough to recognise that I'm only moving code around, though it's fairly trivial to see that from the individual commits.

@soraros soraros force-pushed the cpython-api-move-code branch from c8c74ff to 4286425 Compare July 19, 2025 00:17
soraros added 7 commits July 19, 2025 11:28
…r subsequent patches

- Move tuple and list.

Signed-off-by: sora <210at85@gmail.com>
Signed-off-by: sora <210at85@gmail.com>
Signed-off-by: sora <210at85@gmail.com>
Signed-off-by: sora <210at85@gmail.com>
Signed-off-by: sora <210at85@gmail.com>
Signed-off-by: sora <210at85@gmail.com>
Signed-off-by: sora <210at85@gmail.com>
Copy link
Copy Markdown
Contributor

@laszlokindrat laszlokindrat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this should make subsequent reviews easier!

@laszlokindrat
Copy link
Copy Markdown
Contributor

!sync

@modularbot modularbot added the imported-internally Signals that a given pull request has been imported internally. label Jul 21, 2025
@modularbot
Copy link
Copy Markdown
Collaborator

✅🟣 This contribution has been merged 🟣✅

Your pull request has been merged to the internal upstream Mojo sources. It will be reflected here in the Mojo repository on the main branch during the next Mojo nightly release, typically within the next 24-48 hours.

We use Copybara to merge external contributions, click here to learn more.

@modularbot modularbot added merged-internally Indicates that this pull request has been merged internally merged-externally Merged externally in public mojo repo labels Jul 21, 2025
@modularbot
Copy link
Copy Markdown
Collaborator

Landed in c3c0dcc! Thank you for your contribution 🎉

@github-actions github-actions bot locked and limited conversation to collaborators Jul 22, 2025
@soraros soraros deleted the cpython-api-move-code branch July 22, 2025 13:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

imported-internally Signals that a given pull request has been imported internally. merged-externally Merged externally in public mojo repo merged-internally Indicates that this pull request has been merged internally

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants