Skip to content

Commit

Permalink
XXX comment out k_mul
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Nov 25, 2024
1 parent f7e998a commit 1782106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Objects/longobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -3933,7 +3933,7 @@ long_mul(PyLongObject *a, PyLongObject *b)
Py_ssize_t cutoff = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF;

Check warning on line 3933 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Address sanitizer (ubuntu-24.04)

unused variable ‘cutoff’ [-Wunused-variable]

Check warning on line 3933 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Hypothesis tests on Ubuntu

unused variable ‘cutoff’ [-Wunused-variable]

Check warning on line 3933 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Ubuntu / build and test (ubuntu-24.04)

unused variable ‘cutoff’ [-Wunused-variable]

Check warning on line 3933 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Ubuntu (free-threading) / build and test (ubuntu-24.04)

unused variable ‘cutoff’ [-Wunused-variable]

asize = asize > bsize ? bsize : asize;

/*
if (asize > cutoff) {
PyObject *mod = PyImport_ImportModule("_pylong");
if (mod == NULL) {
Expand All @@ -3951,7 +3951,7 @@ long_mul(PyLongObject *a, PyLongObject *b)
}
return (PyLongObject*)z;
}

*/
fallback:

Check warning on line 3955 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Address sanitizer (ubuntu-24.04)

label ‘fallback’ defined but not used [-Wunused-label]

Check warning on line 3955 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Hypothesis tests on Ubuntu

label ‘fallback’ defined but not used [-Wunused-label]

Check warning on line 3955 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Ubuntu / build and test (ubuntu-24.04)

label ‘fallback’ defined but not used [-Wunused-label]

Check warning on line 3955 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Ubuntu (free-threading) / build and test (ubuntu-24.04)

label ‘fallback’ defined but not used [-Wunused-label]

Check warning on line 3955 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / build and test (arm64)

'fallback': unreferenced label [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check warning on line 3955 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / build and test (arm64)

'fallback': unreferenced label [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Check warning on line 3955 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Windows / build and test (arm64)

'fallback': unreferenced label [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check warning on line 3955 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Windows / build and test (arm64)

'fallback': unreferenced label [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Check warning on line 3955 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Windows / build and test (x64)

'fallback': unreferenced label [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check warning on line 3955 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Windows / build and test (x64)

'fallback': unreferenced label [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Check warning on line 3955 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / build and test (x64)

'fallback': unreferenced label [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Check warning on line 3955 in Objects/longobject.c

View workflow job for this annotation

GitHub Actions / Windows (free-threading) / build and test (x64)

'fallback': unreferenced label [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
/* Use gradeschool math when either number is too small. */
if (asize == 0) {
Expand Down

0 comments on commit 1782106

Please sign in to comment.