|
|
16 Member(s) Online
- Overview
- Presentations
- Con Activities
- Travel/Lodging/Food
- Help Out
- Past Cons
PyCon is a 100% Volunteer-run Conference Organized by Members of the Python Community.
Site/Questions etc ?
|
|
|
Details of Talk
Click Here to Respecify your Query
| #32: |
Descriptors: From functional wart to decorator madness via properties
|
| Presented: |
Thu Mar 24, 2005
|
Marvin Theater
|
04:00 pm-04:30 pm
|
| Author(s): |
Mike C. Fletcher / Cain Gang Inc.
|
| Website(s): |
|
| Items: |
audio-yes
handouts-no
released-yes
video-no
|
ADMIN
|
| Abstract: |
This presentation introduces the beginning/intermediate Python programmer to the Descriptor API, from its origins in the functions-are-special-cases "wart" in Python 2.1 through the introduction of the attribute-access API in Python 2.2 and to the introduction of function-decorator support in Python 2.4 and the expected Cambrian explosion of decorator classes. We will discuss some of the mechanics of the descriptor API, then focus on "why and when" to use descriptors and decorators.
|
| Item(s): |
|
Note: Talk recordings have come from different donors, with different levels of quality.
A suffix has been added to the basename of each recording reflecting this. For eventual upload to
a repository like archive.org, a formal naming convention has been followed:
pycon-{date}-{track}-{timeslot}-{talkno}-{donor}.mp3
For those who might prefer a more human-meaningful name, the recordings have MP3/Ogg/Flac ID3
information within and a simple python script could rename your collection to something in a {title}-{author}
form.
|