Skip to content

Conversation

@nanjekyejoannah
Copy link
Contributor

@nanjekyejoannah nanjekyejoannah commented Apr 29, 2019

I have added File Sealing operations to fnctl .

https://bugs.python.org/issue26835

@@ -0,0 +1 @@
fcntl now has File Sealing operations. No newline at end of file
Copy link
Member

@pablogsal pablogsal Apr 29, 2019

Choose a reason for hiding this comment

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

Please, use markdown formatting for fcntl (:func:fcntl.fcntl).

and Windows use this to properly terminate scripts in interactive sessions.
(Contributed by Google via Gregory P. Smith in :issue:`1054041`.)

* fcntl now has File Sealing operations.(Contributed by Joannah Nanjekye
Copy link
Member

Choose a reason for hiding this comment

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

Please, use markdown formatting for fcntl (:func:fcntl.fcntl).

Copy link
Contributor

Choose a reason for hiding this comment

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

What about write the final . after "()" And don't write the . inside the parenthesis. Like this:

fcntl now has File Sealing operations (Contributed by Joannah Nanjekye in :issue:`26835`).

Copy link
Member

Choose a reason for hiding this comment

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

Conform to the style used in other entries.

@pablogsal
Copy link
Member

I think we need tests for these options, taking into account that some of them are hardcoded.

/*
* Set/Get seals
*/
#define F_ADD_SEALS (F_LINUX_SPECIFIC_BASE + 9)
Copy link
Member

Choose a reason for hiding this comment

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

Rather of defining constants with fake values, it is better to add them conditionally, as other platform-specific constants. They should not be present on non-Linux and on old Linux.

and Windows use this to properly terminate scripts in interactive sessions.
(Contributed by Google via Gregory P. Smith in :issue:`1054041`.)

* fcntl now has File Sealing operations.(Contributed by Joannah Nanjekye
Copy link
Member

Choose a reason for hiding this comment

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

Conform to the style used in other entries.

@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.

@csabella
Copy link
Contributor

csabella commented Jun 1, 2019

Superseded by #13694. @nanjekyejoannah, thank you for your work on this.

@csabella csabella closed this Jun 1, 2019
@nanjekyejoannah
Copy link
Contributor Author

Thanks @tiran , Also next time it is good to ping author before opening replacement PR. It is just that some authors may feel bad for the time they Invested :)

@nanjekyejoannah nanjekyejoannah deleted the issue26835 branch June 1, 2019 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants