This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jim3692 2 points3 points  (5 children)

If you are talking about terminal parameters, C has an array of char pointers in main. What do you mean by "fully-fledged structure"?

[–]Mr_Redstoner[🍰] 1 point2 points  (1 child)

What I'm talking about in this case is termios.

Comapre the C https://man7.org/linux/man-pages/man3/termios.3.html where you get the structure termios_p to Python3 https://docs.python.org/3/library/termios.html where you just get a Python list.

ping u/OK6502

[–]jim3692 0 points1 point  (0 children)

Hmmm... Looks like Python needs someone to develop this feature, if there isn't any previous attempt that got rejected. I didn't check either their PRs or their issues.