Python _dummy_thread.stack_size() Examples
The following are 16
code examples of _dummy_thread.stack_size().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
_dummy_thread
, or try the search function
.
Example #1
Source File: _dummy_thread.py From jawfish with MIT License | 5 votes |
def stack_size(size=None): """Dummy implementation of _thread.stack_size().""" if size is not None: raise error("setting thread stack size not supported") return 0
Example #2
Source File: _thread.py From jawfish with MIT License | 5 votes |
def stack_size(size=None): """Dummy implementation of _thread.stack_size().""" if size is not None: raise error("setting thread stack size not supported") return 0
Example #3
Source File: _dummy_thread32.py From misp42splunk with GNU Lesser General Public License v3.0 | 5 votes |
def stack_size(size=None): """Dummy implementation of _thread.stack_size().""" if size is not None: raise error("setting thread stack size not supported") return 0
Example #4
Source File: _dummy_thread.py From kobo-predict with BSD 2-Clause "Simplified" License | 5 votes |
def stack_size(size=None): """Dummy implementation of _thread.stack_size().""" if size is not None: raise error("setting thread stack size not supported") return 0
Example #5
Source File: _dummy_thread.py From GraphicDesignPatternByPython with MIT License | 5 votes |
def stack_size(size=None): """Dummy implementation of _thread.stack_size().""" if size is not None: raise error("setting thread stack size not supported") return 0
Example #6
Source File: _dummy_thread.py From Fluid-Designer with GNU General Public License v3.0 | 5 votes |
def stack_size(size=None): """Dummy implementation of _thread.stack_size().""" if size is not None: raise error("setting thread stack size not supported") return 0
Example #7
Source File: _dummy_thread.py From Imogen with MIT License | 5 votes |
def stack_size(size=None): """Dummy implementation of _thread.stack_size().""" if size is not None: raise error("setting thread stack size not supported") return 0
Example #8
Source File: _dummy_thread.py From scylla with Apache License 2.0 | 5 votes |
def stack_size(size=None): """Dummy implementation of _thread.stack_size().""" if size is not None: raise error("setting thread stack size not supported") return 0
Example #9
Source File: _dummy_thread.py From ironpython3 with Apache License 2.0 | 5 votes |
def stack_size(size=None): """Dummy implementation of _thread.stack_size().""" if size is not None: raise error("setting thread stack size not supported") return 0
Example #10
Source File: _dummy_thread32.py From Splunking-Crime with GNU Affero General Public License v3.0 | 5 votes |
def stack_size(size=None): """Dummy implementation of _thread.stack_size().""" if size is not None: raise error("setting thread stack size not supported") return 0
Example #11
Source File: _dummy_thread.py From Project-New-Reign---Nemesis-Main with GNU General Public License v3.0 | 5 votes |
def stack_size(size=None): """Dummy implementation of _thread.stack_size().""" if size is not None: raise error("setting thread stack size not supported") return 0
Example #12
Source File: test_dummy_thread.py From Project-New-Reign---Nemesis-Main with GNU General Public License v3.0 | 5 votes |
def test_stack_size_None(self): retval = _thread.stack_size(None) self.assertEqual(retval, 0)
Example #13
Source File: test_dummy_thread.py From Project-New-Reign---Nemesis-Main with GNU General Public License v3.0 | 5 votes |
def test_stack_size_not_None(self): with self.assertRaises(_thread.error) as cm: _thread.stack_size("") self.assertEqual(cm.exception.args[0], "setting thread stack size not supported")
Example #14
Source File: _dummy_thread32.py From Cloudmare with GNU General Public License v3.0 | 5 votes |
def stack_size(size=None): """Dummy implementation of _thread.stack_size().""" if size is not None: raise error("setting thread stack size not supported") return 0
Example #15
Source File: _dummy_thread32.py From SA-ctf_scoreboard with Creative Commons Zero v1.0 Universal | 5 votes |
def stack_size(size=None): """Dummy implementation of _thread.stack_size().""" if size is not None: raise error("setting thread stack size not supported") return 0
Example #16
Source File: _dummy_thread.py From android_universal with MIT License | 5 votes |
def stack_size(size=None): """Dummy implementation of _thread.stack_size().""" if size is not None: raise error("setting thread stack size not supported") return 0