Thomas Kluyver
Thomas Kluyver
There's a snippet `ast` for 'Assert True' (a method that I never use, since there's a shorter `assert` statement). However, when I went to import the [ast module](https://docs.python.org/3/library/ast.html), my import...
I've just written some code to use OAuth with Zotero, after a lot of trial and error. This lets an application request access to someone's library. The user clicks a...
This is an ambitious idea, and I'm not yet entirely sure of the details. Checking output data is often tricky: small changes can be meaningful, while large changes can easily...
When `ipdb.set_trace()` is called, it calls this function: ``` def update_stdout(): # setup stdout to ensure output is available with nose io.stdout = sys.stdout = sys.__stdout__ ``` This results in...
There's [a proposal](https://discuss.python.org/t/pep-597-enable-utf-8-mode-by-default-on-windows/3122) for Python to use UTF-8 mode on Windows by default. Most significantly, this means that `open()`-ing a file in text mode would use UTF-8 by default rather...
The error looks like this: ``` * checking tests ... ERROR Running ‘testthat.R’ [9s/25s] Running the tests in ‘tests/testthat.R’ failed. Last 13 lines of output: 3. Failure: kernel tests pass...
The R [readline](https://stat.ethz.ch/R-manual/R-devel/library/base/html/readline.html) function should, inside IRkernel, use the [Jupyter protocol stdin messages](http://jupyter-client.readthedocs.org/en/latest/messaging.html#messages-on-the-stdin-router-dealer-sockets) to prompt the user for input. Slight complication: should we then make [interactive()](https://stat.ethz.ch/R-manual/R-devel/library/base/html/interactive.html) return TRUE? That appears...
This is fairly rough, but if the config for a server process includes `'unix': True` and no port number, j-s-p will create a new temp folder and give the server...
### Proposed change Where jupyter-server-proxy launches a process, allow a configuration option to specify that the process will listen on a Unix socket rather than TCP/IP. By default, I would...
## What is the problem that this PR is trying to fix? Make `pip` available for Python 3, as well as Python 2, to ease the transition. This is particularly...