This repository has been archived by the owner. It is now read-only.
Remove fcntl_fcntl_impl keeping fcntl_ioctl_impl#1
Merged
Conversation
Пулл-реквест pythongh-95429 внёс по сути те же изменения, так что фокусируемся на отсутствующем там fcntl_ioctl_impl.
Консольная команда, использованная для обновления:
python Tools/clinic/clinic.py Modules/fcntlmodule.c
Если этого не сделать, автоматическая проверка пулл-реквеста увидит
рассинхронизацию, и у пул-реквеста в статусах будет крестик напротив
"Tests / Check if generated files are up to date".
fcntl_fcntl_impl, оставив fcntl_ioctl_implfcntl_fcntl_impl keeping fcntl_ioctl_impl
Author
|
Перевёл заголовок на английский, чтобы не озадачивать англоязычных посетителей CPython-ового пулл-реквеста, на который я на автомате сослался по полной форме. Там же обратная ссылка появилась. |
arhadthedev
commented
Jul 29, 2022
| @@ -0,0 +1 @@ | |||
| Remove max path size limit of 1024 for :func:`fcntl.ioctl` function. | |||
Author
There was a problem hiding this comment.
Изменения желательно не оставлять анонимными (тем более что в журнале изменений много наших соотечественников; например, по моим тёзкам - Oleg Krasnikov, Oleg Broytman, Oleg Oshmyan):
Suggested change
| Remove max path size limit of 1024 for :func:`fcntl.ioctl` function. | |
| Remove max path size limit of 1024 for :func:`fcntl.ioctl` function. | |
| Patch by Ilya ЗдесьФамилия. |
Owner
|
Не сразу заметил, ок. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Функция fcntl_fcntl_impl уже покрыта python#95429, поэтому стоит сосредоточиться на fcntl_ioctl_impl, убрав дублирование из python#95439.
Заодно перегенерировал код, преобразующий питоновый вызов в сишный с попутными проверкой и преобразованием параметров.