Skip to content

bpo-30067: Fix misplaced positional argument in OS X support library#1134

Merged
serhiy-storchaka merged 1 commit into
python:masterfrom
JackMc:fix-issue-30067
Apr 14, 2017
Merged

bpo-30067: Fix misplaced positional argument in OS X support library#1134
serhiy-storchaka merged 1 commit into
python:masterfrom
JackMc:fix-issue-30067

Conversation

@JackMc
Copy link
Copy Markdown
Contributor

@JackMc JackMc commented Apr 14, 2017

This pull request fixes the issue reported in issue number 30067 in the CPython bug tracker.

The issue is that a positional argument to the re.sub function which is meant to be an integer representing the maximum number of matches for replacement is actually passed the integer flag value re.ASCII upon further inspection, it is clear that the intention was to pass this in as a value for the flags argument to re.sub.

@mention-bot
Copy link
Copy Markdown

@JackMc, thanks for your PR! By analyzing the history of the files in this pull request, we identified @ned-deily, @vadmium and @ezio-melotti to be potential reviewers.

@the-knights-who-say-ni
Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA. This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

Thanks again to your contribution and we look forward to looking at it!

@JackMc
Copy link
Copy Markdown
Contributor Author

JackMc commented Apr 14, 2017

Hi all, I have signed my CLA and contributed to CPython in the past. Confused why the bot is saying otherwise.

@JackMc
Copy link
Copy Markdown
Contributor Author

JackMc commented Apr 14, 2017

I have resigned the CLA, hopefully that sorts it out.

@serhiy-storchaka serhiy-storchaka changed the title bpo-30067 Fix misplaced positional argument in OS X support library bpo-30067: Fix misplaced positional argument in OS X support library Apr 14, 2017
@Mariatta
Copy link
Copy Markdown
Member

@JackMc once CLA is signed, you need to link your GitHub account to the account you have at bugs.python.org. please see https://cpython-devguide.readthedocs.io/pullrequest.html#licensing for more details.

@JackMc
Copy link
Copy Markdown
Contributor Author

JackMc commented Apr 14, 2017

My apologies, didn't see that step. Linked & CLA signed!

@serhiy-storchaka
Copy link
Copy Markdown
Member

Thank you for your fix @JackMc. Do you mind to backport it to other branches?

IMHO such trivial change doesn't required signing CLA. But this could be needed for future patches of @JackMc.

@JackMc
Copy link
Copy Markdown
Contributor Author

JackMc commented Apr 14, 2017

I definitely can backport it. I'll make more PRs for the backports!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants