Re: [Python-3000] u'text' as an alias for 'text'?

2008-03-23 Thread Nick Coghlan
Lennart Regebro wrote: > On Sun, Mar 23, 2008 at 10:52 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: >> You develop for 2.6, and then make sure it runs on 3.0 - >> *exactly* the same as for 2.5/2.6. > > Uh... no. You develop for 2.5, and then you don't do anything else. It > *will* run under 2.

Re: [Python-3000] binascii.crc32 vs zlib.crc32

2008-03-23 Thread Gregory P. Smith
trunk r61823 now compiles binascii to use zlib's crc32 rather than its own if the zlib library is available at compile time (that should shave a kilobyte off binascii.so on most systems). {binascii,zlib}.crc32, zlib.adler32 and binascii.crc_hqx could all potentially live in the hashlib module but

Re: [Python-3000] Porting Django

2008-03-23 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 23, 2008, at 7:36 PM, Martin v. Löwis wrote: > I finished my first round of porting Django to 3.0, and summarized my > experience at > > http://wiki.python.org/moin/PortingDjangoTo3k > > If you have any comments, please let me know. Note that t

[Python-3000] Porting Django

2008-03-23 Thread Martin v. Löwis
I finished my first round of porting Django to 3.0, and summarized my experience at http://wiki.python.org/moin/PortingDjangoTo3k If you have any comments, please let me know. Regards, Martin ___ Python-3000 mailing list Python-3000@python.org http://m

Re: [Python-3000] u'text' as an alias for 'text'?

2008-03-23 Thread Martin v. Löwis
>> If you add __future__ imports to the 2.6 code, it will stop running >> on 2.5. Does that make it "not backwards compatible", or "not forwards >> compatible". > > That makes it not backwards compatible, and it makes it forwards compatible. Just to get the terminology straight: Python x.y is

Re: [Python-3000] u'text' as an alias for 'text'?

2008-03-23 Thread Lennart Regebro
On Sun, Mar 23, 2008 at 10:52 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > Lennart Regebro wrote: > > On Thu, Mar 20, 2008 at 11:02 PM, Mike Meyer <[EMAIL PROTECTED]> wrote: > >> Fair enough. But doesn't 2.5->2.6 present the same problem? After all, > >> you can't start using 2.6 feature

Re: [Python-3000] Strategy for porting to 3.0?

2008-03-23 Thread Martin v. Löwis
> This probably belongs on spambayes-dev as much as here (although maybe > someone here will tell me that 2.2 and 3.0 will be fine), but perhaps > SpamBayes 1.2 (2.0?) could require 2.4 or 2.5? I can't talk about 2.2, but my experience with Django suggests that support 2.3..3.0 is feasible. It's a

Re: [Python-3000] u'text' as an alias for 'text'?

2008-03-23 Thread Martin v. Löwis
Lennart Regebro wrote: > On Thu, Mar 20, 2008 at 11:02 PM, Mike Meyer <[EMAIL PROTECTED]> wrote: >> Fair enough. But doesn't 2.5->2.6 present the same problem? After all, >> you can't start using 2.6 features until everyone is using it, right? > > No, but you can start using 2.6 before everyone

Re: [Python-3000] u'text' as an alias for 'text'?

2008-03-23 Thread Lennart Regebro
On Thu, Mar 20, 2008 at 11:02 PM, Mike Meyer <[EMAIL PROTECTED]> wrote: > Fair enough. But doesn't 2.5->2.6 present the same problem? After all, > you can't start using 2.6 features until everyone is using it, right? No, but you can start using 2.6 before everyone is using it, since 2.6 is backw

Re: [Python-3000] Strategy for porting to 3.0?

2008-03-23 Thread skip
(Diverting from python-3000 to spambayes-dev.) Skip> After the next SpamBayes release I plan to branch the code and Skip> work on porting it to Python 3.0, mostly as an experiment in Skip> porting code from Python 2.x to 3.x whose results I can feed back Skip> to the larger Python

Re: [Python-3000] Strategy for porting to 3.0?

2008-03-23 Thread Nick Coghlan
Tony Meyer wrote: > Hi Skip! > > [Skip] >>> After the next SpamBayes release I plan to branch the code and work on >>> porting it to Python 3.0, mostly as an experiment in porting code from >>> Python 2.x to 3.x whose results I can feed back to the larger Python >>> community. > > Cool :) > >>>

Re: [Python-3000] u'text' as an alias for 'text'?

2008-03-23 Thread Mike Meyer
On Thu, 20 Mar 2008 20:51:04 +0100 "Lennart Regebro" <[EMAIL PROTECTED]> wrote: > In many other cases, this is not how code is developed. Both within > larger organisations and within large communities like Zope and Plone > (and I suspect the same is true for communities such as Turbogears and > Dj

Re: [Python-3000] Strategy for porting to 3.0?

2008-03-23 Thread Tony Meyer
Hi Skip! [Skip] >> After the next SpamBayes release I plan to branch the code and work on >> porting it to Python 3.0, mostly as an experiment in porting code from >> Python 2.x to 3.x whose results I can feed back to the larger Python >> community. Cool :) >> I'm curious about how best to appro

Re: [Python-3000] [Python-Dev] Python source code on Bazaar vcs

2008-03-23 Thread Jonathan Lange
On Sat, Mar 22, 2008 at 8:28 AM, Paul Moore <[EMAIL PROTECTED]> wrote: > Basically, can some Bazaar expert offer a suggestion as to how a > non-developer with read-only access would best use the Bazaar > repositories to maintain a number of patches to be posted to the > tracker? > Here's what

Re: [Python-3000] [Python-Dev] Python source code on Bazaar vcs

2008-03-23 Thread Jeroen Ruigrok van der Werven
(To provide counterweight.) -On [20080320 20:44], Barry Warsaw ([EMAIL PROTECTED]) wrote: >We have not made a decision to move to Bazaar officially, nor have we made >a decision to even move off of Subversion. Good, because between this now and pytz the other 63 projects I follow use Subversion o