> Martin, since you committed 60793 in Feb, any others like this that need
> merging from release25-maint to trunk off the top of your head?
That's the entire chunk of "Google bug fixes", and yes, all of it needs
to be ported to 2.6 still.
I'll look into it, unless you volunteer :-) (it doesn't n
On 2008-06-11 05:42, Gregory P. Smith wrote:
On Mon, Jun 9, 2008 at 1:44 AM, M.-A. Lemburg <[EMAIL PROTECTED]> wrote:
On 2008-06-09 07:20, Gregory P. Smith wrote:
On Fri, Jun 6, 2008 at 2:19 AM, M.-A. Lemburg <[EMAIL PROTECTED]> wrote:
On 2008-06-03 01:29, Gregory P. Smith wrote:
On Mon,
Simon Cross wrote:
Originally Python exceptions had no __unicode__ method. In Python 2.5
__unicode__ was added. This led to "unicode(Exception)" failing and so
the addition of __unicode__ was reverted [1].
This leaves Python 2.6 in a position where calls to
"unicode(Exception(u'\xe1'))" fail as
Thomas Lee wrote:
Martin v. Löwis wrote:
In Python 3, None, True, and False are keywords, so clearly, the
intended semantics is also the implemented one (and the language
description for 2.x needs to be updated/clarified).
Interestingly enough, the semantics of True, False and None are
diff
Guido van Rossum wrote:
I don't see it the same way; this is a terribly unimportant API, so
let's not mess with it. threading.py is worth fixing (a) because it's
so popular, and (b) because some folks insisted that the new
multiprocessing module have an API that is as similar as possible to
threa
Greg Ewing wrote:
Maciej Fijalkowski wrote:
What do you think about this code:
class A:
locals()[42] = 98
Seems people rely on it working. Do we consider it part of python
language?
Modifying the dict returned by locals() is documented
as NOT being guaranteed to work, isn't it?
Yep - it
Guido van Rossum wrote:
All,
I've been sick since Saturday and still don't feel up to much. I've
collected a severe email backlog going back to June 6th. If there's
anything someone really needs me to look at ASAP (e.g. a BDFL decision
affecting the impending beta release) please send me an emai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
So I had planned to do a bunch of work last night looking at the
release blocker issues, but nature intervened. A bunch of severe
thunderstorms knock out my 'net access until this morning.
I'll try to find some time during the day to look at th
On Wed, Jun 11, 2008 at 11:34 AM, Nick Coghlan <[EMAIL PROTECTED]> wrote:
> 4) Fix PyObject_Unicode to not retrieve __unicode__ from new-style
> instances, and instead only look for the method on their types (similar to
> the way PyObject_Format looks up the __format__ method).
Thanks for the sugg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jun 9, 2008, at 7:28 AM, Nick Coghlan wrote:
Benjamin Peterson wrote:
As we approach the planned first betas for 2.6/3.0, my heart sinks
when I see the imposing list of 16 release blockers. [1] Luckily,
most
of the issues have patches that ju
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jun 10, 2008, at 8:07 PM, Guido van Rossum wrote:
I've been sick since Saturday and still don't feel up to much. I've
collected a severe email backlog going back to June 6th. If there's
anything someone really needs me to look at ASAP (e.g. a BDF
[just ccing python-dev]
On Tue, Jun 10, 2008 at 10:17 PM, Benjamin Peterson
<[EMAIL PROTECTED]> wrote:
> On Tue, Jun 10, 2008 at 10:08 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote:
>> On Tue, Jun 10, 2008 at 7:19 PM, Benjamin Peterson
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> I think that we should
On Wed, Jun 11, 2008 at 8:23 AM, Benjamin Peterson
<[EMAIL PROTECTED]> wrote:
> On Wed, Jun 11, 2008 at 1:32 AM, Georg Brandl <[EMAIL PROTECTED]> wrote:
>> Currently, multiprocessing cannot be imported:
>>
> import multiprocessing
>> Traceback (most recent call last):
>> File "", line 1, in
>
On Wed, Jun 11, 2008 at 1:32 AM, Georg Brandl <[EMAIL PROTECTED]> wrote:
> Currently, multiprocessing cannot be imported:
>
import multiprocessing
> Traceback (most recent call last):
> File "", line 1, in
> File "/home/gbr/devel/python/Lib/multiprocessing/__init__.py", line 63, in
>
> imp
Barry Warsaw wrote:
On Jun 10, 2008, at 8:07 PM, Guido van Rossum wrote:
I've been sick since Saturday and still don't feel up to much. I've
collected a severe email backlog going back to June 6th. If there's
anything someone really needs me to look at ASAP (e.g. a BDFL decision
affecting the i
On 2008-06-11 13:35, Barry Warsaw wrote:
So I had planned to do a bunch of work last night looking at the release
blocker issues, but nature intervened. A bunch of severe thunderstorms
knock out my 'net access until this morning.
I'll try to find some time during the day to look at the RB iss
I'd like to make a claim about the following example, that
update_wrapper should be improved to preserve the behavior of known,
built-in decorators. In this case, I'm talking about staticmethod.
The order I list here feels natural, but it obviously doesn't work.
The only reason it doesn't s
M.-A. Lemburg wrote:
On 2008-06-11 13:35, Barry Warsaw wrote:
So I had planned to do a bunch of work last night looking at the
release blocker issues, but nature intervened. A bunch of severe
thunderstorms knock out my 'net access until this morning.
I'll try to find some time during the day
M.-A. Lemburg schrieb:
On 2008-06-11 13:35, Barry Warsaw wrote:
So I had planned to do a bunch of work last night looking at the release
blocker issues, but nature intervened. A bunch of severe thunderstorms
knock out my 'net access until this morning.
I'll try to find some time during the d
At 03:37 AM 6/11/2008 +0200, Maciej Fijalkowski wrote:
On Wed, Jun 11, 2008 at 3:36 AM, Scott Dial
<[EMAIL PROTECTED]> wrote:
> Maciej Fijalkowski wrote:
>>
>> What do you think about this code:
>>
>> class A:
>> locals()[42] = 98
>>
>> Seems people rely on it working.
>
> I apologize for my ig
On Wed, Jun 11, 2008 at 1:19 AM, "Martin v. Löwis" <[EMAIL PROTECTED]>
wrote:
> > Martin, since you committed 60793 in Feb, any others like this that need
> > merging from release25-maint to trunk off the top of your head?
>
> That's the entire chunk of "Google bug fixes", and yes, all of it needs
On 2008-06-11 17:15, Walter Dörwald wrote:
M.-A. Lemburg wrote:
On 2008-06-11 13:35, Barry Warsaw wrote:
So I had planned to do a bunch of work last night looking at the
release blocker issues, but nature intervened. A bunch of severe
thunderstorms knock out my 'net access until this morning.
On Wed, Jun 11, 2008 at 4:35 AM, Barry Warsaw <[EMAIL PROTECTED]> wrote:
> So I had planned to do a bunch of work last night looking at the release
> blocker issues, but nature intervened. A bunch of severe thunderstorms
> knock out my 'net access until this morning.
>
> I'll try to find some time
On Wed, Jun 11, 2008 at 7:32 AM, M.-A. Lemburg <[EMAIL PROTECTED]> wrote:
> There are two things I'd like to get in to 3.0:
>
> * .transform()/.untransform() methods (this is mostly done, just need
> to add the methods to PyUnicode, PyBytes and PyByteArray)
I'm +0 on this. It is very minor synt
On Tue, Jun 10, 2008 at 10:15 PM, Stefan Behnel <[EMAIL PROTECTED]> wrote:
> This seems to require a BDFL decision:
>
> http://bugs.python.org/issue2997
>
> Executive Summary: PyNumberMethods has been changed on py3k back in 2006 with
> the nb_divide removal, so it's now incompatible with Py2. But
On Wed, Jun 11, 2008 at 5:59 AM, Nick Coghlan <[EMAIL PROTECTED]> wrote:
>> http://bugs.python.org/issue643841
>>
>> It's a long bug thread, but needs a decision.
>
> I just added a couple of messages at the end that recap the more recent
> discussions (the early responses to the issue are *really*
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jun 11, 2008, at 1:02 PM, Guido van Rossum wrote:
On Wed, Jun 11, 2008 at 4:35 AM, Barry Warsaw <[EMAIL PROTECTED]>
wrote:
So I had planned to do a bunch of work last night looking at the
release
blocker issues, but nature intervened. A bunch
Please submit a fix to the issue tracker at bugs.python.org if you
care about this.
On Wed, Jun 11, 2008 at 7:06 AM, Calvin Spealman
<[EMAIL PROTECTED]> wrote:
> I'd like to make a claim about the following example, that update_wrapper
> should be improved to preserve the behavior of known, built-
Calvin Spealman socialserve.com> writes:
> Traceback (most recent call last):
>File "", line 1, in
>File "", line 3, in A
>File "", line 5, in d
>File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/functools.py", line 33, in update_wrapper
> setattr(wrap
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jun 11, 2008, at 1:15 AM, Stefan Behnel wrote:
Guido van Rossum wrote:
anything someone really needs me to look at ASAP (e.g. a BDFL
decision
affecting the impending beta release) please send me an email
This seems to require a BDFL decision
On Wed, Jun 11, 2008 at 12:54 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote:
>>
>> http://bugs.python.org/issue2997
>
> Guido's approved the patch. Please go ahead and apply it. If no one gets
> to it before tonight, I'll put it in beta 1 if it applies cleanly.
I'm going to handle it.
--
Cheers,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jun 11, 2008, at 1:58 PM, Benjamin Peterson wrote:
On Wed, Jun 11, 2008 at 12:54 PM, Barry Warsaw <[EMAIL PROTECTED]>
wrote:
http://bugs.python.org/issue2997
Guido's approved the patch. Please go ahead and apply it. If no
one gets
to it
On Tue, Jun 10, 2008 at 10:13 AM, Doug Evans <[EMAIL PROTECTED]> wrote:
> I spent a bit of time trying to figure out what's going on here
> (was getting errors regarding missing uintptr_t while trying to compile
> an external module with Python 2.4).
> pyport.h now includes stdint.h but can we fix
"Function names should be lowercase, with words separated by underscores as
necessary to improve readability." -- PEP 8
If I'm reading this correctly, then underscores are not required everywhere.
Can some of these be shortened?
function:: active_count()
method:: Thread.get_name()
m
On Wed, Jun 11, 2008 at 1:03 PM, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
> "Function names should be lowercase, with words separated by underscores as
> necessary to improve readability." -- PEP 8
>
> If I'm reading this correctly, then underscores are not required
> everywhere. Can some of
There are a few cases where the ctypes docs are rendered incorrectly:
http://docs.python.org/dev/library/ctypes.html#function-prototypes
This looks as if 'prototype' would be a symbol exposed by ctypes; it is
not - it is used as a placeholder for the object returned by calls to
the ctypes.CFUNCT
Thomas Heller schrieb:
> There are a few cases where the ctypes docs are rendered incorrectly:
>
> http://docs.python.org/dev/library/ctypes.html#function-prototypes
>
> This looks as if 'prototype' would be a symbol exposed by ctypes; it is
> not - it is used as a placeholder for the object retu
staticmethod doesn't wrap anything, it just creates a descriptor on
the class with a __get__ that returns the original, untouched
callable. Doesn't even care _what_ the thing you use it on is
(function, other callable, or something else entirely.)
This actually shouldn't be attempted on non
Calvin Spealman socialserve.com> writes:
>
> staticmethod doesn't wrap anything, it just creates a descriptor on
> the class with a __get__ that returns the original, untouched
> callable. Doesn't even care _what_ the thing you use it on is
> (function, other callable, or something else ent
Phillip J. Eby wrote:
That test is there to ensure that it interoperates with code using the
AddOns library from the Cheeseshop; SQLAlchemy is not the source of the
usage.
Now that's interesting. The AddOns library uses class objects as keys in
the __dict__, but that doesn't says anything abo
Thomas Heller schrieb:
Thomas Heller schrieb:
There are a few cases where the ctypes docs are rendered incorrectly:
http://docs.python.org/dev/library/ctypes.html#function-prototypes
This looks as if 'prototype' would be a symbol exposed by ctypes; it is
not - it is used as a placeholder for t
On Wed, Jun 11, 2008 at 7:35 AM, Barry Warsaw <[EMAIL PROTECTED]> wrote:
> My plan is to begin building the betas tonight, at around 9 or 10pm EDT
> (0100 to 0200 UTC Thursday). If a showstopper comes up before then, I'll
> email the list. If you think we really aren't ready for beta, then I woul
On Wed, Jun 11, 2008 at 12:22 PM, Antoine Pitrou <[EMAIL PROTECTED]> wrote:
> Calvin Spealman socialserve.com> writes:
>>
>> staticmethod doesn't wrap anything, it just creates a descriptor on
>> the class with a __get__ that returns the original, untouched
>> callable. Doesn't even care _what_ th
On Sun, Jun 8, 2008 at 10:19 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
>
> > So, it's okay to setattr the attribute name "None" but not okay to set
> > it directly? Is this deliberate or is it an unintentional side effect
> > of parser changes to prevent assignment to None?
>
> It's deliber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jun 11, 2008, at 4:54 PM, Alexandre Vassalotti wrote:
On Wed, Jun 11, 2008 at 7:35 AM, Barry Warsaw <[EMAIL PROTECTED]>
wrote:
My plan is to begin building the betas tonight, at around 9 or 10pm
EDT
(0100 to 0200 UTC Thursday). If a showstopp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Okay, we have a potential showstopper for the betas today. All the
3.0 buildbots are bloody red:
http://www.python.org/dev/buildbot/stable/
Running the tests locally on OS X 10.5 and Ubuntu 8.04 confirm that
the tests hang after test_xmlrpc.
On Wed, Jun 11, 2008 at 5:13 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Okay, we have a potential showstopper for the betas today. All the 3.0
> buildbots are bloody red:
>
> http://www.python.org/dev/buildbot/stable/
>
> Running the tests loc
"Scott Dial" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
|| If non-string keys are not allowed in __dict__, then the AddOns library
| should be changed to add another dict to the object of interest to track
| these AddOn instances.
There are three possibilities with respect to __
On Thu, Jun 12, 2008 at 2:32 AM, Terry Reedy <[EMAIL PROTECTED]> wrote:
>
> "Scott Dial" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> || If non-string keys are not allowed in __dict__, then the AddOns library
> | should be changed to add another dict to the object of interest to
"Maciej Fijalkowski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| On Thu, Jun 12, 2008 at 2:32 AM, Terry Reedy <[EMAIL PROTECTED]> wrote:
| >
| > "Scott Dial" <[EMAIL PROTECTED]> wrote in message
| > news:[EMAIL PROTECTED]
| > || If non-string keys are not allowed in __dict__, th
On Wed, Jun 11, 2008 at 2:42 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote:
> On Jun 11, 2008, at 4:54 PM, Alexandre Vassalotti wrote:
>> I have two release blockers pending review:
>>
>> http://bugs.python.org/issue2918
>> http://bugs.python.org/issue2917
>>
>> I believe both patches are ready to b
On Wed, Jun 11, 2008 at 3:18 PM, Benjamin Peterson
<[EMAIL PROTECTED]> wrote:
> On Wed, Jun 11, 2008 at 5:13 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote:
>> Okay, we have a potential showstopper for the betas today. All the 3.0
>> buildbots are bloody red:
>>
>> http://www.python.org/dev/buildbot/s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jun 11, 2008, at 10:16 PM, Guido van Rossum wrote:
On Wed, Jun 11, 2008 at 2:42 PM, Barry Warsaw <[EMAIL PROTECTED]>
wrote:
On Jun 11, 2008, at 4:54 PM, Alexandre Vassalotti wrote:
I have two release blockers pending review:
http://bugs.pytho
On Wed, Jun 11, 2008 at 9:18 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> On Wed, Jun 11, 2008 at 3:18 PM, Benjamin Peterson
>>
>> Already done.
>
> Done what? Fixed, or backed out? Any more details? Old farts who
> aren't on IRC want to know. :-)
That would be fixed.
>
> --
> --Guido van Ro
Maciej Fijalkowski wrote:
On Thu, Jun 12, 2008 at 2:32 AM, Terry Reedy <[EMAIL PROTECTED]> wrote:
"Scott Dial" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
|| If non-string keys are not allowed in __dict__, then the AddOns library
| should be changed to add another dict to the obj
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Much thanks to Benjamin Peterson and Alexandre Vassalotti for
providing much help today trying to get the betas out. Unfortunately,
it's not gonna happen today. There are two issues blocking the release.
http://bugs.python.org/issue3088
http:/
Hi everybody on the list !
Sorry about the off-topic message, but giving the nature of the
message and the nature of the list (after all, everybody here uses
Internet or develops for web in some way), I decided to post this here
and see what you guys think about it.
http://ipower.ning.com/netneut
57 matches
Mail list logo