Skip to content

Commit 2e6b80e

Browse files
committed
Rename to _remote_debugging
1 parent 90b4d18 commit 2e6b80e

12 files changed

+47
-65
lines changed

Lib/asyncio/tools.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from itertools import count
66
from enum import Enum
77
import sys
8-
from _remotedebugging import get_all_awaited_by
8+
from _remote_debugging import get_all_awaited_by
99

1010

1111
class NodeType(Enum):

Lib/test/test_external_inspection.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
PROCESS_VM_READV_SUPPORTED = False
1515

1616
try:
17-
from _remotedebugging import PROCESS_VM_READV_SUPPORTED
18-
from _remotedebugging import get_stack_trace
19-
from _remotedebugging import get_async_stack_trace
20-
from _remotedebugging import get_all_awaited_by
17+
from _remote_debugging import PROCESS_VM_READV_SUPPORTED
18+
from _remote_debugging import get_stack_trace
19+
from _remote_debugging import get_async_stack_trace
20+
from _remote_debugging import get_all_awaited_by
2121
except ImportError:
2222
raise unittest.SkipTest(
23-
"Test only runs when _remotedebugging is available")
23+
"Test only runs when _remote_debugging is available")
2424

2525
def _make_test_script(script_dir, script_basename, source):
2626
to_return = make_script(script_dir, script_basename, source)

Lib/test/test_sys.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1960,7 +1960,7 @@ def _supports_remote_attaching():
19601960
PROCESS_VM_READV_SUPPORTED = False
19611961

19621962
try:
1963-
from _remotedebugging import PROCESS_VM_READV_SUPPORTED
1963+
from _remote_debugging import PROCESS_VM_READV_SUPPORTED
19641964
except ImportError:
19651965
pass
19661966

Modules/Setup

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ PYTHONPATH=$(COREPYTHONPATH)
284284

285285
#*shared*
286286
#_ctypes_test _ctypes/_ctypes_test.c
287-
#_remotedebugging _remotedebuggingmodule.c
287+
#_remote_debugging _remote_debugging_module.c
288288
#_testcapi _testcapimodule.c
289289
#_testimportmultiple _testimportmultiple.c
290290
#_testmultiphase _testmultiphase.c

Modules/Setup.stdlib.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
@MODULE__PICKLE_TRUE@_pickle _pickle.c
4242
@MODULE__QUEUE_TRUE@_queue _queuemodule.c
4343
@MODULE__RANDOM_TRUE@_random _randommodule.c
44-
@MODULE__REMOTEDEBUGGING_TRUE@_remotedebugging _remotedebuggingmodule.c
44+
@MODULE__REMOTE_DEBUGGING_TRUE@_remote_debugging _remote_debugging_module.c
4545
@MODULE__STRUCT_TRUE@_struct _struct.c
4646

4747
# build supports subinterpreters

