Logo
Explore Help
Register Sign In
fengqi/lv_micropython
1
0
Fork 0
You've already forked lv_micropython
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
lv_micropython/tests/io/file_stdio.py

6 lines
92 B
Python
Raw Normal View History

tests: Replace umodule with module everywhere. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-08-18 16:57:45 +10:00
import sys
io.File, socket types: Add fileno() method. Implementation is duplicated, but tolerate this for now, because there's no clear idea how to de-dup it.
2014-02-08 21:15:46 +02:00
print(sys.stdin.fileno())
print(sys.stdout.fileno())
extmod/vfs_posix_file: Implement sys.std*.buffer objects. Add the buffer attribute to sys.stdin, sys.stdout and sys.stderr. This provides raw access to underlying stdio streams for the unix port (and others that use VfsPosix). Signed-off-by: stephanelsmith <stephane.smith@titansensor.com>
2023-07-26 02:52:56 +00:00
print(sys.stderr.fileno())
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 192ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API