Paul Sokolovsky
c07404dab3
http.client: Add basic example.
2014-06-07 22:21:44 +03:00
Paul Sokolovsky
bd3ceb4513
http.client: Comment out io.RawIOBase, as uPy lacks complete io hierarchy.
2014-06-07 22:20:10 +03:00
Paul Sokolovsky
471d805b45
http.client: Explicitly check for str type instead of "encode" method.
...
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).
2014-06-07 22:17:28 +03:00
Paul Sokolovsky
5fb6c52c1f
http.client: Add pristine from CPython 3.3.3.
2014-06-07 22:15:47 +03:00
Paul Sokolovsky
cf4c27a885
make_metadata.py: Allow to have module name != distribution name.
...
Like, micropython-re-pcre hosts re.py.
2014-06-07 05:04:00 +03:00
Paul Sokolovsky
f1201bdce9
re-pcre: sub(): If suffix of string matched, None was returned.
2014-06-07 05:04:00 +03:00
Paul Sokolovsky
62240137d4
make_metadata.py: Remove current dir from sys.path.
...
Otherwise MicroPython will pick up glob as an empty namespace package from
the current dir otherwise.
2014-06-06 23:22:44 +03:00
Paul Sokolovsky
c6ef480ad0
glob: Explicitly import os.path.
2014-06-06 22:53:30 +03:00
Paul Sokolovsky
2529222872
heapq: Switch to metadata.txt.
2014-06-03 02:06:08 +03:00
Paul Sokolovsky
a3bb492fa7
make_metadata.py: Support comments.
2014-06-03 02:05:44 +03:00
Paul Sokolovsky
b871e34e5b
heapq: Convert __about__ to "second docstring".
...
So it can be discarded.
2014-06-03 02:03:29 +03:00
Paul Sokolovsky
286ead8b99
select: Convert to metadata.txt.
2014-05-31 16:18:41 +03:00
Paul Sokolovsky
f4d921c74f
select: Fix conflict between errno var and module.
2014-05-31 16:18:34 +03:00
Paul Sokolovsky
598d1a35aa
.gitignore: Ignore local development files.
2014-05-31 15:18:48 +03:00
Paul Sokolovsky
500a82267d
http.client: Add example.
2014-05-31 15:17:58 +03:00
Paul Sokolovsky
878edba0dc
os.path: Make join() accept bytes args.
2014-05-26 01:59:41 +03:00
Paul Sokolovsky
5b4e7d9ec8
os: Make listdir() accept bytes arg and have corresponding semantics.
2014-05-26 01:58:36 +03:00
Paul Sokolovsky
dc6a6d096f
os: Add fsencode() & fsdecode().
2014-05-26 01:18:18 +03:00
Paul Sokolovsky
886587bd72
http.client: Test string by type, not by presense of some method.
...
MicroPython has both encode() & decode() for both str & bytes, and it's
expensive to have it otherwise.
2014-05-25 23:02:53 +03:00
Paul Sokolovsky
34644d566e
http.client: uPy doesn't have io.RawIOBase, so skip it.
2014-05-25 23:02:14 +03:00
Paul Sokolovsky
6c8875f591
http.client: Add pristine from CPython 3.3.3.
2014-05-25 23:00:54 +03:00
Paul Sokolovsky
a8f0713548
socket: Add _GLOBAL_DEFAULT_TIMEOUT constant.
2014-05-25 22:56:45 +03:00
Paul Sokolovsky
5c1b7e4885
socket: Switch to metadata.txt.
2014-05-25 22:51:52 +03:00
Paul Sokolovsky
9b3688f98a
socket: Implement create_connection(), dummy socket.sendall().
2014-05-25 22:50:58 +03:00
Paul Sokolovsky
717dc0cd1f
email.header: MicroPython doesn't have str.isspace().
...
And the usecase here clear doesn't prompt for it to be added to core language.
2014-05-25 03:25:06 +03:00
Paul Sokolovsky
4819791a9c
shelve: Add dummy module.
2014-05-24 18:28:16 +03:00
Paul Sokolovsky
a3fefe1ea4
csv: Add dummy module.
2014-05-24 18:27:52 +03:00
Paul Sokolovsky
34ee386c3b
email.message: Add email.iterators module to dist-package.
...
It's import by email.message and small, so makes no sense to have separate
dist-package for it.
2014-05-24 16:21:00 +03:00
Paul Sokolovsky
8724cb4d5b
email.internal: Add metadata.
2014-05-24 16:18:24 +03:00
Paul Sokolovsky
657aa6551d
email.internal: _policybase.py: Short-circuit metaclass and __doc__ stuff.
2014-05-24 16:17:35 +03:00
Paul Sokolovsky
f93de4a4d5
email.internal: Add pristine from CPython 3.3.3.
...
This dist-package hosts few "package private" modules with names starting
with "_". Maybe this is not the best grouping, but having a separate
dist-package for each such module is a bit verbose.
2014-05-24 16:15:27 +03:00
Paul Sokolovsky
67cf02d715
email.header: Add metadata.
2014-05-24 16:12:09 +03:00
Paul Sokolovsky
86b7cca53b
email.header: Add pristine from CPython 3.3.3.
2014-05-24 16:10:56 +03:00
Paul Sokolovsky
105489b7b4
email.parser: Add metadata.
2014-05-24 16:09:11 +03:00
Paul Sokolovsky
7d1bb7e6a3
email.parser: Kw-only args are not supported yet by MicroPython.
2014-05-24 16:08:40 +03:00
Paul Sokolovsky
23cdbaec7c
email.parser: Add pristine from CPython 3.3.3.
2014-05-24 16:08:08 +03:00
Paul Sokolovsky
3c2a058c5e
email.feedparser: Add metadata.
2014-05-24 16:06:53 +03:00
Paul Sokolovsky
3152071bba
email.feedparser: Kw-only args are not supported yet by MicroPython.
2014-05-24 16:05:26 +03:00
Paul Sokolovsky
7a1e09866e
email.feedparser: Add pristine from CPython 3.3.3.
2014-05-24 16:04:25 +03:00
Paul Sokolovsky
dfbc8b4520
email.utils: Add metadata.
2014-05-24 15:36:40 +03:00
Paul Sokolovsky
65a158b904
email.message: Update dependencies.
2014-05-24 15:34:16 +03:00
Paul Sokolovsky
fd6b8bcbe4
email.errors: Add metadata,
2014-05-24 15:27:27 +03:00
Paul Sokolovsky
ac4c5fd6bd
email.errors: Fix MicroPython multiple inheritance from native type issues.
2014-05-24 15:26:04 +03:00
Paul Sokolovsky
817ae1413e
email.errors: Add pristine from CPython 3.3.3.
...
This is separate dist-package to allow lean dependencies for low-dependency
packages like email.encoders and email.charset.
2014-05-24 15:23:56 +03:00
Paul Sokolovsky
3b122e2b89
email.charset: Add metadata.
2014-05-24 15:20:33 +03:00
Paul Sokolovsky
de2ff8bd40
email.charset: Add pristine from CPython 3.3.3.
2014-05-24 15:16:11 +03:00
Paul Sokolovsky
82cd2d2ab4
email.encoders: Add metadata.
2014-05-24 15:13:36 +03:00
Paul Sokolovsky
582dc1600b
email.encoders: Add pristine from CPython 3.3.3.
2014-05-24 14:58:18 +03:00
Paul Sokolovsky
d55ce6a26d
email.utils: Add pristine from CPython 3.3.3.
2014-05-24 14:54:09 +03:00
Paul Sokolovsky
81bc5185e9
email.message: Add metadata.
2014-05-24 14:52:52 +03:00