> > If there is a function which triggers a one-shot switch, I like
> > to have a way to find out if it has already been triggered, I
> > prefer to have the function tell me if it triggered the switch
> > or not, but I would not want that to be by raising an exception.
>
> In this case, though, we'
Duncan Booth wrote:
Ben Finney wrote:
MRAB writes:
Gunter Henriksen wrote:
If there is a function which triggers a one-shot switch, I like to
have a way to find out if it has already been triggered, I prefer
to have the function tell me if it triggered the switch or not, but
I would not wa
Gunter Henriksen writes:
> If there is a function which triggers a one-shot switch, I like to
> have a way to find out if it has already been triggered, I prefer to
> have the function tell me if it triggered the switch or not, but I
> would not want that to be by raising an exception.
In this c
Ben Finney wrote:
> MRAB writes:
>
>> Gunter Henriksen wrote:
>> > If there is a function which triggers a one-shot switch, I like to
>> > have a way to find out if it has already been triggered, I prefer
>> > to have the function tell me if it triggered the switch or not, but
>> > I would not
MRAB writes:
> Gunter Henriksen wrote:
> > If there is a function which triggers a one-shot switch, I like to
> > have a way to find out if it has already been triggered, I prefer to
> > have the function tell me if it triggered the switch or not, but I
> > would not want that to be by raising an
Gunter Henriksen wrote:
Anyone else?
If there is a function which triggers a one-shot switch, I
like to have a way to find out if it has already been triggered,
I prefer to have the function tell me if it triggered the switch
or not, but I would not want that to be by raising an exception.
Th
> Anyone else?
If there is a function which triggers a one-shot switch, I
like to have a way to find out if it has already been triggered,
I prefer to have the function tell me if it triggered the switch
or not, but I would not want that to be by raising an exception.
--
http://mail.python.org/ma
Carl Banks writes:
> I don't think this is anything more than a trivial consideration,
Okay, thank you.
Anyone else?
--
\ “All television is educational television. The question is: |
`\ what is it teaching?” —Nicholas Johnson |
_o__)
On May 16, 8:20 pm, Ben Finney wrote:
> Carl Banks writes:
> > There's already precedent for what to do in the Python library.
>
> > Python 2.5.2 (r252:60911, Jan 4 2009, 17:40:26)
> > [GCC 4.3.2] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> f = op
Carl Banks writes:
> There's already precedent for what to do in the Python library.
>
> Python 2.5.2 (r252:60911, Jan 4 2009, 17:40:26)
> [GCC 4.3.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> f = open('somefile')
> >>> f.close()
> >>> f.close()
>
On May 16, 5:50 pm, Ben Finney wrote:
> Ideas? How should this be addressed both Pythonically and respecting the
> intent of PEP 3143?
There's already precedent for what to do in the Python library.
Python 2.5.2 (r252:60911, Jan 4 2009, 17:40:26)
[GCC 4.3.2] on linux2
Type "help", "copyright",
Howdy all,
I'm slowly developing PEP 3143 and, in parallel, its reference
implementation, the ‘python-daemon’ library
http://pypi.python.org/pypi/python-daemon/>. Feedback continues to
be welcome from people wanting to make a program become a daemon; please
try it out and critique the specificatio
12 matches
Mail list logo