gh-132527: fix: include 'w' in error message for array typecodes#132587
gh-132527: fix: include 'w' in error message for array typecodes#132587Vaid07-Techy wants to merge 2 commits intopython:mainfrom
Conversation
|
The following commit authors need to sign the Contributor License Agreement: |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
This should be closed. A pr already exists: #132529 In the future please check for existing PR's before submitting your own, you should probably look over the devguide too. |
|
Thanks for the contribution @Vaid07-Techy! Unfortunately, as Stan said, there's already a PR that fixes this. That said, don't let this discourage you! I invite you to check the issue tracker for other issues :) |
|
hey @StanFromIreland thanks for letting me know, as I'm new here I'm still learning how everything works here .. |
gh-132527: Fix error message to include 'w' typecode in arraymodule.c
This PR fixes the ValueError message in
arraymodule.c, adding'w'to the list of valid typecodes.'w'is currently a supported typecode, but it was missing from the error message when users tried to use it, causing confusion.