This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Function to count total number of common divisors of two numbers
Type: enhancement Stage: resolved
Components: Library (Lib) Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Ishu2001, mark.dickinson, steven.daprano
Priority: normal Keywords:

Created on 2019-10-27 18:17 by Ishu2001, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
cd_count.py Ishu2001, 2019-10-28 08:17
Messages (6)
msg355490 - (view) Author: ishan gambhir (Ishu2001) * Date: 2019-10-27 18:17
The function given in attached file can be added in math module
msg355494 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2019-10-27 19:13
Thank you for the suggestion. I don't think this fits that well with the view of the math module as a set of basic building blocks: this is quite a specialist function that wouldn't come up often in applications.
msg355496 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2019-10-27 19:26
Sorry, but I'm rejecting this: I don't think this is likely to have value to a range of users, and it's not a basic building block - as such, it doesn't really fit with the current design and intended usage of the math module.

You might consider publishing your code and recipes in a PyPI package: if that package gets a lot of users, that could be motivation to consider adding its functionality to core Python.
msg355497 - (view) Author: ishan gambhir (Ishu2001) * Date: 2019-10-27 19:29
no issue I will consider your worthy sugestion
msg355505 - (view) Author: Steven D'Aprano (steven.daprano) * (Python committer) Date: 2019-10-27 22:32
Also, next time I suggest that you try running the code at least once before submitting it, as your code contains a syntax error that prevents it from running.
msg355516 - (view) Author: ishan gambhir (Ishu2001) * Date: 2019-10-28 08:14
Sorry For it now it is corrected.
History
Date User Action Args
2022-04-11 14:59:22adminsetgithub: 82787
2019-10-28 08:17:49Ishu2001setfiles: + cd_count.py
2019-10-28 08:17:20Ishu2001setfiles: - cd_count.py
2019-10-28 08:15:17Ishu2001setfiles: - cd_count.py
2019-10-28 08:14:50Ishu2001setfiles: + cd_count.py

messages: + msg355516
2019-10-27 22:32:25steven.dapranosetnosy: + steven.daprano
messages: + msg355505
2019-10-27 19:30:46Ishu2001setstatus: open -> closed
2019-10-27 19:29:52Ishu2001setstatus: closed -> open
resolution: rejected ->
messages: + msg355497
2019-10-27 19:26:58mark.dickinsonsetstatus: open -> closed
resolution: rejected
messages: + msg355496

stage: resolved
2019-10-27 19:13:07mark.dickinsonsetnosy: + mark.dickinson
messages: + msg355494
2019-10-27 18:26:47Ishu2001setcomponents: + Library (Lib)
2019-10-27 18:20:07Ishu2001setcomponents: - 2to3 (2.x to 3.x conversion tool)
2019-10-27 18:17:55Ishu2001create