[Python-checkins] r63679 - python/trunk/Misc/NEWS

M.-A. Lemburg mal at egenix.com
Mon May 26 15:29:15 CEST 2008


On 2008-05-26 15:15, christian.heimes wrote:
> Author: christian.heimes
> Date: Mon May 26 15:15:11 2008
> New Revision: 63679
> 
> Log:
> Updated NEWS
> 
> Modified:
>    python/trunk/Misc/NEWS
> 
> Modified: python/trunk/Misc/NEWS
> ==============================================================================
> --- python/trunk/Misc/NEWS	(original)
> +++ python/trunk/Misc/NEWS	Mon May 26 15:15:11 2008
> @@ -233,6 +233,15 @@
>  
>  - ``Lib/lib-old`` is now added to sys.path.
>  
> +C API
> +-----
> +
> +- The PyBytes functions have been renamed to PyByteArray
> +
> +- The PyString functions have been renamed to PyBytes. A batch of
> +  defines were added so that the linker still sees the original
> +  PyString names.
> +

A C preprocessor #define isn't enough for this.

You actually have to provide a C function wrapper in order to
have both the PyBytes and PyString APIs in C.

Newly compiled code should be directed to use the new names
using preprocessor #defines, since those functions are performance
critical.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, May 26 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            41 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


More information about the Python-checkins mailing list