Developers Day 2002 Making classes look like types (and vice versa) Or…

Slides:



Advertisements
Similar presentations
Internet Number Resource Status Report As of 30 June 2005.
Advertisements

Andrew Price. Introduction to Smoke Simulation in Blender 2.5.
Intro to Core (Python!) Involvement © Dan Buch 2010 ~ Licensed Creative Commons Attribution-ShareAlike 3.0
Copyright © 1999, Architag International Corporation. All rights reserved. Use without express written permission from Architag International Corporation.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3 Cascading Style Sheets Programming the World Wide Web Fourth edition.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 12 Introduction to ASP.NET Programming the World Wide Web Fourth.
Chapter 12 Unemployment and Inflation. Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 12.1 The Phillips curve and the U.S.
Copyright © 2003 Pearson Education, Inc. Slide 5-1 Created by Cheryl M. Hughes, Harvard University Extension School Cambridge, MA The Web Wizards Guide.
Internet Number Resource Status Report As of 30 September 2004.
Internet Number Resource Status Report As of 31 December 2004.
Internet Number Resource Status Report As of 31 March 2005.
Improving Human-Semantic Web Interaction: The Rhizomer Experience Roberto García and Rosa Gil GRIHO - Human Computer Interaction Research Group Universitat.
February Extended Project Group Meeting Working Sessions Practical planning Session I: Thursday, 16: :30 Session II: Friday, 9: :30.
LIS650lecture 1 XHTML 1.0 strict Thomas Krichel
Universal Printer Description Format, version 1.0 IEEE ISTO PWG Semantic Model Universal Printer Description Format Print Services Interface IPP IPP Fax.
What in the World? Geographical Representation of Library Collections in WorldCat: A Prototype Lynn Silipigni Connaway Clifton Snyder.
Z39.50 as a Web Service Ralph LeVan Research Scientist.
"The State of the Python Union" Python10 - Alexandria, VA - February 7, 2002 Guido van Rossum Director, PythonLabs at Zope Corporation
Supporting Persistent Objects In Python Jeremy Hylton
The State of the Python Union BDFL PyCon – March 24, 2005 Guido van Rossum Elemental Security, Inc.
What's New in Python 2.2 LinuxWorld - New York City - January 2002 Guido van Rossum Director of PythonLabs at Zope Corporation
What's New in Python? "Not your usual list of new features" Stanford CSL Colloquium, October 29, 2003; BayPiggies, November 13, 2003 Guido van Rossum Elemental.
Python Whats in a name? Snake logos and mascot notwithstanding, its named after Monty Pythons Flying Circus Humor-impaired can safely.
Python 3000 and You Guido van Rossum PyCon March 14, 2008.
Python Regrets OSCON, July 25, 2002
Writing persistent classes Persistent if reachable from the root Persistency by storing/loading pickles ZODB must know when an object is accessed or changed.
EIONET European Environment Information and Observation Network * * * EIONET Training Zope absolute beginner's course Built-in.
Guy Griffiths. General purpose interpreted programming language Widely used by scientists and programmers of all stripes Supported by many 3 rd -party.
Representational State Transfer (REST): Representing Information in Web 2.0 Applications this is the presentation Emilio F Zegarra CS 2650.
Building and using REST information services Rion Dooley.
Lecture 1 – Introduction, Overview
Structural Barriers to Disaster Resilience: Social Class I Session 7.
XS - Platform What is XS – Manager ?
10-Sep-02 Page 1 Gadjah Mada University - Yogyakarta - Indonesia Gadjah Mada University10-Sep-02 Page 1 Gadjah Mada University - Yogyakarta - Indonesia.
Rule of Law and Factor Accumulation, Rule of Law and Productivity: Rule of Law  Income … or vice versa?
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
LET’S GET UPDATING FUN….FUN….FUN How to Update Your Web Site Presented by: Leonora Fimbres & Marci Haight February 13, 2002.
Bruce Beckles University of Cambridge Computing Service
A Crash Course Python. Python? Isn’t that a snake? Yes, but it is also a...
+ MLA FORMAT October 15 th, Why Cite? So my reader knows my information is valid Just in case I forgot where I found the information So my reader.
Chapter 29: Integration Jacob Harper. The Integration Approach The order of adding components to a system is crucial Benefits to careful integration –
In a not gate, if the input is on(1) the output is off (0) and vice versa.
SharePoint PREP Administration Chris Felknor MIT iCampus
Accessibility for Rich Internet Applications: Colin Clark, Fluid Project Technical Lead, Adaptive Technology Resource Centre Techniques & Toolkits.
New-Style Classes Thomas Wouters XS4ALL #python.
Python Overview  Last week Python 3000 was released  Python 3000 == Python 3.0 == Py3k  Designed to break backwards compatibility with the 2.x.
P YTHON ’ S C LASSES Ian Wynyard. I NTRODUCTION TO C LASSES A class is the scope in which code is executed A class contains objects and functions that.
Nir Koren DevOps & Integration Lead, SAP Labs Israel June 2013 Connect your tools to Jenkins Using the basic Jenkins API’s Jenkins User Conference Jenkins.
Inequalities and Their Graphs Inequalities – What do they mean in words? Less than or smaller than Fewer than Less than or equal to At most No more than.
Adding SubtractingMultiplyingDividingMiscellaneous.
Python Object Model Sambasiva Suda PyCon India. Agenda Python Classic Objects Different types of Objects Relationships among objects Q & A.
Objective: Learn to describe the relationships and extend the terms in arithmetic sequence.
亚洲的位置和范围 吉林省白城市洮北区教师进修学校 郑春艳. Q 宠宝贝神奇之旅 —— 亚洲 Q 宠快递 你在网上拍的一套物理实验器材到了。 Q 宠宝贝打电话给你: 你好,我是快递员,有你的邮件,你的收货地址上面 写的是学校地址,现在学校放假了,能把你家的具体 位置告诉我吗? 请向快递员描述自己家的详细位置!
XML DOM Week 11 Web site:
Bucharest, 23 February 2005 CHM PTK technologies Adriana Baciu Finsiel Romania.
Python DB Examples of heavy database usage using Python Comparison of JDBC and Python DB Gadfly SQLObject.
Art 128 Interface Programming 1 In-class Presentation Week 1B
WEB API.
OBJECT-ORIENTED PROGRAMMING
Solve Multi-step Equations
Arithmetic Sequence Objective:
CSS Styles Introduction.
I can describe events using probability near 0, ½, or 1 on a number line? I can explain the difference between theoretical and experimental probability.
Adding with 9’s.
Adding with 10’s.
Adding ____ + 10.
Nate Brunelle Today: Style, Collections
Unit 13: Website Development
Presentation transcript:

