Travis E. Oliphant wrote:
> The problem is to keep the array typecodes somewhat consistent with the
> typecodes in PEP 3118 which will be in the struct module.
> How about making 'U' be the typecode that translates to 'u' or 'w'
> depending on the platform and supporting both 'u' and 'w' on all
>
Christian Heimes wrote:
> Yesterday I found a design problem in the array module. Travis Oliphant
> added a new typecode 'w' to the array module. 'w' is a wide unicode type
> that is guaranteed to be at least 4 bytes long. The 'u' typecode may be
> 2 bytes long.
>
> Unfortunately his change removed
Yesterday I found a design problem in the array module. Travis Oliphant
added a new typecode 'w' to the array module. 'w' is a wide unicode type
that is guaranteed to be at least 4 bytes long. The 'u' typecode may be
2 bytes long.
Unfortunately his change removed 'u' as a possible typecode which m
I was reading PEP 3105 -- Make print a function and in the section
"Backwards Compatibility" found the following statement:
"The changes proposed in this PEP will render most of today's print
statements invalid, only those which incidentally feature parentheses
around all of their arguments will co
Good point. I added a few examples to the PEP.
--Guido
On 10/12/07, James Thiele <[EMAIL PROTECTED]> wrote:
> I was reading PEP 3105 -- Make print a function and in the section
> "Backwards Compatibility" found the following statement:
> "The changes proposed in this PEP will render most of today
Christian Heimes wrote:
> Travis E. Oliphant wrote:
>> The problem is to keep the array typecodes somewhat consistent with the
>> typecodes in PEP 3118 which will be in the struct module.
>> How about making 'U' be the typecode that translates to 'u' or 'w'
>> depending on the platform and support
> - add missing methods to PyBytes (for list, see the PEP and compare to
> > what's already there)
> >
>
As I work on these.. Should the mutable PyBytes_ (buffer) objects implement
the following methods inplace and return an additional reference to self?
.capitalize(), .center(), .expandtabs(), .
On 10/12/07, Gregory P. Smith <[EMAIL PROTECTED]> wrote:
> > > - add missing methods to PyBytes (for list, see the PEP and compare to
> > > what's already there)
>
> As I work on these.. Should the mutable PyBytes_ (buffer) objects implement
> the following methods inplace and return an additional