-
- Downloads
Implement kwargs for builtin open() and _io.FileIO
This makes open() and _io.FileIO() more CPython compliant. The mode kwarg is fully iplemented. The encoding kwarg is allowed but not implemented; mainly to allow the tests to specify encoding for CPython, see #874
Showing
- bare-arm/main.c 2 additions, 2 deletionsbare-arm/main.c
- py/builtin.h 1 addition, 1 deletionpy/builtin.h
- py/qstrdefs.h 3 additions, 0 deletionspy/qstrdefs.h
- qemu-arm/main.c 2 additions, 2 deletionsqemu-arm/main.c
- qemu-arm/test_main.c 2 additions, 2 deletionsqemu-arm/test_main.c
- stmhal/file.c 49 additions, 40 deletionsstmhal/file.c
- unix/file.c 28 additions, 15 deletionsunix/file.c
- unix/modsocket.c 3 additions, 1 deletionunix/modsocket.c
Please register or sign in to comment