Skip to content

Conversation

@StanFromIreland
Copy link
Member

CC @hugovk

Added functionality to copy module_docs.py to pydoc_data.
@hugovk
Copy link
Member

hugovk commented Jan 20, 2026

Please include some detail and rationale with PRs.

Is this for the new file added in python/cpython#139995?

Can you point to a bug the absence of this copy caused in 3.15.0a5?

The above PR was backported to 3.13, will this PR raise a FileNotFoundError on security releases?

@StanFromIreland
Copy link
Member Author

StanFromIreland commented Jan 20, 2026

Is this for the new file added in python/cpython#139995?

Yes, apologies.

diff --git a/Lib/pydoc_data/module_docs.py b/Lib/pydoc_data/module_docs.py
index f6d84a60b43..59cbd27234a 100644
--- a/Lib/pydoc_data/module_docs.py
+++ b/Lib/pydoc_data/module_docs.py
@@ -1,4 +1,4 @@
-# Autogenerated by Sphinx on Sun Oct 12 12:02:22 2025
+# Autogenerated by Sphinx on Tue Jan 20 18:47:40 2026
 # as part of the release process.
 
 module_docs = {
@@ -23,7 +23,6 @@ module_docs = {
     'bisect': 'bisect#module-bisect',
     'builtins': 'builtins#module-builtins',
     'bz2': 'bz2#module-bz2',
-    'cProfile': 'profile#module-cProfile',
     'calendar': 'calendar#module-calendar',
     'cgi': 'cgi#module-cgi',
     'cgitb': 'cgitb#module-cgitb',
@@ -149,6 +148,7 @@ module_docs = {
     'mailcap': 'mailcap#module-mailcap',
     'marshal': 'marshal#module-marshal',
     'math': 'math#module-math',
+    'math.integer': 'math.integer#module-math.integer',
     'mimetypes': 'mimetypes#module-mimetypes',
     'mmap': 'mmap#module-mmap',
     'modulefinder': 'modulefinder#module-modulefinder',
@@ -183,8 +183,10 @@ module_docs = {
     'posix': 'posix#module-posix',
     'pprint': 'pprint#module-pprint',
     'profile': 'profile#module-profile',
-    'profiling.sampling': 'profile#module-profiling.sampling',
-    'pstats': 'profile#module-pstats',
+    'profiling': 'profiling#module-profiling',
+    'profiling.sampling': 'profiling.sampling#module-profiling.sampling',
+    'profiling.tracing': 'profiling.tracing#module-profiling.tracing',
+    'pstats': 'pstats#module-pstats',
     'pty': 'pty#module-pty',
     'pwd': 'pwd#module-pwd',
     'py_compile': 'py_compile#module-py_compile',

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants