forked from jupyter/notebook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix jupyter#6256 : migrate to python 3.7+
* Update classifiers * Update python_requires * Fix deprecated code (some from python 2.x): - `io.open` -> `open` - `IOError` -> `OSError` (in python 3 `IOError` is alias) - `socket.error` -> `OSError` - `u''` -> `''` - `str().format` -> f-strings (where it was quick automatically validated change) - `object` is not needed as base class - use `set` comprehensions - `sum` over generators (do not produce temporary lists) - use plain `super()` * remove unused imports
- Loading branch information
1 parent
8fd3ce9
commit e497b9c
Showing
72 changed files
with
709 additions
and
765 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
if __name__ == '__main__': | ||
from notebook import notebookapp as app | ||
app.launch_new_instance() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.