Delio Brignoli
1773bc0788
contextlib: modify TestExitStack to work in uPy
2015-11-04 00:27:03 +03:00
Delio Brignoli
b9f3b49e2e
contextlib: add TestExitStack from CPython 3.4
2015-11-04 00:27:03 +03:00
Delio Brignoli
5fd99fe680
contextlib: modify ExitStack to work in uPy
2015-11-04 00:27:03 +03:00
Delio Brignoli
e41f5da1ea
contextlib: re-instate ExitStack from CPython 3.4
2015-11-01 15:41:51 +01:00
Delio Brignoli
1260289917
unittest: add assertIsNone() and assertIsNotNone() methods to TestCase
2015-11-01 17:01:58 +03:00
Paul Sokolovsky
711eba3a7e
argparse: Release 0.3.1.
2015-10-22 20:52:57 +03:00
Delio Brignoli
680364d20c
contextlib: depend on ucontextlib and fix tests
2015-10-22 20:48:43 +03:00
Delio Brignoli
de39c2417c
ucontextlib: spin off minimal module from contextlib
2015-10-22 20:47:22 +03:00
Delio Brignoli
7472c8aa78
argparse: PEP8 formatting
2015-10-17 04:47:28 +02:00
Paul Sokolovsky
15da903277
socket: Release 0.3.1.
2015-10-19 10:12:12 +03:00
Paul Sokolovsky
8bb6857818
socket: Native struct sockaddr may come as bytes or bytearray.
2015-10-19 10:12:03 +03:00
Paul Sokolovsky
89480056ed
argparse: Release 0.3.
2015-10-19 10:05:48 +03:00
Delio Brignoli
5e9dcae281
argparse: Add test and fix support for pos arg with dest and no name.
2015-10-19 00:28:29 +01:00
Delio Brignoli
e0aab10144
argparse: Do not print a blank line when description is empty.
2015-10-19 00:28:24 +01:00
Delio Brignoli
dd34477222
argparse: Add support for multiple option names to add_argument().
2015-10-19 00:28:19 +01:00
Paul Sokolovsky
b9ca8ea921
upip: Honor MICROPYPATH environment variable.
2015-10-17 20:11:22 +03:00
Paul Sokolovsky
7c444be6ba
argparse: Release 0.2.
2015-10-16 23:03:34 +03:00
Paul Sokolovsky
2c5e45b1b8
argparse: Fix failing testcase.
2015-10-16 23:03:00 +03:00
Paul Sokolovsky
fca6f0cc72
argparse: Description arg is optional.
...
TODO: Make sure that in this case, good help message is printed to user.
2015-10-16 23:02:52 +03:00
Paul Sokolovsky
b0f8d85a62
socket: Release 0.3.
2015-10-16 00:36:13 +03:00
Paul Sokolovsky
e3903c9f64
socket: Allow connect() & bind() to take standard tuple of (host, port).
2015-10-16 00:35:49 +03:00
Paul Sokolovsky
36c802ca14
os: Release 0.3.
2015-10-11 17:42:15 +03:00
Paul Sokolovsky
a1cf086eb3
os: Implement execvp().
2015-10-11 17:41:41 +03:00
Paul Sokolovsky
fff07bd79a
os: Implement dup().
2015-10-11 17:36:28 +03:00
Paul Sokolovsky
e840da936f
xmltok: Release 0.1.
2015-10-10 13:16:47 +03:00
Paul Sokolovsky
db6c6e1a55
xmltok: Add test.
2015-10-10 13:10:11 +03:00
Paul Sokolovsky
8e19a487c5
xmltok: Get rid of string concatenation in a loop.
2015-10-10 13:10:11 +03:00
Paul Sokolovsky
e6a6503193
xmltok: Comment out unused token types.
2015-10-10 13:10:11 +03:00
Paul Sokolovsky
1c63b95740
xmltok: Yield attibute name and value at the same time.
2015-10-10 13:10:11 +03:00
Paul Sokolovsky
cdfe726ab6
xmltok: Make text_of() support namespaced tags.
2015-10-10 13:10:11 +03:00
Paul Sokolovsky
91c590185c
xmltok: Support XML namespaces.
...
Now all tags/attributes represented by pair (namspace, ident). "namespace"
is empty string for default namespace. E.g.:
('START_TAG', ('', 'specVersion'))
('END_TAG', ('s', 'Body'))
2015-10-10 13:10:11 +03:00
Paul Sokolovsky
cebf1973bc
xmltok: Initial draft version of XML tokenizer.
...
API roughly inspired by stdlib "tokenize" module.
2015-10-10 13:10:11 +03:00
Paul Sokolovsky
2bb224b562
_libc: Deprecated, superseded by ffilib.
2015-09-10 01:18:36 +03:00
Paul Sokolovsky
7b9dcba072
signal: Switch to ffilib.
2015-09-09 17:57:25 +03:00
Paul Sokolovsky
6752c6a66a
fcntl: Switch to ffilib.
2015-09-08 22:27:59 +03:00
Paul Sokolovsky
4336125d3a
time: Depend on ffilib.
2015-09-07 22:05:41 +03:00
Paul Sokolovsky
37d5611127
upip: Release 0.5.8.
2015-09-03 17:29:58 +03:00
Paul Sokolovsky
8c749d292a
upip: Add support for native (no wget) SSL operations using ussl module.
2015-09-03 17:27:55 +03:00
Paul Sokolovsky
daaffd7edb
select: Switch to ffilib.
2015-09-02 00:15:05 +03:00
Paul Sokolovsky
23de8c0a22
unittest: Release 0.1.
2015-08-31 15:33:44 +03:00
Tom Soulanille
729d5b6446
unittest: Add assertAlmostEqual and assertNotAlmostEqual
2015-08-31 15:33:01 +03:00
Paul Sokolovsky
316d960880
upip: Release 0.5.7.
2015-08-30 03:18:49 +03:00
Paul Sokolovsky
5633db3aec
upip: Drop _libc, add ffilib.
2015-08-30 03:15:37 +03:00
Paul Sokolovsky
2c00116f52
ffilib: Release 0.1.2.
2015-08-30 03:14:17 +03:00
Paul Sokolovsky
937cbf330c
ffilib: Port .bitness from _libc.
2015-08-30 03:13:37 +03:00
Paul Sokolovsky
281feeb6d9
upip: Release 0.5.5.
2015-08-30 02:53:48 +03:00
Paul Sokolovsky
fd63aa84f1
upip: Update dependency modules.
2015-08-30 02:53:08 +03:00
Paul Sokolovsky
4a1961d465
select: Release 0.1.5.
2015-08-30 02:47:10 +03:00
Paul Sokolovsky
0a6710ecd1
select: Update for os.errno_ refactor.
2015-08-30 02:47:10 +03:00
Paul Sokolovsky
b255da4a83
os: Release 0.2.4.
2015-08-30 02:47:10 +03:00