[ Dualan____Moyan ]

Python,Linux,开源,经济,篮球皆是我的爱(玩 Bottle 的) ...


Bottle 0.11 发布

发布时间:2012-12-01 22:26:01, 关注:+5927, 赞美:+9, 不爽:+6

原始出处: bottlepy-dev


The bottle-0.11-rc1 development branch is stable for some time now, widely used and excessively tested. There is no reason to not release it. So, here it is:

Changelog (summary)

  • Native support for Python 2.x and 3.x syntax. No need to run 2to3 anymore.
  • Python 3.3 added to the list of officially supported versions (2.5, 2.6, 2.7, 3.1, 3.2, 3.3)
  • Support for partial downloads (Range header) in static_file().
  • The new ResourceManager interface helps locating files bundled with an application.
  • Added a server adapter for waitress.
  • New Bottle.merge() method to install all routes from one application into another.
  • New Request.app property to get the application object that handles a request.
  • Added FormsDict.decode() to get an all-unicode version (for WTForms).

Upgrade Notes

With this new release, bottle-0.10 becomes 'old stable' and support for bottle-0.9 runs out. If you are still using bottle-0.9 (or lower), you should consider upgrading. Bug-fixes are only provided for 'stable' and 'old stable'.

Bottle maintains backwards compatibility to 'old stable' as usual. If you fixed all deprecation warnings in your bottle-0.10 application, it should run just fine after the upgrade.


如果你觉得本站对你有帮助,欢迎向本站赞助 :P


Copyright© Python4cn(news, jobs) simple-is-better.com, 技术驱动:powered by web.py 空间主机:Webfaction

版权申明:文章转载已注明出处,如有疑问请来信咨询。本站为 python 语言推广公益网站,与 python 官方没有任何关系。

联系/投搞/留言: en.simple.is.better@gmail.com 向本站捐赠