Am 18.01.2011 03:41, schrieb Ron Adam:
>
>
> On 01/17/2011 02:27 PM, Georg Brandl wrote:
>> Am 17.01.2011 21:22, schrieb Ron Adam:
>>>
>>> Is this on purpose?
>>>
>>>
>>> Python 3.2rc1 (py3k:88040, Jan 15 2011, 18:11:39)
>>> [GCC 4.4.5] on linux2
>>> Type "help", "copyright", "credits" or "licens
Am 18.01.2011 01:19, schrieb s...@pobox.com:
>
> Antoine> On Mon, 17 Jan 2011 23:37:07 +0100
> Antoine> brett.cannon wrote:
> >> +
> >> +To undo a patch, do::
> >> +
> >> +patch -R -p0 < patch.diff
> >> +
>
> Antoine> Or, simply and more reliably, use the corr
On 01/17/2011 02:27 PM, Georg Brandl wrote:
Am 17.01.2011 21:22, schrieb Ron Adam:
Is this on purpose?
Python 3.2rc1 (py3k:88040, Jan 15 2011, 18:11:39)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> Exception.__name__
'Exception'
>>>
Antoine> On Mon, 17 Jan 2011 23:37:07 +0100
Antoine> brett.cannon wrote:
>> +
>> +To undo a patch, do::
>> +
>> +patch -R -p0 < patch.diff
>> +
Antoine> Or, simply and more reliably, use the corresponding VCS
Antoine> incantation ("svn revert -R ." or "hg
On Mon, Jan 17, 2011 at 14:41, Nick Coghlan wrote:
> On Tue, Jan 18, 2011 at 6:54 AM, Antoine Pitrou wrote:
>>
>> Well it *is* inconvenient in the case of maintainers.rst, which is
>> often consulted casually for daily bug tracker work. Grepping
>> Misc/maintainers.rst is much easier than first h
Done
On Mon, Jan 17, 2011 at 15:14, Antoine Pitrou wrote:
> On Mon, 17 Jan 2011 23:37:07 +0100
> brett.cannon wrote:
>> +
>> +To undo a patch, do::
>> +
>> + patch -R -p0 < patch.diff
>> +
>
> Or, simply and more reliably, use the corresponding VCS incantation
> ("svn revert -R ." or "hg reve
On Jan 17, 2011, at 12:53 PM, Guido van Rossum wrote:
>Wow, that Purify file is really old... Unless anyone can confirm it
>still works, maybe just toss it? Barry?
Wow indeed. The email address in there hasn't worked in, what? a decade? :)
Toss it!
-Barry
signature.asc
Description: PGP signa
On Mon, 17 Jan 2011 23:37:07 +0100
brett.cannon wrote:
> +
> +To undo a patch, do::
> +
> +patch -R -p0 < patch.diff
> +
Or, simply and more reliably, use the corresponding VCS incantation
("svn revert -R ." or "hg revert -a").
Regards
Antoine.
On Tue, Jan 18, 2011 at 7:09 AM, Scott Dial
wrote:
> I worked around the issue by referencing the __class__ (as the other
> replier mentioned). But, I didn't receive any responses then, so I think
> not a lot of attention was put into these type of attributes on exceptions.
That's not a workaroun
On Tue, Jan 18, 2011 at 6:54 AM, Antoine Pitrou wrote:
>
> Well it *is* inconvenient in the case of maintainers.rst, which is
> often consulted casually for daily bug tracker work. Grepping
> Misc/maintainers.rst is much easier than first having to find again
> where your checkout of the devguide
On 1/17/2011 3:22 PM, Ron Adam wrote:
> Is this on purpose?
This reminds me of something I ran into a few years ago wrt. the
attribute on exceptions. Namely, that instances of built-in exceptions
do not have a __module__ attribute, but instance of user exceptions do
-- a change which appeared in P
On Mon, Jan 17, 2011 at 12:32, R. David Murray wrote:
> On Mon, 17 Jan 2011 21:00:10 +0100, Antoine Pitrou
> wrote:
>> On Sun, 16 Jan 2011 21:38:43 +0100
>> brett.cannon wrote:
>> > +
>> > +Adding to a pre-existing module
>> > +---
>> > +
>> > +If you have found that
On Mon, 17 Jan 2011 12:32:20 -0800
Brett Cannon wrote:
> There is a bunch of stuff in Misc that probably belongs in the
> devguide (under Resources) instead of in svn. Here are the files I
> think can be moved (in order of how strongly I think they should be
> moved):
>
> PURIFY.README
> README.c
On Mon, Jan 17, 2011 at 12:32 PM, Brett Cannon wrote:
> There is a bunch of stuff in Misc that probably belongs in the
> devguide (under Resources) instead of in svn. Here are the files I
> think can be moved (in order of how strongly I think they should be
> moved):
>
> PURIFY.README
> README.cov
Am 17.01.2011 21:32, schrieb Brett Cannon:
> There is a bunch of stuff in Misc that probably belongs in the
> devguide (under Resources) instead of in svn. Here are the files I
> think can be moved (in order of how strongly I think they should be
> moved):
>
> PURIFY.README
> README.coverty
> READ
2011/1/17 Ron Adam :
>
> Is this on purpose?
Of course: instances don't have names.
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/
Am 17.01.2011 21:22, schrieb Ron Adam:
>
> Is this on purpose?
>
>
> Python 3.2rc1 (py3k:88040, Jan 15 2011, 18:11:39)
> [GCC 4.4.5] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> Exception.__name__
> 'Exception'
> >>> e = Exception('has no name')
> >
There is a bunch of stuff in Misc that probably belongs in the
devguide (under Resources) instead of in svn. Here are the files I
think can be moved (in order of how strongly I think they should be
moved):
PURIFY.README
README.coverty
README.klocwork
README.valgrind
Porting
developers.txt
maintain
On Mon, 17 Jan 2011 21:00:10 +0100, Antoine Pitrou wrote:
> On Sun, 16 Jan 2011 21:38:43 +0100
> brett.cannon wrote:
> > +
> > +Adding to a pre-existing module
> > +---
> > +
> > +If you have found that a function, method, or class is useful and you
> > believe
> > +i
Is this on purpose?
Python 3.2rc1 (py3k:88040, Jan 15 2011, 18:11:39)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> Exception.__name__
'Exception'
>>> e = Exception('has no name')
>>> e.__name__
Traceback (most recent call last):
File "", lin
On Mon, Jan 17, 2011 at 12:00, Antoine Pitrou wrote:
> On Sun, 16 Jan 2011 21:38:43 +0100
> brett.cannon wrote:
>> +
>> +Adding to a pre-existing module
>> +---
>> +
>> +If you have found that a function, method, or class is useful and you
>> believe
>> +it would be u
On Sun, 16 Jan 2011 21:38:43 +0100
brett.cannon wrote:
> +
> +Adding to a pre-existing module
> +---
> +
> +If you have found that a function, method, or class is useful and you believe
> +it would be useful to the general Python community, there are some steps to
> go
On Mon, 17 Jan 2011 08:33:42 +, Mark Summerfield
wrote:
> from ..Graphics import Xpm
> SVG = 1
>
> I can do the relative import with Python 3.0 and 3.1 but not with
> 3.2rc1:
What about 3.1.3? I wonder if it is related to this issue:
http://bugs.python.org/issue7902
--
R. David Murra
On Mon, 17 Jan 2011 09:23:39 -0500
"R. David Murray" wrote:
> On Mon, 17 Jan 2011 08:33:42 +, Mark Summerfield
> wrote:
> > from ..Graphics import Xpm
> > SVG = 1
> >
> > I can do the relative import with Python 3.0 and 3.1 but not with
> > 3.2rc1:
>
> What about 3.1.3? I wonder if it is r
On Mon, 17 Jan 2011 14:53:19 +0100
Giampaolo Rodolà wrote:
> I've recently implemented this functionality in psutil:
> http://code.google.com/p/psutil/issues/detail?id=147
> If desired, I can contribute a patch for the os module, altough being
> such functions Linux-only, I'm not sure os module is
I've recently implemented this functionality in psutil:
http://code.google.com/p/psutil/issues/detail?id=147
If desired, I can contribute a patch for the os module, altough being
such functions Linux-only, I'm not sure os module is the right place
for them to land.
Also, I've been thinking about th
On Mon, Jan 17, 2011 at 2:03 PM, Mark Summerfield wrote:
> Hi Georg,
>
> I can't be sure it is a bug, but there is a definite difference of
> behavior between 3.0/3.1 and 3.2rc1.
>
> I can do the relative import with Python 3.0 and 3.1 but not with
> 3.2rc1:
Are you sure that the package that you
Hi Georg,
I can't be sure it is a bug, but there is a definite difference of
behavior between 3.0/3.1 and 3.2rc1.
Given this directory layout:
$ ls -R Graphics/
Graphics/:
__init__.py Vector Xpm.py
Graphics/Vector:
__init__.py Svg.py
And these files:
$ cat Graphics/__init__.py
__all__ = [
28 matches
Mail list logo