Anthony Baxter wrote:
> Starting a new thread...
>
>> Several modules in the stdlib work on a specific file format. It
>> is possible some of these formats are no longer used and thus the
>> stdlib modules for them can go. Below is a list of some modules
>> which rely on a file format that ma
Starting a new thread...
> Several modules in the stdlib work on a specific file format. It
> is possible some of these formats are no longer used and thus the
> stdlib modules for them can go. Below is a list of some modules
> which rely on a file format that may be obsolete.
> audioop
>
At 12:18 AM 1/5/2007 +0100, Malte Helmert wrote:
>Phillip J. Eby wrote:
> > Heck, you could even say the translation is:
> >
> > except ExcType:
> > e = sys.exception # or whatever it's called in 3K
> > try:
> > # body
> > finally:
> >
On 1/4/07, tomer filiba <[EMAIL PROTECTED]> wrote:
> [Guido]
> > The use case I am guessing from your example (passing a
> > traceback as a single string across an RPC boundary) isn't all that
> > common and you ought to have only one place in your RPC package where
> > you need to call it.
>
> *th
On 1/4/07, Barry Warsaw <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 4, 2007, at 3:06 AM, BJörn Lindqvist wrote:
> On 1/3/07, Brett Cannon <[EMAIL PROTECTED]> wrote:
PEP 8 specifies that modules "should have short, lowercase names,
without underscor
On 1/4/07, Neil Toronto <[EMAIL PROTECTED]> wrote:
Guido van Rossum wrote:
> On 1/4/07, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
>
>> At 01:41 AM 1/4/2007 -0600, Ka-Ping Yee wrote:
>>
>>> How about this?
>>>
>>> except ExcType, e:
>>> try:
>>> # body
>>> fina
[Guido]
> The use case I am guessing from your example (passing a
> traceback as a single string across an RPC boundary) isn't all that
> common and you ought to have only one place in your RPC package where
> you need to call it.
*this* use-case isn't that useful, true. but many times, frameworks
Guido van Rossum wrote:
> On 1/4/07, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
>
>> At 01:41 AM 1/4/2007 -0600, Ka-Ping Yee wrote:
>>
>>> How about this?
>>>
>>> except ExcType, e:
>>> try:
>>> # body
>>> finally:
>>> e = None
>>>
>> I
On 1/4/07, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
> At 01:41 AM 1/4/2007 -0600, Ka-Ping Yee wrote:
> >How about this?
> >
> > except ExcType, e:
> > try:
> > # body
> > finally:
> > e = None
>
> It's a little bit more difficult to explain in the r
[Tomer]
> > > as well as
> > > traceback.format_exception (which i greatly dislike).
[Guido]
> > Why? Because it once insulted you?
[Tomer]
> because it's tedious, repetitive and unreadable.
>
> try:
> foo
> except:
> import traceback
> import sys
> tbtext = "".join(traceback.form
[Guido]
> > as well as
> > traceback.format_exception (which i greatly dislike).
>
> Why? Because it once insulted you?
because it's tedious, repetitive and unreadable.
try:
foo
except:
import traceback
import sys
tbtext = "".join(traceback.format_exception(*sys.exc_info()))
r
At 01:41 AM 1/4/2007 -0600, Ka-Ping Yee wrote:
>How about this?
>
> except ExcType, e:
> try:
> # body
> finally:
> e = None
It's a little bit more difficult to explain in the reference manual. I was
figuring we'd say that the exception variable i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 4, 2007, at 3:06 AM, BJörn Lindqvist wrote:
> On 1/3/07, Brett Cannon <[EMAIL PROTECTED]> wrote:
PEP 8 specifies that modules "should have short, lowercase names,
without underscores" [#pep-0008]_.
>>>
>>> Why does the restriction on
On 1/3/07, Brett Cannon <[EMAIL PROTECTED]> wrote:
> > > PEP 8 specifies that modules "should have short, lowercase names,
> > > without underscores" [#pep-0008]_.
> >
> > Why does the restriction on underscores exist? Removing that
> > restriction would make lowercase-only names easier to use
> >
14 matches
Mail list logo