micropython-lib icon indicating copy to clipboard operation
micropython-lib copied to clipboard

where the 'uio' come from?

Open yingshaoxo opened this issue 1 year ago • 1 comments

When I look at the io module, it imported a module called 'uio'

But I did not found it anywhere, where that thing comes from?

yingshaoxo avatar Aug 17 '23 06:08 yingshaoxo

Until very recently, MicroPython used a 'u' prefix on a number of libraries to indicate that it was a subset - and sometimes different - to the CPython library of the same name.

Nightly builds, and the impending v1.21 release, will drop the 'u' prefix but provide backwards compatibility (ie import uio will continue to work though import io should be preferred).

mattytrentini avatar Aug 17 '23 06:08 mattytrentini