diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2021-12-08 14:18:39 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-12-17 23:53:44 +1100 |
commit | cc23e99f320e5465db93b8cc021972a634692b63 (patch) | |
tree | d4ac5eeb22087a14b22599bce6513ee89232777b /py/mpconfig.h | |
parent | d6dc4cb65a222bd05ec2746c37e457c56484e780 (diff) |
py/modio: Remove io.resource_stream function.
This feature is not enabled on any port, it's not in CPython's io module,
and functionality is better suited to the micropython-lib implementation of
pkg_resources.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r-- | py/mpconfig.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 308a77666..86e3e0f34 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -1281,17 +1281,6 @@ typedef double mp_float_t; #define MICROPY_PY_IO_IOBASE (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_EXTRA_FEATURES) #endif -// Whether to provide "uio.resource_stream()" function with -// the semantics of CPython's pkg_resources.resource_stream() -// (allows to access binary resources in frozen source packages). -// Note that the same functionality can be achieved in "pure -// Python" by prepocessing binary resources into Python source -// and bytecode-freezing it (with a simple helper module available -// e.g. in micropython-lib). -#ifndef MICROPY_PY_IO_RESOURCE_STREAM -#define MICROPY_PY_IO_RESOURCE_STREAM (0) -#endif - // Whether to provide "io.FileIO" class #ifndef MICROPY_PY_IO_FILEIO #define MICROPY_PY_IO_FILEIO (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_EXTRA_FEATURES) |