转载: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版本了


https://github.com/robotframework/robotframework/blob/master/INSTALL.rst#installing-from-source


Python 2 vs Python 3

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.

猜你喜欢

转载自blog.csdn.net/u012841352/article/details/64113461