[Python-Dev] [Python-3000] Betas today - I hope (original) (raw)
Guido van Rossum guido at python.org
Wed Jun 11 19:15:04 CEST 2008
- Previous message: [Python-Dev] [Python-3000] Betas today - I hope
- Next message: [Python-Dev] [Python-3000] Betas today - I hope
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Jun 11, 2008 at 7:32 AM, M.-A. Lemburg <mal at egenix.com> 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 syntactic sugar that typically saves you only one import. I expect the argument will nearly always be a literal, e.g. data.transform('gzip') rather than a variable like data.transform(compression_method). But it is convenient and can make code more readable, e.g.
if compressed: data = data.untransform('gzip')
Nobody will have to guess what that does. (IMO the confusion about which direction the transformation goes is theoretical. except perhaps in the case of rot13. :-)
* cleanup of the PyUnicodeAsString() and PyUnicodeAsStringAndSize() C APIs (these APIs don't fit into the naming scheme used in the Unicode API and have a few other issues as well, see issue 2799; at the very least they should be made interpreter internal, ie. rename them to PyUnicodeAsString() and PyUnicodeAsStringAndSize() to prevent their use in extensions)
I'm okay with this too.
I did not have time in the last few days to work on these and won't in the next few days either. Next week looks much better.
If it's ok to make the above changes after the release (whatever you call it ;-), that would be great.
That's up to the release manager, but IMO we could have a small list of specific things that are not yet implemented in beta 1 but that we know will be in beta 2. This is IMO better than just calling it another alpha, because that keeps the floodgates for more feature change requests open for another month.
--Guido
Thanks, -- Marc-Andre Lemburg eGenix.com
Professional Python Services directly from the Source (#1, Jun 11 2008)
Python/Zope Consulting and Support ... http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
2008-07-07: EuroPython 2008, Vilnius, Lithuania 25 days to go :::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611
Python-3000 mailing list Python-3000 at python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/guido%40python.org
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] [Python-3000] Betas today - I hope
- Next message: [Python-Dev] [Python-3000] Betas today - I hope
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]