您的位置:首页 > 编程语言 > Python开发

转载:News: Robot Framework 3.0 is the first Robot Framework version to support Python 3

2017-03-20 08:03 513 查看
  标题虽是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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