GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-119793: Add optional length-checking to `map()` by nineteendo · Pull Request #120471 · python/cpython

gh-119793: Add optional length-checking to map() #120471

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.

Sign up for GitHub

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

Merged
encukou merged 45 commits into python:main from nineteendo:strict-map
Nov 4, 2024

Uh oh!

There was an error while loading. Please reload this page.

Merged

gh-119793: Add optional length-checking to map() #120471

Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
06fdd71
Add `strict` argument
nineteendo Jun 13, 2024
a7966f8
📜🤖 Added by blurb_it.
blurb-it[bot] Jun 13, 2024
89e25d9
Add tests
nineteendo Jun 13, 2024
a48ebcf
Update commented out code
nineteendo Jun 13, 2024
e4ee2fb
Update docs
nineteendo Jun 13, 2024
bdd0fcb
Fix `__reduce__()`
nineteendo Jun 13, 2024
91a8450
Revert `map_vectorcall()`
nineteendo Jun 14, 2024
2c7d524
Reduce diff
nineteendo Jun 14, 2024
5ad7eb2
Never set
nineteendo Jun 14, 2024
6d8584b
Reduce diff 2
nineteendo Jun 14, 2024
e436a2b
Fixed undefined variable
nineteendo Jun 14, 2024
f9a2a49
Apply suggestions from code review
nineteendo Jun 14, 2024
800ac10
Merge branch 'main' into strict-map
nineteendo Jun 19, 2024
301da5d
Update 2024-06-13-19-12-49.gh-issue-119793.FDVCDk.rst
nineteendo Jun 19, 2024
fb1c379
Update whatsnew
nineteendo Jun 19, 2024
255e3a2
Fix pr number
nineteendo Jun 19, 2024
d1c1769
Fix signature
nineteendo Jun 19, 2024
6d20976
Add comment
nineteendo Jun 19, 2024
c338c8f
Add comment 2
nineteendo Jun 19, 2024
99d9c75
Fix typo
nineteendo Jun 19, 2024
63522b3
Update Doc/library/functions.rst
nineteendo Jun 19, 2024
fcb438f
Match news entry of `zip()`
nineteendo Jun 19, 2024
6e97e31
Fix trailing whitespace
nineteendo Jun 19, 2024
54231e0
Update 2024-06-13-19-12-49.gh-issue-119793.FDVCDk.rst
nineteendo Jun 24, 2024
b5e8ac4
Update 2024-06-13-19-12-49.gh-issue-119793.FDVCDk.rst
nineteendo Jun 24, 2024
53f3f58
Remove pep reference
nineteendo Sep 4, 2024
a2fe008
Merge branch 'main' into strict-map
nineteendo Sep 28, 2024
9a2c0fd
Make tests more maintainable
nineteendo Oct 3, 2024
f75e511
Update Python/bltinmodule.c
nineteendo Oct 10, 2024
92134e7
Update Python/bltinmodule.c
nineteendo Oct 10, 2024
e74c3ff
Use correct variable
nineteendo Oct 10, 2024
bf7f350
Update Python/bltinmodule.c
nineteendo Oct 31, 2024
9cc41f2
Rename 2024-06-13-19-12-49.gh-issue-119793.FDVCDk.rst to 2024-06-13-1…
nineteendo Oct 31, 2024
f686101
Fix shadowed variable
nineteendo Oct 31, 2024
e524e17
Apply suggestions from code review
nineteendo Oct 31, 2024
91bdf2f
Rename 2024-06-13-19-12-49.gh-issue-119793.FDVCDk.rst to 2024-06-13-1…
nineteendo Oct 31, 2024
39c34f1
Use same message for news.d
nineteendo Oct 31, 2024
ea65b2c
Update Doc/whatsnew/3.14.rst
nineteendo Oct 31, 2024
45c2d0d
Apply suggestions from code review
nineteendo Oct 31, 2024
ad6c2a5
Sync with what's new
nineteendo Oct 31, 2024
9ebc398
Accept truthy value in setstate
nineteendo Oct 31, 2024
d829a17
Fix removed line
nineteendo Oct 31, 2024
d1d858f
Use stdbool
nineteendo Oct 31, 2024
f23caa5
Revert "Use stdbool"
nineteendo Oct 31, 2024
7e32e2c
Apply suggestions from code review
nineteendo Nov 1, 2024
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
Update Doc/whatsnew/3.14.rst
Co-authored-by: Erlend E. Aasland <[email protected]>
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@nineteendo @erlend-aasland
nineteendo and erlend-aasland authored Oct 31, 2024
commit ea65b2c7b0cd5df611552ebcc84be0b78679d43a

There are no files selected for viewing

2 changes: 1 addition & 1 deletion 2 Doc/whatsnew/3.14.rst
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Improved Error Messages
Other Language Changes
======================

* The :func:`map` function now has an optional ``strict`` flag like
* The :func:`map` function now has an optional *strict* flag like
:func:`zip`, used to require that all the iterables have an equal length.
(Contributed by Wannes Boeykens in :gh:`119793`.)

Expand Down
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.