Paul Sokolovsky
|
8f08257512
|
pickle: Add dummy HIGHEST_PROTOCOL, accept dummy proto in dump, dumps.
For compatibility with CPython.
These are probably not good for low-resource ports, but for them we may
need to create upickle.
|
2017-10-22 19:50:20 +03:00 |
Paul Sokolovsky
|
03bb3ad060
|
io: Release 0.1.
|
2017-10-21 21:36:44 +03:00 |
Paul Sokolovsky
|
72315593b3
|
io: Add SEEK_* symbolic constants.
|
2017-10-21 21:34:41 +03:00 |
Paul Sokolovsky
|
1bae9c92c4
|
select: Release 0.3.
|
2017-10-21 21:28:43 +03:00 |
Reid Wagner
|
c09b364253
|
select: epoll: Recompute timeout after EINTR.
As detailed in PEP 475, timeout should be recomputed before retrying
the interrupted system call.
|
2017-10-21 21:27:57 +03:00 |
Paul Sokolovsky
|
c8f9cf1dca
|
select: epoll.poll() takes timeout in seconds.
That's inconsistent with poll.poll(), but that's how CPython has it.
|
2017-10-21 00:40:50 +03:00 |
Paul Sokolovsky
|
61f9dd8721
|
os.path: test_path.py: Use paths relative to module dir.
Allows to run via test aggregators.
|
2017-10-18 14:03:05 +03:00 |
Paul Sokolovsky
|
e9b54606e9
|
os: test_filestat.py: Use paths relative to module dir.
Allows to run via test aggregators.
|
2017-10-13 20:24:35 +03:00 |
Paul Sokolovsky
|
54e466d650
|
upip: Makefile: Remove unused dependencies.
|
2017-10-12 20:04:29 +03:00 |
Paul Sokolovsky
|
98bf9edccc
|
fnmatch: test_fnmatch: Disable tests for bytes arguments.
re-pcre doesn't work properly with bytes patterns so far, disable the test
until later.
|
2017-10-11 20:12:21 +03:00 |
Paul Sokolovsky
|
8cca4dffce
|
glob: test_glob: Consistently disable tests for bytes arguments.
MicroPython doen't fully implement str vs bytes dichotomy on "os" module
level, so it doesn't work for glob either.
|
2017-10-10 17:30:41 +03:00 |
Paul Sokolovsky
|
56434974a7
|
select: Release 0.2.
|
2017-10-07 01:14:30 +03:00 |
Paul Sokolovsky
|
f5bc4d8ea3
|
select: Re-export uselect module contents (poll() and related).
|
2017-10-07 01:13:28 +03:00 |
Reid Wagner
|
423e6c6a53
|
select: Add POLLPRI mask.
Value is per Linux.
|
2017-10-07 01:10:28 +03:00 |
Paul Sokolovsky
|
643b1d0fab
|
os: Rename examples as such.
To not be mixed up with real tests.
|
2017-10-04 23:37:44 +03:00 |
Paul Sokolovsky
|
f6a043e128
|
traceback: Release 0.3.
|
2017-10-03 22:24:13 +03:00 |
Riccardo Magliocchetti
|
151c671243
|
traceback: Add basic versions of format_exc() and format_exception().
|
2017-10-03 22:22:30 +03:00 |
Riccardo Magliocchetti
|
d040285fbd
|
pwd: add basic implementation of pwd
The only function implemented is getpwnam
|
2017-10-03 22:18:27 +03:00 |
Paul Sokolovsky
|
83b6c02881
|
asyncio_slow: Rename examples as such.
To not be mixed up with real tests.
|
2017-09-30 18:40:23 +03:00 |
Paul Sokolovsky
|
027d8f6d7f
|
upip: Release 1.2.2.
|
2017-09-29 18:21:32 -07:00 |
Paul Sokolovsky
|
eaf9f91d39
|
upip: upip_utarfile: Update for str.rstrip() fixes.
Propagated from utarfile.
|
2017-09-29 18:20:52 -07:00 |
Paul Sokolovsky
|
a015fca3fa
|
utarfile: Update for str.rstrip() fixes.
rstrip() without args no longer strips "\0", we need to do that explicitly.
|
2017-09-29 18:19:44 -07:00 |
Paul Sokolovsky
|
2f5f428f7c
|
utarfile: skip: Optimize for memory usage.
Propagated from upip_utarfile.py.
|
2017-09-29 18:19:07 -07:00 |
Paul Sokolovsky
|
417774d205
|
select: example_epoll.py: Rename from test_epoll.py.
|
2017-09-29 10:18:54 -07:00 |
Paul Sokolovsky
|
c8a3bb6d0e
|
operator: Add bunch of operator synonym functions.
As used by datetime test from CPython.
|
2017-09-28 09:33:16 -07:00 |
Paul Sokolovsky
|
c9471276b3
|
http.client: Rename examples as such.
To not be mixed up with real tests.
|
2017-09-27 00:34:43 -07:00 |
Paul Sokolovsky
|
75651b465f
|
test.support: Release 0.1.3.
|
2017-09-23 12:27:49 +03:00 |
Paul Sokolovsky
|
32060ab025
|
test.support: run_unittest: Accept string test module name as param.
This is used e.g. by datetimetester.py from CPython.
|
2017-09-22 22:21:24 +03:00 |
Paul Sokolovsky
|
a953735f3d
|
unittest: Release 0.3.1.
|
2017-09-22 22:20:14 +03:00 |
Paul Sokolovsky
|
cfa1b9cce0
|
unittest: Show class name of test method.
Makes output more compatible with CPython.
|
2017-09-21 00:11:10 +03:00 |
Paul Sokolovsky
|
b36f292822
|
unittest: Add skipIf decorator.
|
2017-09-20 20:24:21 +03:00 |
Paul Sokolovsky
|
49140d6c13
|
urequests: Release 0.5.
|
2017-09-13 18:46:04 +03:00 |
Paul Sokolovsky
|
2e834672aa
|
urequests: content: Use finally to close socket regardless of possible error.
|
2017-09-13 15:17:28 +03:00 |
Paul Sokolovsky
|
586ae64cb0
|
urequests: If error happens while parsing response headers, close socket.
Because otherwise, user doesn't get any response object, so cannot close
socket, and it leaks.
|
2017-09-13 09:38:07 +03:00 |
Paul Sokolovsky
|
7a469b229e
|
urllib.urequest: Release 0.5.
|
2017-09-12 08:44:09 +03:00 |
Paul Sokolovsky
|
b715ee0cb8
|
urllib.urequest: If error happens while parsing response headers, close socket.
Because otherwise, user doesn't get any response object, so cannot close
socket, and it leaks.
|
2017-09-12 08:43:38 +03:00 |
Paul Sokolovsky
|
cad77291d5
|
asyncio_slow: Rename "async()" to "ensure_future()".
"async()" was deprecated in CPython due to introduction of the similar
keyword, and causes SyntaxError in MicroPython.
|
2017-09-10 00:08:32 +03:00 |
Paul Sokolovsky
|
9a5f94b807
|
time: Release 0.5.
|
2017-09-09 14:02:20 +03:00 |
Paul Sokolovsky
|
d69aaba546
|
time: Introduce "real" struct_time.
Implemented using namedtuple and lacks tm_zone, tm_gmtoff fields.
|
2017-09-09 14:01:00 +03:00 |
Paul Sokolovsky
|
2472ad4e0e
|
time: Release 0.4.
|
2017-09-05 01:05:27 +03:00 |
Paul Sokolovsky
|
c00210106b
|
time: Add daylight and timezone vars.
|
2017-09-05 01:04:10 +03:00 |
Paul Sokolovsky
|
50ae5ef4aa
|
time: Add dummy struct_time constructor.
CPython compatibility. As we don't have a proper struct_time, and use
tuple instead, the constructor is identity function.
|
2017-09-04 12:59:19 +03:00 |
Paul Sokolovsky
|
f51d7ec0db
|
time: time_t is at least long int, convert it as such.
Rumors even says that it may be long long on recent 32-bit Linux x86
systems.
|
2017-09-04 12:47:29 +03:00 |
Paul Sokolovsky
|
c18ef60871
|
multiprocessing: Release 0.1.2.
|
2017-09-03 11:11:39 +03:00 |
Paul Sokolovsky
|
13a6f4955c
|
multiprocessing: tests: Turn into proper tests, make CPython compatible.
|
2017-09-03 11:10:56 +03:00 |
Paul Sokolovsky
|
3e3c6fcaa6
|
multiprocessing: Fix from_bytes/to_bytes calls.
As they're used for internal communication, just use "little" for
endianness.
|
2017-09-03 11:09:05 +03:00 |
Paul Sokolovsky
|
1522d3eb15
|
test.support: Release 0.1.2.
|
2017-09-03 11:07:46 +03:00 |
Paul Sokolovsky
|
67bc4317a0
|
unittest: Release 0.3.
|
2017-09-03 11:06:37 +03:00 |
Paul Sokolovsky
|
61a85a1c2f
|
test.support: Test stats are now printed by TestRunner.run().
|
2017-09-03 07:17:45 +03:00 |
Paul Sokolovsky
|
82386e86ff
|
unittest: Test stats are now printed by TestRunner.run().
Like done by CPython version.
|
2017-09-03 06:45:20 +03:00 |