[Python-Dev] BRANCH UNFROZEN

2005-03-30 Thread Anthony Baxter
Ok, 2.4.1 seems good, so the release24-maint branch is unfrozen for bugfixes. We'll aim for a 2.4.2 around August/September, assuming no critical bugs come up before then... -- Anthony Baxter <[EMAIL PROTECTED]> It's never too late to have a happy childhood. _

Re: [Python-Dev] @decoration of classes

2005-03-30 Thread Nick Coghlan
Delaney, Timothy C (Timothy) wrote: class factory: @register def __call__(self): pass Just as an additional data point - obviously not applicable in all cases. Yep, and it's obviously possible to do that now with just function decorators. Getting my head around what that actually *

Re: [Python-Dev] @decoration of classes

2005-03-30 Thread Phillip J. Eby
At 10:05 AM 3/31/05 +1000, Nick Coghlan wrote: PJE's example of moving the decoration near the top of the class definition without allowing class decoration contains an important caveat: it requires that the decorators be written to support doing that. Allowing class decoration means any appropr

Re: [Python-Dev] @decoration of classes

2005-03-30 Thread Nick Coghlan
Michael Chermside wrote: So I'm inclined to use different tools for modifying functions and modifying classes because the ways you want to modify them are different, and decorators are "tuned" to what people normally want to do with functions (like simple wrapping) while metaclasses are "tuned" to

RE: [Python-Dev] @decoration of classes

2005-03-30 Thread Delaney, Timothy C (Timothy)
Nick Coghlan wrote: ># A decorator that does not alter its argument >def register(callable): > # Register the callable somewhere > ... > return callable > ># Decorated factory function >@register >def factory(): > pass > ># Post-decorated class >cl

Re: [Python-Dev] New PyPI broken package editing

2005-03-30 Thread Walter Dörwald
Martin v. Löwis wrote: Walter Dörwald wrote: There's been a problem with your request exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 92: ordinal not in range(128) That should be fixed now, please try again. Works perfectly, thanks! > [...] Bye, Walter Dörwald __

Re: [Python-Dev] New PyPI broken package editing

2005-03-30 Thread Martin v. Löwis
Walter Dörwald wrote: There's been a problem with your request exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 92: ordinal not in range(128) That should be fixed now, please try again. Please report further errors you find to sf.net/projects/pypi. Suggestions/RFEs c

Re: [Python-Dev] New PyPI broken package editing

2005-03-30 Thread Martin v. Löwis
Walter Dörwald wrote: The register command in 2.4 (and current CVS) simply does a value = str(value) in post_to_server() so the encoded bytes sent depend on the default encoding. Would it be sufficient to change this to value = unicode(value).encode("utf-8") Indeed. I think this can go into 2

[Python-Dev] Re: RELEASED Python 2.4.1 (final)

2005-03-30 Thread Skip Montanaro
Terry> The page http://www.python.org/download/ needs to be added to the Terry> list of things updated with a new release. Terry, I'll let others take care of that list (I don't know where it's kept). In the meantime, I updated the download page to reference 2.4.1. Skip __

Re: [Python-Dev] New PyPI broken package editing

2005-03-30 Thread Walter Dörwald
Martin v. Löwis wrote: Walter Dörwald wrote: So can I have one setup.py for both Python 2.4 and Python 2.5 that does the correct thing when creating a Windows installer for Python 2.4 (I've used Unicode strings for that until now) and using the upload command with Python CVS (which seems to requi

[Python-Dev] Re: [Python-checkins] python/dist/src/Modules readline.c, 2.82, 2.83

2005-03-30 Thread Michael Hudson
[EMAIL PROTECTED] writes: > Update of /cvsroot/python/python/dist/src/Modules > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10274 > > Modified Files: > readline.c > Log Message: > Fixes for > > [ 110 ] The readline module can cause python to segfault > > It seems to me that th

Re: [Python-Dev] Re: webbrowser.py

2005-03-30 Thread Oleg Broytmann
Hello! Jim Jewett have sent me information about remote features of Opera, so I downloaded Opera for Linux and w32 and tested them. On Linux Opera support remote functionality almost identical to Mozilla. I added a new Opera controller. On w32 remote commands are ignored, so GenericBrowser s

RE: [Python-Dev] RELEASED Python 2.4.1 (final)

2005-03-30 Thread Raymond Hettinger
> I'm happy to announce the release of Python 2.4.1 (final). Woohoo! Raymond ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40

[Python-Dev] RELEASED Python 2.4.1 (final)

2005-03-30 Thread Anthony Baxter
On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.4.1 (final). Python 2.4.1 is a bug-fix release. See the release notes at the website (also available as Misc/NEWS in the source distribution) for details of the bugs squished in this re

[Python-Dev] Re: [maintenance doc updates]

2005-03-30 Thread Wolfgang Langner
Hello, Fred L. Drake wrote: > The maintenance version of the documentation has been updated: > > http://www.python.org/dev/doc/maint24/ Very good. The download links under http://docs.python.org/download.html doesn't work any more. (packages not there) But 2.4.1 is not yet released, so I w