Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd7aa3d2

Browse files
bpo-39144 Align ctags and etags behaviours in the makefile and include Python stdlib files (GH-17721)
(cherry picked from commitef7eaaf)Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
1 parent5641b6d commitd7aa3d2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

‎Makefile.pre.in‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,13 +1669,16 @@ tags::
16691669
ctags -w $(srcdir)/Include/*.h $(srcdir)/Include/internal/*.h
16701670
for i in $(SRCDIRS); do ctags -f tags -w -a $(srcdir)/$$i/*.[ch]; done
16711671
ctags -f tags -w -a $(srcdir)/Modules/_ctypes/*.[ch]
1672+
find $(srcdir)/Lib -type f -name "*.py" -not -name "test_*.py" -not -path "*/test/*" -not -path "*/tests/*" -not -path "*/*_test/*" | ctags -f tags -w -a -L -
16721673
LC_ALL=C sort -o tags tags
16731674

16741675
# Create a tags file for GNU Emacs
16751676
TAGS::
16761677
cd $(srcdir); \
16771678
etags Include/*.h Include/internal/*.h; \
16781679
for i in $(SRCDIRS); do etags -a $$i/*.[ch]; done
1680+
etags -a $(srcdir)/Modules/_ctypes/*.[ch]
1681+
find $(srcdir)/Lib -type f -name "*.py" -not -name "test_*.py" -not -path "*/test/*" -not -path "*/tests/*" -not -path "*/*_test/*" | etags - -a
16791682

16801683
# Sanitation targets -- clean leaves libraries, executables and tags
16811684
# files, which clobber removes as well
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The ctags and etags build targets both include Modules/_ctypes and Python standard library source files.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp