Skip to content

update from original micropython-lib #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 48 commits into from
Aug 3, 2014
Merged

Conversation

nirinA
Copy link
Owner

@nirinA nirinA commented Aug 3, 2014

update 2014.08.04

pfalcon added 30 commits June 3, 2014 02:03
Otherwise MicroPython will pick up glob as an empty namespace package from
the current dir otherwise.
MicroPython string type shares setup with bytes, and thus both have entries
for "encode" and "decode" (but only one valid for a type really works).
pfalcon added 18 commits June 21, 2014 03:21
It's needed because different LIBC implementation use different shared
library names, so this module abstracts operation of finding the correct
one.

Default search order:

1. libc.so. This is usually doesn't exist, but user can create such symlink,
and it will be used fast.
2. libc.so.0, as used by current uClibc versions.
3. libc.so.6, as used by current Glibc versions.

uClibc is tried first because system where it is used are usually
underpowered to do array of attempts.

User can also override default search names by calling _libc.set_names(),
(which should be called before importing any other modules).
nirinA added a commit that referenced this pull request Aug 3, 2014
update from original micropython-lib
@nirinA nirinA merged commit bd88531 into nirinA:master Aug 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants