Skip to content

gh-76377: Rewrite plistlib with functional style. #4671

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Dec 1, 2017

This speeds up most loadings and savings around 10%. Saving
with XML format has been sped up to 2 times.

https://bugs.python.org/issue32196

This speeds up most loadings and savings around 10%.  Saving
with XML format has been sped up to 2 times.
Copy link

@auvipy auvipy left a comment

Choose a reason for hiding this comment

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

just rebasing should be enough. great feature

@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Aug 13, 2022
@iritkatriel iritkatriel added the 3.12 only security fixes label Sep 1, 2022
@github-actions github-actions bot removed the stale Stale PR or inactive for long period of time. label Dec 2, 2022
@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Feb 15, 2023
@arhadthedev arhadthedev changed the title bpo-32196: Rewrite plistlib with functional style. gh-76377: Rewrite plistlib with functional style. May 6, 2023
@github-actions github-actions bot removed the stale Stale PR or inactive for long period of time. label May 7, 2023
@github-actions
Copy link

github-actions bot commented Jun 6, 2023

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Jun 6, 2023
@arhadthedev arhadthedev added 3.13 bugs and security fixes and removed 3.12 only security fixes 3.13 bugs and security fixes labels Jun 6, 2023
@github-actions github-actions bot removed the stale Stale PR or inactive for long period of time. label Jun 7, 2023
@github-actions
Copy link

github-actions bot commented Jul 7, 2023

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Jul 7, 2023
Comment on lines +327 to +331
end_handlers['true'] = lambda: add_object(True)
end_handlers['false'] = lambda: add_object(False)
end_handlers['integer'] = lambda: add_object(int(get_data()))
end_handlers['real'] = lambda: add_object(float(get_data()))
end_handlers['string'] = lambda: add_object(get_data())
Copy link
Contributor

@bswck bswck Nov 11, 2024

Choose a reason for hiding this comment

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

Do you think we could use functools.partials here (where arguments are constants)?

Copy link
Contributor

@bswck bswck left a comment

Choose a reason for hiding this comment

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

What an awesome PR.

@serhiy-storchaka what is the state of this PR? Can we still somehow make it through?

@github-actions github-actions bot removed the stale Stale PR or inactive for long period of time. label Nov 12, 2024
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Dec 12, 2024
@vivodi
Copy link
Contributor

vivodi commented May 18, 2025

@serhiy-storchaka rebase?

@github-actions github-actions bot removed the stale Stale PR or inactive for long period of time. label May 19, 2025
Copy link

@auvipy auvipy left a comment

Choose a reason for hiding this comment

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

rebase with some update in tests also needed for the change now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting core review performance Performance or resource usage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants