FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Issue 5682: Move _io module into its own subdirectory. · python-emscripten/cpython@8d8d630 · GitHub

Repository navigation

Commit 8d8d630

Browse files
committed
Issue 5682: Move _io module into its own subdirectory.
Reviewed by: Antoine Pitrou
1 parent b4a49f6 commit 8d8d630

14 files changed

Lines changed: 127 additions & 101 deletions

File tree

‎Makefile.pre.in‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -193,15 +193,16 @@ MODULE_OBJS= \
193193
# Used of signalmodule.o is not available
194194
SIGNAL_OBJS= @SIGNAL_OBJS@
195195

196-
IO_H= Modules/_iomodule.h
196+
IO_H= Modules/_io/_iomodule.h
197197

198198
IO_OBJS= \
199-
Modules/io.o \
200-
Modules/_iobase.o \
201-
Modules/_fileio.o \
202-
Modules/_bufferedio.o \
203-
Modules/_textio.o \
204-
Modules/_bytesio.o
199+
Modules/_io/_iomodule.o \
200+
Modules/_io/iobase.o \
201+
Modules/_io/fileio.o \
202+
Modules/_io/bufferedio.o \
203+
Modules/_io/textio.o \
204+
Modules/_io/bytesio.o \
205+
Modules/_io/stringio.o
205206

206207
##########################################################################
207208
# Grammar

‎Modules/Setup.dist‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ _codecs _codecsmodule.c # access to the builtin codecs and codec registry
114114
_weakref _weakref.c # weak references
115115

116116
# Standard I/O baseline
117-
_io io.c _iobase.c _fileio.c _bytesio.c _bufferedio.c _textio.c _stringio.c
117+
_io -I$(srcdir)/Modules/_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c
118118

119119
# The zipimport module is always imported at startup. Having it as a
120120
# builtin module avoids some bootstrapping problems and reduces overhead.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL