1. 程式人生 > >轉載:News: Robot Framework 3.0 is the first Robot Framework version to support Python 3

轉載:News: Robot Framework 3.0 is the first Robot Framework version to support Python 3

  標題雖是News,但事實上已經是好久之前的事了。

  最近有專案使用到RobotFramework,重新檢出,發現了新的版本釋出: RobotFramework 3.0

  2017年2月份 RobotFramework又一次更新了程式碼庫,新版的Version 3.0開始支援Python3,一直糾結於python2和python3環境的同行可以開始嘗試新的內容了。

  圖形化介面的wxpython和ride的版本的支援還需要再試試。

--201604,wxpython沒有問題,ride仍只支援2.7版本,Robotframework已經支援到最新python版本了

Python 2 and Python 3 are mostly the same language, but they are not fully compatible with each others. The main difference is that in Python 3 all strings are Unicode while in Python 2 strings are bytes by default, but there are also several other backwards incompatible changes. The last Python 2 release is Python 2.7 that was released in 2010 and will be supported until 2020. See Should use Python 2 or 3? for more information about the differences, which version to use, how to write code that works with both versions, and so on.

Robot Framework 3.0 is the first Robot Framework version to support Python 3. It supports also Python 2, and the plan is to continue Python 2 support as long as Python 2 itself is officially supported. We hope that authors of the libraries and tools in the wider Robot Framework ecosystem also start looking at Python 3 support now that the core framework supports it.