Home
last modified time | relevance | path

Searched refs:stacklevel (Results 1 – 25 of 54) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dwarning_tests.py5 def outer(message, stacklevel=1): argument
6 inner(message, stacklevel)
8 def inner(message, stacklevel=1): argument
9 warnings.warn(message, stacklevel=stacklevel)
Dtestall.py4 stacklevel=2)
Dtest_warnings.py227 warning_tests.inner("spam3", stacklevel=1)
230 warning_tests.outer("spam4", stacklevel=1)
234 warning_tests.inner("spam5", stacklevel=2)
237 warning_tests.outer("spam6", stacklevel=2)
240 warning_tests.outer("spam6.5", stacklevel=3)
244 warning_tests.inner("spam7", stacklevel=9999)
257 warning_tests.inner("spam8", stacklevel=1)
275 warning_tests.inner('spam9', stacklevel=1)
294 warning_tests.inner('spam10', stacklevel=1)
315 warning_tests.inner('spam11', stacklevel=1)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dwarnings.h13 #define PyErr_WarnPy3k(msg, stacklevel) \ argument
14 (Py_Py3kWarningFlag ? PyErr_WarnEx(PyExc_DeprecationWarning, msg, stacklevel) : 0)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dwarnings.h13 #define PyErr_WarnPy3k(msg, stacklevel) \ argument
14 (Py_Py3kWarningFlag ? PyErr_WarnEx(PyExc_DeprecationWarning, msg, stacklevel) : 0)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dstatvfs.py3 warnpy3k("the statvfs module has been removed in Python 3.0", stacklevel=2)
Ddbhash.py5 warnings.warnpy3k("in 3.x, the dbhash module has been removed", stacklevel=2)
Dnew.py8 "module instead.", stacklevel=2)
Dwarnings.py14 def warnpy3k(message, category=None, stacklevel=1): argument
22 warn(message, category, stacklevel+1)
175 def warn(message, category=None, stacklevel=1): argument
186 caller = sys._getframe(stacklevel)
Duser.py24 warnpy3k("the user module has been removed in Python 3.0", stacklevel=2)
Dmutex.py15 warnpy3k("the mutex module has been removed in Python 3.0", stacklevel=2)
Ddircache.py7 warnpy3k("the dircache module has been removed in Python 3.0", stacklevel=2)
Dcommands.py23 "use the subprocess module instead", stacklevel=2)
DBastion.py29 warnpy3k("the Bastion module has been removed in Python 3.0", stacklevel=2)
Dtoaiff.py11 warnpy3k("the toaiff module has been removed in Python 3.0", stacklevel=2)
Dgetpass.py114 stacklevel=2)
Dos.py665 warnings.warn(msg, DeprecationWarning, stacklevel=2)
685 warnings.warn(msg, DeprecationWarning, stacklevel=2)
705 warnings.warn(msg, DeprecationWarning, stacklevel=2)
Dmultifile.py31 DeprecationWarning, stacklevel=2)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
D__init__.py27 DeprecationWarning, stacklevel=2)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dwarnings.py15 def warnpy3k(message, category=None, stacklevel=1): argument
23 warn(message, category, stacklevel+1)
179 def warn(message, category=None, stacklevel=1): argument
190 caller = sys._getframe(stacklevel)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/hotshot/
D__init__.py8 "use the 'profile' module instead.", stacklevel=2)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/
DElementTree.py254 FutureWarning, stacklevel=2
350 DeprecationWarning, stacklevel=2
486 PendingDeprecationWarning, stacklevel=2
675 PendingDeprecationWarning, stacklevel=2
696 FutureWarning, stacklevel=2
721 FutureWarning, stacklevel=2
743 FutureWarning, stacklevel=2
765 FutureWarning, stacklevel=2
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/etree/
DElementTree.py254 FutureWarning, stacklevel=2
350 DeprecationWarning, stacklevel=2
486 PendingDeprecationWarning, stacklevel=2
681 PendingDeprecationWarning, stacklevel=2
702 FutureWarning, stacklevel=2
726 FutureWarning, stacklevel=2
747 FutureWarning, stacklevel=2
769 FutureWarning, stacklevel=2
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
Dos.py679 warnings.warn(msg, DeprecationWarning, stacklevel=2)
699 warnings.warn(msg, DeprecationWarning, stacklevel=2)
719 warnings.warn(msg, DeprecationWarning, stacklevel=2)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/
Dos.py694 warnings.warn(msg, DeprecationWarning, stacklevel=2)
714 warnings.warn(msg, DeprecationWarning, stacklevel=2)
734 warnings.warn(msg, DeprecationWarning, stacklevel=2)

123