Developers Day 2002 Making classes look like types (and vice versa) Or…

Developers Day 2002 Compound W for Pythons object model Or…

Developers Day 2002 Goading Guido into describing something only he (fully) understands

(C) 2002 Zope Corp. 4 New stuff… properties descriptors (?) old-style classes (ok, old stuff) new builtins –object, super, property, staticmethod, classmethod, dict, … new-style classes method resolution order

(C) 2002 Zope Corp. 5 What about metaclasses…?

(C) 2002 Zope Corp. 6 What about metaclasses…? >>> brain.kaboom()

(C) 2002 Zope Corp. 7 More new stuff… __getattribute__() property interface –__get__() –__set__() –__delete__() __slots__ __mro__ __new__()

(C) 2002 Zope Corp. 8 Issues… Status of PEPs 252, 253, 254 More syntactic support –staticmethod –classmethod, etc… Limitations in extending C types –Adding C slots Documenting everything

(C) 2002 Zope Corp. 9 Questions… Has anybody used it for real? Usability? Functionality? Promoting this stuff from experimental status Getting rid of classic classes? Performance?

(C) 2002 Zope Corp. 10 References… Putting Metaclasses to Work: A New Dimension in Object-Oriented Programming, by Ira R. Forman and Scott H. Danforth. Addison-Wesley, 1999, ISBN