Commit 705d9d5c authored by Georg Brandl's avatar Georg Brandl

2.7 -> 3.1 versionchanges.

parent b0f79c8d
...@@ -824,8 +824,7 @@ perform any Python API calls. ...@@ -824,8 +824,7 @@ perform any Python API calls.
other system thread. If it is a Python thread, it doesn't matter if it holds other system thread. If it is a Python thread, it doesn't matter if it holds
the global interpreter lock or not. the global interpreter lock or not.
.. versionadded:: 2.7 .. versionadded:: 3.1
.. _profiling: .. _profiling:
......
...@@ -123,10 +123,6 @@ The :mod:`binascii` module defines the following functions: ...@@ -123,10 +123,6 @@ The :mod:`binascii` module defines the following functions:
return value is the correct 32bit binary representation return value is the correct 32bit binary representation
regardless of sign. 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) .. function:: b2a_hex(data)
hexlify(data) hexlify(data)
......
...@@ -151,7 +151,7 @@ The :mod:`gc` module provides the following functions: ...@@ -151,7 +151,7 @@ The :mod:`gc` module provides the following functions:
>>> gc.is_tracked({"a": []}) >>> gc.is_tracked({"a": []})
True True
.. versionadded:: 2.7 .. versionadded:: 3.1
The following variable is provided for read-only access (you can mutate its The following variable is provided for read-only access (you can mutate its
......
...@@ -105,7 +105,7 @@ A hash object has the following methods: ...@@ -105,7 +105,7 @@ A hash object has the following methods:
concatenation of all the arguments: ``m.update(a); m.update(b)`` is concatenation of all the arguments: ``m.update(a); m.update(b)`` is
equivalent to ``m.update(a+b)``. equivalent to ``m.update(a+b)``.
.. versionchanged:: 2.7 .. versionchanged:: 3.1
The Python GIL is released to allow other threads to run while The Python GIL is released to allow other threads to run while
hash updates on data larger than 2048 bytes is taking place when 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: ...@@ -144,7 +144,7 @@ access further features, you have to do this yourself:
import pdb; pdb.Pdb(skip=['django.*']).set_trace() import pdb; pdb.Pdb(skip=['django.*']).set_trace()
.. versionadded:: 2.7 .. versionadded:: 3.1
The *skip* argument. The *skip* argument.
.. method:: run(statement[, globals[, locals]]) .. method:: run(statement[, globals[, locals]])
......
...@@ -389,7 +389,7 @@ The :mod:`test.support` module defines the following classes: ...@@ -389,7 +389,7 @@ The :mod:`test.support` module defines the following classes:
manager all changes to environment variables done through this instance will manager all changes to environment variables done through this instance will
be rolled back. be rolled back.
.. versionchanged:: 2.7 .. versionchanged:: 3.1
Added dictionary interface. Added dictionary interface.
.. method:: EnvironmentVarGuard.set(envvar, value) .. method:: EnvironmentVarGuard.set(envvar, value)
......
...@@ -863,7 +863,7 @@ Test cases ...@@ -863,7 +863,7 @@ Test cases
This signals a test failure if *expr1* and *expr2* don't evaluate to the same This signals a test failure if *expr1* and *expr2* don't evaluate to the same
object. object.
.. versionadded:: 2.7 .. versionadded:: 3.1
.. method:: assertIsNot(expr1, expr2[, msg]) .. method:: assertIsNot(expr1, expr2[, msg])
...@@ -872,7 +872,7 @@ Test cases ...@@ -872,7 +872,7 @@ Test cases
This signals a test failure if *expr1* and *expr2* evaluate to the same This signals a test failure if *expr1* and *expr2* evaluate to the same
object. object.
.. versionadded:: 2.7 .. versionadded:: 3.1
.. method:: assertFalse(expr[, msg]) .. method:: assertFalse(expr[, msg])
......
...@@ -51,10 +51,6 @@ The available exception and functions in this module are: ...@@ -51,10 +51,6 @@ The available exception and functions in this module are:
return value is the correct 32bit binary representation return value is the correct 32bit binary representation
regardless of sign. 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]) .. function:: compress(string[, level])
...@@ -96,10 +92,6 @@ The available exception and functions in this module are: ...@@ -96,10 +92,6 @@ The available exception and functions in this module are:
return value is the correct 32bit binary representation return value is the correct 32bit binary representation
regardless of sign. 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]]) .. function:: decompress(string[, wbits[, bufsize]])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment