Logo     Photos

16 Member(s) Online

PyCon is a 100%
Volunteer-run
Conference Organized by
Members of the
Python
Community.

Site/Questions etc ?

Valid XHTML 1.0 Transitional

Valid CSS!

 
PyCon 2007 is sponsored
in part by
Zenoss - The Next Step in IT Management Google Microsoft .Net Framework EWT LLC Enthought, Inc.
Platinum
Wingware Python IDE Accense Technology, Inc.
Gold
Quality Vision International Inc. MerchantCircle Big Nerd Ranch, Inc. Canonical
Silver

Details of Talk

#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):
abstract.stx 02:58:34 2005/04/14 487 bytes text/html
pycon-20050324-1-1600-32-ike.mp3 02:09:37 2005/04/27 7.1 MB audio/mpeg
pycon-20050324-1-1600-32-kuro.ogg 08:11:33 2005/05/21 4.1 MB application/ogg

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.