[Tutor] Is it possible to "backport" the datetime module of Python 3.3 to Python 3.2?
Cameron Simpson
cs at zip.com.au
Wed Apr 22 02:25:48 CEST 2015
On 21Apr2015 22:50, Steven D'Aprano <steve at pearwood.info> wrote:
>On Tue, Apr 21, 2015 at 12:31:53PM +0100, Mark Lawrence wrote:
>
>> Python is very strong in guaranteeing backward compatibility, so why not
>> copy the 3.3 pure Python code to your 3.2 setup and see what happens?
>
>Normally backwards compatibility refers to the other way: 3.3 will run
>3.2 code. To have 3.2 run 3.3 code is *forward compatibility*.
Yes, but it can depend on where you stand.
Mark was talking about taking the 3.3 datetime module code and running it on
3.2. So in this context, he is suggesting that the _code_ in the 3.3 datetime
module is probably backward compatible - it has presents features but does not
depend on 3.3 aspects of the language, and therefore may well run on 3.2.
Cheers,
Cameron Simpson <cs at zip.com.au>
The most annoying thing about being without my files after our disc crash was
discovering once again how widespread BLINK was on the web.
More information about the Tutor
mailing list