Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Srinivas Reddy Thatiparthy
- Thu, 25 May 2017 18:19:15
Show More
IPython/sphinxext/ipython_directive.py
0
0
-1
@@
-144,7
+144,6
b' from sphinx.util.compat import Directive'
144
144
from traitlets.config import Config
145
145
from IPython import InteractiveShell
146
146
from IPython.core.profiledir import ProfileDir
147
from IPython.utils import io
148
147
149
148
#-----------------------------------------------------------------------------
150
149
# Globals
IPython/terminal/pt_inputhooks/pyglet.py
0
0
-1
IPython/terminal/tests/test_help.py
0
0
-1
@@
-4,7
+4,6
b''
4
4
# Distributed under the terms of the Modified BSD License.
5
5
6
6
import IPython.testing.tools as tt
7
from IPython.testing.decorators import skip_without
8
7
9
8
10
9
def test_ipython_help ():
IPython/utils/_process_cli.py
0
+7
-2
@@
-11,11
+11,16
b' interface for IronPython will probably require you to help fill'
11
11
in the details.
12
12
"""
13
13
14
14
# Import cli libraries:
15
import clr
15
16
import System
17
18
# Import Python libraries:
16
19
import os
17
from IPython.utils import py3compat
18
20
21
# Import IPython libraries:
22
from IPython.utils import py3compat
23
from ._process_common import arg_split
19
24
20
25
def _find_cmd ( cmd ):
21
26
"""Find the full path to a command using which."""
IPython/utils/openpy.py
0
0
-1
@@
-7,7
+7,6
b' Much of the code is taken from the tokenize module in Python 3.2.'
7
7
8
8
import io
9
9
from io import TextIOWrapper , BytesIO
10
import os.path
11
10
import re
12
11
from tokenize import open , detect_encoding
13
12
IPython/utils/tempdir.py
0
+1
-4
@@
-5,11
+5,9
b' creating a context manager for the working directory which is also temporary.'
5
5
"""
6
6
7
7
import os as _os
8
import warnings as _warnings
9
import sys as _sys
10
11
8
from tempfile import TemporaryDirectory
12
9
10
13
11
class NamedFileInTemporaryDirectory ( object ):
14
12
15
13
def __init__ ( self , filename , mode = 'w+b' , bufsize =- 1 , ** kwds ):
@@
-57,4
+55,3
b' class TemporaryWorkingDirectory(TemporaryDirectory):'
57
55
def __exit__ ( self , exc , value , tb ):
58
56
_os . chdir ( self . old_wd )
59
57
return super ( TemporaryWorkingDirectory , self ) . __exit__ ( exc , value , tb )
60
IPython/utils/terminal.py
0
0
-6
@@
-17,12
+17,6
b' import sys'
17
17
import warnings
18
18
from shutil import get_terminal_size as _get_terminal_size
19
19
20
from . import py3compat
21
22
#-----------------------------------------------------------------------------
23
# Code
24
#-----------------------------------------------------------------------------
25
26
20
# This variable is part of the expected API of the module:
27
21
ignore_termtitle = True
28
22
IPython/utils/tests/test_shimmodule.py
0
+1
-3
@@
-1,11
+1,9
b''
1
1
import sys
2
2
import warnings
3
3
4
import nose.tools as nt
5
6
from IPython.utils.capture import capture_output
7
4
from IPython.utils.shimmodule import ShimWarning
8
5
6
9
7
def test_shim_warning ():
10
8
sys . modules . pop ( 'IPython.config' , None )
11
9
with warnings . catch_warnings ( record = True ) as w :
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages