Skip to content
Sections
>> Trisquel >> Balíky >> etiona >> python >> python-lazy-object-proxy
etiona  ]
[ Zdroj: lazy-object-proxy  ]

Balík: python-lazy-object-proxy (1.3.1-1)

Python fast and thorough lazy object proxy

A lazy object proxy is an object that wraps a callable but defers the call until the object is actually required, and caches the result of said call.

These kinds of objects are useful in resolving various dependency issues, few examples:

 * Objects that need to held circular references at each other, but at
   different stages. To instantiate object Foo you need an instance of Bar.
   Instance of Bar needs an instance of Foo in some of it methods (but not at
   construction).  Circular imports sound familiar?

 * Performance sensitive code. You don't know ahead of time what you're going
   to use but you don't want to pay for allocating all the resources at the
   start as you usually need just few of them.

This package contains the Python 2 version of lazy-object-proxy .

Ostatné balíky súvisiace s balíkom python-lazy-object-proxy

  • závisí
  • odporúča
  • navrhuje
  • dep: libc6 (>= 2.4)
    GNU C Library: Shared libraries
    tiež virtuálny balík poskytovaný balíkom libc6-udeb
  • dep: python
    interactive high-level object-oriented language (default version)
    dep: python (<< 2.8)
    dep: python (>= 2.7~)

Stiahnuť python-lazy-object-proxy

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
amd64 20.3 kB123 kB [zoznam súborov]
i386 20.5 kB121 kB [zoznam súborov]