other system thread. If it is a Python thread, it doesn't matter if it holds
the global interpreter lock or not.
- .. versionadded:: 2.7
-
+ .. versionadded:: 3.1
.. _profiling:
return value is the correct 32bit binary representation
regardless of sign.
-.. versionchanged:: 3.0
- The return value is unsigned and in the range [0, 2**32-1]
- regardless of platform.
-
.. function:: b2a_hex(data)
hexlify(data)
>>> gc.is_tracked({"a": []})
True
- .. versionadded:: 2.7
+ .. versionadded:: 3.1
The following variable is provided for read-only access (you can mutate its
concatenation of all the arguments: ``m.update(a); m.update(b)`` is
equivalent to ``m.update(a+b)``.
- .. versionchanged:: 2.7
+ .. versionchanged:: 3.1
The Python GIL is released to allow other threads to run while
hash updates on data larger than 2048 bytes is taking place when
import pdb; pdb.Pdb(skip=['django.*']).set_trace()
- .. versionadded:: 2.7
+ .. versionadded:: 3.1
The *skip* argument.
.. method:: run(statement[, globals[, locals]])
manager all changes to environment variables done through this instance will
be rolled back.
- .. versionchanged:: 2.7
+ .. versionchanged:: 3.1
Added dictionary interface.
.. method:: EnvironmentVarGuard.set(envvar, value)
This signals a test failure if *expr1* and *expr2* don't evaluate to the same
object.
- .. versionadded:: 2.7
+ .. versionadded:: 3.1
.. method:: assertIsNot(expr1, expr2[, msg])
This signals a test failure if *expr1* and *expr2* evaluate to the same
object.
- .. versionadded:: 2.7
+ .. versionadded:: 3.1
.. method:: assertFalse(expr[, msg])
return value is the correct 32bit binary representation
regardless of sign.
-.. versionchanged:: 3.0
- The return value is unsigned and in the range [0, 2**32-1]
- regardless of platform.
-
.. function:: compress(string[, level])
return value is the correct 32bit binary representation
regardless of sign.
-.. versionchanged:: 3.0
- The return value is unsigned and in the range [0, 2**32-1]
- regardless of platform.
-
.. function:: decompress(string[, wbits[, bufsize]])