Skip to content

Some minor statistics.NormalDist adjustments#13626

Merged
AlexWaygood merged 8 commits intopython:mainfrom
jorenham:statistics-fixes
Mar 15, 2025
Merged

Some minor statistics.NormalDist adjustments#13626
AlexWaygood merged 8 commits intopython:mainfrom
jorenham:statistics-fixes

Conversation

@jorenham
Copy link
Contributor

@jorenham jorenham commented Mar 15, 2025

I noticed some opportunities for improvement when I compared the stub with the cpython implementation.

I'm not really sure about the last commit (the self -> x1 renames), so I'm curious to see what others think about it, and wouldn't mind reverting.

@github-actions

This comment has been minimized.

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

Mostly looks good! A few comments

@AlexWaygood
Copy link
Member

I'm not really sure about the last commit (the self -> x1 renames), so I'm curious to see what others think about it, and wouldn't mind reverting.

I'm fine with this change. I wouldn't necessarily prioritising fixing lots of dunder parameter names all over the stdlib with similar changes (it's not that important). But it's strictly more accurate to the runtime implementation, so I won't say "no" now that you've made the change :-)

jorenham and others added 2 commits March 15, 2025 19:18
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@github-actions

This comment has been minimized.

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

Thanks!

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@AlexWaygood AlexWaygood merged commit 8064d99 into python:main Mar 15, 2025
55 checks passed
@jorenham jorenham deleted the statistics-fixes branch March 15, 2025 19:08
mmingyu pushed a commit to mmingyu/typeshed that referenced this pull request May 16, 2025
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
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