Christian Heimes added the comment:

Python's stdlib contains other modules that contain code for older versions of 
Python. The platform module even contains lines like "os.devnull was added in 
Python 2.4, so emulate it for earlier". asyncio has backward compatibility 
code, too. The only old syntax I'd like to add is the super() thing in the test 
module. They are just tests...

The modified imports and doc test adjustments like

-    >>> mean([1, 2, 3, 4, 4])
-    2.8
+    >>> mean([1, 2, 3, 4, 4]) == 2.8
+    True

would greatly help, though.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19763>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to