On Wed, Jun 11, 2008 at 7:32 AM, M.-A. Lemburg email@example.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 PyUnicode_AsString() and PyUnicode_AsStringAndSize()
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 _PyUnicode_AsString() and _PyUnicode_AsStringAndSize() 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.
Marc-Andre Lemburg eGenix.com
Professional Python Services directly from the Source (#1, Jun 11 2008)
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 Pythonfirstname.lastname@example.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/guido%40python.org