mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
2.7 -> 3.1 versionchanges.
This commit is contained in:
parent
b0f79c8da1
commit
705d9d5c41
8 changed files with 7 additions and 20 deletions
|
@ -123,10 +123,6 @@ The :mod:`binascii` module defines the following functions:
|
|||
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)
|
||||
|
|
|
@ -151,7 +151,7 @@ The :mod:`gc` module provides the following functions:
|
|||
>>> gc.is_tracked({"a": []})
|
||||
True
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.1
|
||||
|
||||
|
||||
The following variable is provided for read-only access (you can mutate its
|
||||
|
|
|
@ -105,7 +105,7 @@ A hash object has the following methods:
|
|||
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
|
||||
|
|
|
@ -144,7 +144,7 @@ access further features, you have to do this yourself:
|
|||
|
||||
import pdb; pdb.Pdb(skip=['django.*']).set_trace()
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.1
|
||||
The *skip* argument.
|
||||
|
||||
.. method:: run(statement[, globals[, locals]])
|
||||
|
|
|
@ -389,7 +389,7 @@ The :mod:`test.support` module defines the following classes:
|
|||
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)
|
||||
|
|
|
@ -863,7 +863,7 @@ Test cases
|
|||
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])
|
||||
|
@ -872,7 +872,7 @@ Test cases
|
|||
This signals a test failure if *expr1* and *expr2* evaluate to the same
|
||||
object.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.1
|
||||
|
||||
|
||||
.. method:: assertFalse(expr[, msg])
|
||||
|
|
|
@ -51,10 +51,6 @@ The available exception and functions in this module are:
|
|||
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])
|
||||
|
||||
|
@ -96,10 +92,6 @@ The available exception and functions in this module are:
|
|||
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]])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue