[sf-lug] BayPIGgies meeting Thursday February 26, 2009, Two Talks: The Factory Module and PyDev
jim
jim at well.com
Wed Feb 25 13:52:18 PST 2009
BayPIGgies meeting Thursday February 26, 2009, Two Talks: The Factory
Module and PyDev
NOTE BayPIGgies is NO LONGER meeting at Google but at the Symantec
Vcafe, at Symantec's location at 350 Ellis Street in Mountain View.
Tonight's talks are
* The Factory Module
by Pete Fein, author of the Factory module
* A PyDev Primer
by Nathan Ramella
Meetings start with a Newbie Nugget, a short discussion of an
essential Python feature, specially for those new to Python.
Tonight's Newbie Nugget: Decorators
by Charles Merriam
NEW LOCATION FOR FEBRUARY 26, 2009
Symantec Corporation
Symantec Vcafe
350 Ellis Street
Mountain View, CA 94043
BayPIGgies meeting information is available at
http://baypiggies.net/new/plone
About the Talks
Factory is an object-oriented approach to partial function
application, also known as "currying." Python 2.5 added support
for currying with the addition of functools.partial:
http://docs.python.org/whatsnew/2.5.html#pep-309-partial-function-application
The Factory module is a more powerful implementation of this pattern.
Some improvements include:
- safer, as invalid arguments are detected immediately, instead of
at call time
- intelligent support for classes, instance methods, and all other
callables
- bound arguments can be inspected and modified as attributes
- several convenient methods for (re)binding arguments
Using Factories can:
- simplify writing callbacks
- reduce bugs in concurrent applications
- provide easy lazy evaluation
This talk will demonstrate the Factory module and discuss its
implementation and uses. Familiarity with currying is helpful but
not required.
More information is available at http://pypi.python.org/pypi/Factory/
Tonight's second talk is a PyDev primer, which will cover the basics
of PyDev and PyDev Extensions.
------------------------ Agenda ------------------------
..... 7:30 PM ...........................
General hubbub, inventory end-of-meeting announcements,
any first-minute announcements.
..... 7:35 PM to 7:45 PM ................
Newbie Nugget: Decorators by Charles Merriam
..... 7:45 PM to 8:15 PM ................
The Factory Module
by Pete Fein
..... 8:15 PM to 8:45 PM ................
A PyDev Primer
by Nathan Ramella
Note that the meeting may end promptly at 9 PM.
..... 8:45 PM to 9:00 PM ................
Mapping and Random Access
Mapping is a rapid-fire audience announcement of topics
the announcers are interested in.
Random Access follows immediately to allow follow up
individually on the announcements and other topics of
interest.
Note that the meeting may end promptly at 9 PM.
More information about the sf-lug
mailing list