Skip to content

Commit 2f199ea

Browse files
committed
Do not credit argument clinic autogenerated files
1 parent a1c46da commit 2f199ea

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

src/isal/igzip_libmodule.c

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55
// This file is part of python-isal which is distributed under the
66
// PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2.
77

8-
// This file was modified from Cpython Modules/clinic/zlibmodule.c.h, Modules/clinic/_bz2module.c.h,
9-
// and Modules_bz2module.c files from the 3.9 branch.
8+
// This file was modified from Cpython Modules/bz2module.c file from the 3.9
9+
// branch.
1010

1111
// Changes compared to CPython:
12-
// - The BZ2Decompressor has been used as a basis for IgzipDecompressor. Functionality is almost
13-
// the same. IgzipDecompressor does have a more elaborate __init__ to set settings. It also implements
14-
// decompress_buf more akin to how decompression is implemented in isal_zlib_impl.h
15-
// - The argparsing code was adopted to support the functions from igzip_lib module.
12+
// - The BZ2Decompressor has been used as a basis for IgzipDecompressor.
13+
// Functionality is almost the same. IgzipDecompressor does have a more
14+
// elaborate __init__ to set settings. It also implements decompress_buf more
15+
// akin to how decompression is implemented in isal_shared.h
1616
// - Constants were added that are particular to igzip_lib.
17-
17+
// - Argument parsers were written using th CPython API rather than argument
18+
// clinic.
1819

1920
#include "isal_shared.h"
2021

src/isal/isal_zlibmodule.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
// This file is part of python-isal which is distributed under the
66
// PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2.
77

8-
// This file was modified from Cpython's Modules/clinic/zlibmodule.c.h and
9-
// Modules/zlibmodule.c files.
8+
// This file was modified from Cpython's Modules/zlibmodule.c file.
109
// Changes compared to CPython:
1110
// - All zlib naming changed to isal_zlib
1211
// - Including a few constants that are more specific to the ISA-L library
@@ -20,6 +19,8 @@
2019
// - zlib.compress also has a 'wbits' argument. This change was included in
2120
// Python 3.11. It allows for faster gzip compression by using
2221
// isal_zlib.compress(data, wbits=31).
22+
// - Argument parsers were written using th CPython API rather than argument
23+
// clinic.
2324

2425

2526
#include "isal_shared.h"

0 commit comments

Comments
 (0)