Show More
@@ -803,8 +803,10 b' class InteractiveShell(SingletonConfigurable):' | |||
|
803 | 803 | This will allow deprecation warning of function used interactively to show |
|
804 | 804 | warning to users, and still hide deprecation warning from libraries import. |
|
805 | 805 | """ |
|
806 | if sys.version_info < (3,7): | |
|
806 | 807 | warnings.filterwarnings("default", category=DeprecationWarning, module=self.user_ns.get("__name__")) |
|
807 | 808 | |
|
809 | ||
|
808 | 810 | def init_builtins(self): |
|
809 | 811 | # A single, static flag that we set to True. Its presence indicates |
|
810 | 812 | # that an IPython shell has been created, and we make no attempts at |
General Comments 0
You need to be logged in to leave comments.
Login now