Notebook: F-String highlight problem

Created on 2 Apr 2017  路  4Comments  路  Source: jupyter/notebook

Hi,
I started using F-String and I realized that the notebook could not highlight correctly the line.
Here some examples:

Without F-String formatting:
captura de tela de 2017-04-02 13-02-38

With raw string formatting:
captura de tela de 2017-04-02 13-02-59

With F-String formatting:
captura de tela de 2017-04-02 13-03-38

Server Information:

You are using Jupyter notebook.

The version of the notebook server is 4.3.1 and is running on:

Python 3.6.0 |Anaconda 4.3.0 (64-bit)| (default, Dec 23 2016, 12:22:00) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]

My Firefox version: 50.0
I have tested with Google Chrome 57 and had the same behavior.

If you give the path, I would be happy fixing this.
Thank you.

Most helpful comment

Hi @flaviodrt! This issue was fixed by https://github.com/jupyter/notebook/pull/2066, so simply upgrade the notebook to 4.4.1 (pip install notebook --upgrade).

Please confirm that this resolves it for you 馃憣

All 4 comments

Hi @flaviodrt! This issue was fixed by https://github.com/jupyter/notebook/pull/2066, so simply upgrade the notebook to 4.4.1 (pip install notebook --upgrade).

Please confirm that this resolves it for you 馃憣

You can now upgrade to 5.0 馃憤

Hi @gnestor, thank you for your attention!
I'm sorry about that, I've searched for an issue about f-string but apparently I've failed in my search.
I've downloaded a fresh anaconda install from anaconda's website about one month ago and I thought that it was up to date.

Updating my notebook solved this problem!
Thank you again!

Note: Anaconda users may prefer conda update notebook

Was this page helpful?
0 / 5 - 0 ratings

Related issues

qnicole-zakka picture qnicole-zakka  路  3Comments

cancan101 picture cancan101  路  3Comments

itoed picture itoed  路  3Comments

cmesro picture cmesro  路  3Comments

mowe96 picture mowe96  路  3Comments