CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 30 Jul 2025 16:34:30 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20071208113059
location: https://web.archive.org/web/20071208113059/https://wiki.python.org/moin/ObserverPattern
server-timing: captures_list;dur=1.429932, exclusion.robots;dur=0.058085, exclusion.robots.policy;dur=0.025358, esindex;dur=0.023693, cdx.remote;dur=590.858374, LoadShardBlock;dur=659.862287, PetaboxLoader3.datanode;dur=56.711003, PetaboxLoader3.resolve;dur=574.445909
x-app-server: wwwb-app223
x-ts: 302
x-tr: 1354
server-timing: TR;dur=0,Tw;dur=99,Tc;dur=1
set-cookie: SERVER=wwwb-app223; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 30 Jul 2025 16:34:32 GMT
content-type: text/html;charset=utf-8
x-archive-orig-date: Sat, 08 Dec 2007 11:30:58 GMT
x-archive-orig-server: Apache/2.0.54 (Debian GNU/Linux) mod_fastcgi/2.4.2
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 08 Dec 2007 11:30:59 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 22 May 2006 20:39:29 GMT", ; rel="prev memento"; datetime="Sun, 28 Jan 2007 04:43:11 GMT", ; rel="memento"; datetime="Sat, 08 Dec 2007 11:30:59 GMT", ; rel="next memento"; datetime="Thu, 22 Apr 2010 19:44:08 GMT", ; rel="last memento"; datetime="Mon, 24 Jun 2024 15:56:41 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_1_20071208104348_crawl102-c/52_1_20071208112920_crawl107.arc.gz
server-timing: captures_list;dur=0.467181, exclusion.robots;dur=0.018859, exclusion.robots.policy;dur=0.009412, esindex;dur=0.010723, cdx.remote;dur=93.069175, LoadShardBlock;dur=1120.125767, PetaboxLoader3.datanode;dur=205.838058, PetaboxLoader3.resolve;dur=1117.126839, load_resource;dur=227.389071
x-app-server: wwwb-app223
x-ts: 200
x-tr: 1488
server-timing: TR;dur=0,Tw;dur=192,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
ObserverPattern - PythonInfo Wiki
ObserverPattern
Observer Pattern
Intent: Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
Described in ObserverPattern.
Common incarnations of the Observer Pattern use events to notify observers about changes in the subject. A python solution that encapsulates event triggering and subscription and mimics C#-style events can be found here.
Discussion
EditText (last edited 2005-05-05 01:24:52 by ZoranIsailovski)
DeleteCache (cached 2007-11-21 21:25:46)- Login
- Navigation
- Actions
- Your recent pages