Size: 1606
Comment:
|
Size: 1911
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 12: | Line 12: |
* [:WeiZhong/DecoratorsInPython24:Python2.4中的新东西(1):函数和方法的修饰符] * [:WeiZhong/WhatsNewOfPython25:What's New in Python 2.5] -- WeiZhong 译 * [http://docs.python.org/dev/whatsnew/whatsnew25.html 原文地址] |
* [:WeiZhong/DecoratorsInPython24:Python2.4中的新东西(1):函数和方法的修饰符] by WeiZhong |
Line 21: | Line 17: |
* [http://www.cafepy.com/article/python_types_and_objects Python Types and Objects] * [http://www.cafepy.com/article/python_attributes_and_methods/ Python Attributes and Methods] . 两篇精彩的文档,讲解很透彻 |
|
Line 35: | Line 37: |
=== 语言进化 === * [http://docs.python.org/dev/whatsnew/whatsnew25.html What's New in Python 2.5] * [:WeiZhong/WhatsNewOfPython25:WeiZhong 节译] * [:New4Py2.5:ZoomQuiet 译自另一篇文档] |
概述
系统学习
专题剖析
内置类型和操作符
语句和语法
[http://www.python.org/dev/peps/pep-0318/ PEP318 : Decorators for Functions and Methods]
[:WeiZhong/DecoratorsInPython24:Python2.4中的新东西(1):函数和方法的修饰符] by WeiZhong
[:Py25yieldNote:Py2.5 yield 详说] -- shhgs 和 limodou 关于 yield 在2.5中语法加强的探讨
名字空间与对象模型
[http://www.cafepy.com/article/python_types_and_objects Python Types and Objects]
[http://www.cafepy.com/article/python_attributes_and_methods/ Python Attributes and Methods]
- 两篇精彩的文档,讲解很透彻
[:PyNewStyleClass:Python中的新型类及其实例详解] -- WeiZhong 节译自《Python in a Nutshell》(第一版)
[:MetaClassInPython:Python中的元类(metaclass)] -- WeiZhong 节译自《Python in a Nutshell》(第一版)
[http://www.voidspace.org.uk/python/articles/metaclasses.shtml Eliminating self with Metaclasses]
- Python 在成员方法中对 self 的显式声明往往会令初学者困惑和不习惯,Michael Foord在这篇文章中利用 metaclass 和 bytecode 实现了一种不需要显式声明 self 参数的类定义方式。
[http://codeplayer.blogspot.com/2006/12/python-method-function-descriptor.html 理解 python 的 method 和 function 兼谈 descriptor] by HuangYi
[http://users.rcn.com/python/download/Descriptor.htm How-To Guide for Descriptors] -- descriptor 机制详解,by Raymond Hettinger
异常机制
语言进化
[http://docs.python.org/dev/whatsnew/whatsnew25.html What's New in Python 2.5]
其它
[http://codeplayer.blogspot.com/2006/09/getcaller.html 意外收获:get_caller]