by: Arien Malec |
last post by:
I've been following the decorator debate with some interest, and it's taken
me a reasonably long time to understand what is meant by a decorator. One
of the issues is that the Decorator pattern is...
|
by: Chas Emerick |
last post by:
I thought I'd finally break my lurker status here by passing along a
comment I made in connection with this weblog post
<http://zephyrfalcon.org/weblog2/arch_e10_00610.html#e610>, one of many...
|
by: km |
last post by:
Hi all,
was going thru the new features introduced into python2.4 version.
i was stuck with 'decorators' - can someone explain me the need of such a thing called decorators ?
tia
KM
|
by: Michael Ekstrand |
last post by:
I've been googling around for a bit trying to find some mechanism for
doing in Python something like Java's synchronized methods. In the
decorators PEP, I see examples using a hypothetical...
|
by: tharaka |
last post by:
Hi Guys,
This is an idea for a PEP.
How would you guys feel about adding decorator support for
"everything"? Currently, only functions and method are supported.
For example:
@GuardedClass
|
by: yoda |
last post by:
I'm using py.log for logging and I find that I end up having the
following pattern emerge within my code (influenced by...
|
by: vinjvinj |
last post by:
I'm building an application with cherrypy and have started using
decorators quite extensively. A lot of my exposed functions look like:
@expose
@startTransactrionAndBuildPage...
|
by: king kikapu |
last post by:
Hi,
i am new to python and i have a question about how decorators are
working.
I have understand HOW they do their magic but i am trying to figure out
WHEN they do it...
I have the...
|
by: David C. Ullrich |
last post by:
What version added decorators (using the
@decorator syntax)?
(Is there a general way I could have found out the answer myself?)
Is there a somthing such that "from __future__ import something"...
|
by: robert2821 |
last post by:
Hi,
I'm new; greetings all!
I'm wondering if the following program should work. I think it should
print 'Hello, World', but instead it produces a TypeError. Is this a
bug in decorators, a...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|