Skip to content
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

bpo-32493: [3.7] UUID module. Not only AIX, but FreeBSD has uid_create support #5089

Merged
merged 4 commits into from Jan 9, 2018
Merged

bpo-32493: [3.7] UUID module. Not only AIX, but FreeBSD has uid_create support #5089

merged 4 commits into from Jan 9, 2018

Conversation

ghost
Copy link

@ghost ghost commented Jan 3, 2018

but unsigned32 type does not exist but that s just a standard
uint32_t type in FreeBSD.

https://bugs.python.org/issue32493

but unsigned32 type does not exist but that s just a standard
uint32_t type in FreeBSD.
@the-knights-who-say-ni
Copy link

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 might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). 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!

@ghost ghost changed the title UUID module. Not only AIX, but FreeBSD has uid_create support [3.7] UUID module. Not only AIX, but FreeBSD has uid_create support Jan 3, 2018
@ghost ghost changed the title [3.7] UUID module. Not only AIX, but FreeBSD has uid_create support bpo-32493: [3.7] UUID module. Not only AIX, but FreeBSD has uid_create support Jan 4, 2018
Copy link
Member

@pitrou pitrou left a comment

Choose a reason for hiding this comment

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

Thanks for this. Please see review comment below.
Also, can you add a NEWS entry using the blurb tool?

@@ -22,7 +22,7 @@ py_uuid_generate_time_safe(void)
/*
* AIX support for uuid - RFC4122
Copy link
Member

Choose a reason for hiding this comment

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

Since this isn't AIX-only after all, can you edit this comment?
Also please edit the similar comment in configure.ac where it checks the location for uuid.h (don't forget to regenerate configure afterwards).

@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@aixtools
Copy link
Contributor

aixtools commented Jan 9, 2018

p.s. - I think you can delete aclocal.m4 from the PR. From experience, my aclocal.m4 was quite different, but that is because I did not have pkgconfig installed.
Yours is different by one (added) space character.

Or maybe Antoine cleans that up before the PR is merged.

Glad that AIX is not the only OS that uses uuid_create() et al. Although, would have been nicer (from AIX) if a developer had not invented a new typedef only for uuid stuff.

(and it is uuid_ support, not uid_ :p

@devnexen
Copy link
Contributor

devnexen commented Jan 9, 2018

I have made the requested changes; please review again

@pitrou
Copy link
Member

pitrou commented Jan 9, 2018

Thank you. This looks good to me now.

@pitrou pitrou merged commit b4ebaa7 into python:master Jan 9, 2018
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.

5 participants