Gautham
Gautham
@jart I was trying to `python.com -m SimpleHTTPServer` and it was failing with an `Errno 10042 [ENOPROTOOPT]` on Windows * the function call is `setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, buf, sizeof(buf))` *...
With the above `SO_REUSEADDR` fix, it is possible to serve static pages locally on Windows, using `python.com -m SimpleHTTPServer`. It is also possible to serve dynamic pages: just download Flask...
@jart @pkulchenko I would like to know if it possible to use MbedTLS for the SSL support required in Python. Does MbedTLS have Python bindings? I don't think MbedTLS is...
@jart here's a quick summary of stuff to be examined further: * missing implementation of `rewinddir`, currently commented out; also affects PHP * missing `forkpty` implementation (declared in `termios.h`), currently...
@kissgyorgy https://github.com/ahgamut/cpython/tree/cosmo_py27 -- Python 2.7.18 is EOL of course https://github.com/ahgamut/cpython/tree/cosmo_py36 -- Python 3.6.14 is supported till the end of this calendar year Python 3.7 and above cannot be built without...
Okay the latest commit to [`cosmo_py36`](https://github.com/ahgamut/cpython/tree/cosmo_py36) adds a shell script to run a selected list of tests from the Python 3.6.14 test suite. * ~~192~~ ~~220~~ 256 tests pass without...
I am not sure how many testcases are failing because of an indirect dependency on threads. If only those particular tests are skipped I think the APE would have a...
@jart here's the current performance of `python.com` on the Python test suite. Use: the `cosmo_py36` repo for building `python.com`. (The APE built in the cosmopolitan repo has some runtime issues)...
> (The APE built in the cosmopolitan repo has some runtime issues). By this I mean that running `python.com -m test` from inside the cosmopolitan repo fails because `os.WNOHANG` is...
@Keithcat1 I think the "up-arrow-to-view-previous-line" requires readline+(terminfo/curses) to be compiled along with `python.com`, otherwise you get stuff like `[[A` when you press Up in the REPL. I've tried adding readline+curses...