sys.id and sys.intern are questionable.
This commit is contained in:
parent
beb93decdc
commit
9b72634f0d
|
@ -175,7 +175,7 @@ To be removed:
|
|||
* ``coerce()``: no longer needed [2]_
|
||||
* ``execfile()``, ``reload()``: use ``exec()`` [2]_
|
||||
* ``input()``: use ``eval(sys.stdin.readline())`` [2]_ [done]
|
||||
* ``intern()``, ``id()``: put in ``sys`` [2]_
|
||||
* ``intern()``, ``id()``: put in ``sys`` (?) [2]_, [31]_
|
||||
* ``map()``, ``filter()``: use list comprehensions instead??? [1]_, [9]_
|
||||
(Actually these can stay.)
|
||||
* ``reduce()``: write a loop instead [2]_, [9]_ [done]
|
||||
|
@ -334,6 +334,9 @@ References
|
|||
.. [23] PEP 308 ("Conditional Expressions")
|
||||
http://www.python.org/dev/peps/pep-0308
|
||||
|
||||
.. [31] SF patch "sys.id() and sys.intern()"
|
||||
http://www.python.org/sf/1601678
|
||||
|
||||
.. [#pep328] PEP 328 (Imports: Multi-Line and Absolute/Relative)
|
||||
http://www.python.org/dev/peps/pep-0328
|
||||
|
||||
|
|
Loading…
Reference in New Issue