micropython/unix
Paul Sokolovsky 5ab5ac5448 modbuiltins: Add NotImplemented builtin constant.
From https://docs.python.org/3/library/constants.html#NotImplemented :
"Special value which should be returned by the binary special methods
(e.g. __eq__(), __lt__(), __add__(), __rsub__(), etc.) to indicate
that the operation is not implemented with respect to the other type;
may be returned by the in-place binary special methods (e.g. __imul__(),
__iand__(), etc.) for the same purpose. Its truth value is true."

Some people however appear to abuse it to mean "no value" when None is
a legitimate value (don't do that).
2015-05-04 19:45:53 +03:00
..
.gitignore unix: Update .gitignore for "fast" and "minimal" builds. 2015-01-16 18:05:31 +00:00
Makefile unix: Remove -Wdouble-promotion from main build, and 2 from coverage. 2015-03-22 22:41:45 +00:00
alloc.c unix: Add target to build "minimal" uPy interpreter. 2015-01-16 18:03:01 +00:00
file.c py: Overhaul and simplify printf/pfenv mechanism. 2015-04-16 14:30:16 +00:00
gccollect.c unix: Add target to build "minimal" uPy interpreter. 2015-01-16 18:03:01 +00:00
input.c input.c: Fix line-endings after recent changes. 2015-04-10 23:01:58 +03:00
input.h unix: Support readline history saving to file, improves interactive usage. 2015-03-13 21:46:19 +00:00
main.c py: Replace py-version.sh with makeversionhdr.py, written in Python. 2015-04-28 23:52:36 +01:00
modffi.c unix/modffi.c: get_buffer is allowed to return NULL if len=0. 2015-05-01 21:34:08 +01:00
modos.c unix: Prefix includes with py/; remove need for -I../py. 2015-01-01 20:40:19 +00:00
modsocket.c py: Overhaul and simplify printf/pfenv mechanism. 2015-04-16 14:30:16 +00:00
modtermios.c unix: Prefix includes with py/; remove need for -I../py. 2015-01-01 20:40:19 +00:00
modtime.c py, unix, lib: Allow to compile with -Wold-style-definition. 2015-01-12 22:34:38 +00:00
mpconfigport.h modbuiltins: Add NotImplemented builtin constant. 2015-05-04 19:45:53 +03:00
mpconfigport.mk unix: Add target to build "minimal" uPy interpreter. 2015-01-16 18:03:01 +00:00
mpconfigport_fast.h unix: fast: Set initial module dict size big to have high pystone score. 2014-11-05 00:30:21 +02:00
mpconfigport_minimal.h py: Add MICROPY_PY_BUILTINS_REVERSED, disable for minimal ports. 2015-04-07 00:17:11 +03:00
qstrdefsport.h modffi: Add .addr() method to just get symbol address. 2015-02-06 00:19:43 +02:00