Modules/_remotedebuggingmodule.c renamed to Modules/_remote_debugging_module.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1554,13 +1554,13 @@ static PyMethodDef methods[] = {
15541554

15551555
static struct PyModuleDef module = {
15561556
.m_base = PyModuleDef_HEAD_INIT,
1557-
.m_name = "_remotedebugging",
1557+
.m_name = "_remote_debugging",
15581558
.m_size = -1,
15591559
.m_methods = methods,
15601560
};
15611561

15621562
PyMODINIT_FUNC
1563-
PyInit__remotedebugging(void)
1563+
PyInit__remote_debugging(void)
15641564
{
15651565
PyObject* mod = PyModule_Create(&module);
15661566
if (mod == NULL) {

PCbuild/_remotedebugging.vcxproj renamed to PCbuild/_remote_debugging.vcxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
</ItemGroup>
6969
<PropertyGroup Label="Globals">
7070
<ProjectGuid>{4D7C112F-3083-4D9E-9754-9341C14D9B39}</ProjectGuid>
71-
<RootNamespace>_remotedebugging</RootNamespace>
71+
<RootNamespace>_remote_debugging</RootNamespace>
7272
<Keyword>Win32Proj</Keyword>
7373
<SupportPGO>false</SupportPGO>
7474
</PropertyGroup>
@@ -93,7 +93,7 @@
9393
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
9494
</PropertyGroup>
9595
<ItemGroup>
96-
<ClCompile Include="..\Modules\_remotedebuggingmodule.c" />
96+
<ClCompile Include="..\Modules\_remote_debugging_module.c" />
9797
</ItemGroup>
9898
<ItemGroup>
9999
<ResourceCompile Include="..\PC\python_nt.rc" />

PCbuild/_remotedebugging.vcxproj.filters renamed to PCbuild/_remote_debugging.vcxproj.filters

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</Filter>
1010
</ItemGroup>
1111
<ItemGroup>
12-
<ClCompile Include="..\Modules\_remotedebuggingmodule.c" />
12+
<ClCompile Include="..\Modules\_remote_debugging_module.c" />
1313
</ItemGroup>
1414
<ItemGroup>
1515
<ResourceCompile Include="..\PC\python_nt.rc">

PCbuild/pcbuild.proj

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<!-- pyshellext.dll -->
6767
<Projects Include="pyshellext.vcxproj" />
6868
<!-- Extension modules -->
69-
<ExtensionModules Include="_asyncio;_decimal;_elementtree;_multiprocessing;_overlapped;pyexpat;_queue;_remotedebugging;select;unicodedata;winsound;_uuid;_wmi;_zoneinfo" />
69+
<ExtensionModules Include="_asyncio;_decimal;_elementtree;_multiprocessing;_overlapped;pyexpat;_queue;_remote_debugging;select;unicodedata;winsound;_uuid;_wmi;_zoneinfo" />
7070
<ExtensionModules Include="_ctypes" Condition="$(IncludeCTypes)" />
7171
<!-- Extension modules that require external sources -->
7272
<ExternalModules Include="_bz2;_lzma;_sqlite3" />

PCbuild/pcbuild.sln

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_testclinic", "_testclinic.
8181
EndProject
8282
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_testinternalcapi", "_testinternalcapi.vcxproj", "{900342D7-516A-4469-B1AD-59A66E49A25F}"
8383
EndProject
84-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_remotedebugging", "_remotedebugging.vcxproj", "{4D7C112F-3083-4D9E-9754-9341C14D9B39}"
84+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_remote_debugging", "_remote_debugging.vcxproj", "{4D7C112F-3083-4D9E-9754-9341C14D9B39}"
8585
EndProject
8686
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_testimportmultiple", "_testimportmultiple.vcxproj", "{36D0C52C-DF4E-45D0-8BC7-E294C3ABC781}"
8787
EndProject

configure

+29-47
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

+2-2
Original file line numberDiff line numberDiff line change
@@ -7755,7 +7755,7 @@ AS_CASE([$ac_sys_system],
77557755
dnl (see Modules/Setup.stdlib.in).
77567756
PY_STDLIB_MOD_SET_NA(
77577757
[_ctypes_test],
7758-
[_remotedebugging],
7758+
[_remote_debugging],
77597759
[_testimportmultiple],
77607760
[_testmultiphase],
77617761
[_testsinglephase],
@@ -7849,6 +7849,7 @@ PY_STDLIB_MOD_SIMPLE([_pickle])
78497849
PY_STDLIB_MOD_SIMPLE([_posixsubprocess])
78507850
PY_STDLIB_MOD_SIMPLE([_queue])
78517851
PY_STDLIB_MOD_SIMPLE([_random])
7852+
PY_STDLIB_MOD_SIMPLE([_remote_debugging])
78527853
PY_STDLIB_MOD_SIMPLE([select])
78537854
PY_STDLIB_MOD_SIMPLE([_struct])
78547855
PY_STDLIB_MOD_SIMPLE([_types])
@@ -8077,7 +8078,6 @@ PY_STDLIB_MOD([_gdbm],
80778078
PY_STDLIB_MOD([readline],
80788079
[], [test "$with_readline" != "no"],
80798080
[$READLINE_CFLAGS], [$READLINE_LIBS])
8080-
PY_STDLIB_MOD([_remotedebugging], [test "$TEST_MODULES" = yes])
80818081
PY_STDLIB_MOD([_sqlite3],
80828082
[test "$have_sqlite3" = "yes"],
80838083
[test "$have_supported_sqlite3" = "yes"],

0 commit comments

Comments
 (0)