Wrapper for bytes type?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Wrapper for bytes type?

Andreas Klöckner-3
Hi there,

Since boost.python provides a wrapper for str, it should likely also
provide bytes if it's on Python version 3 and newer.

Andreas


_______________________________________________
Cplusplus-sig mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/cplusplus-sig

attachment0 (195 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Wrapper for bytes type?

Austin Bingham
boost.python should definitely have things like that. Until then, you
might check out ackward:

  http://code.google.com/p/ackward/

The ackward::core library has wrappers for bytes and bytearray (among
other things.)

Austin

On Sun, Jun 26, 2011 at 6:37 PM, Andreas Kloeckner
<[hidden email]> wrote:

> Hi there,
>
> Since boost.python provides a wrapper for str, it should likely also
> provide bytes if it's on Python version 3 and newer.
>
> Andreas
>
>
> _______________________________________________
> Cplusplus-sig mailing list
> [hidden email]
> http://mail.python.org/mailman/listinfo/cplusplus-sig
>
_______________________________________________
Cplusplus-sig mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/cplusplus-sig
Reply | Threaded
Open this post in threaded view
|

Re: Wrapper for bytes type?

Stefan Seefeld-2
In reply to this post by Andreas Klöckner-3
Hi Andreas,

On 2011-06-26 12:37, Andreas Kloeckner wrote:
> Hi there,
>
> Since boost.python provides a wrapper for str, it should likely also
> provide bytes if it's on Python version 3 and newer.

Definitely, good idea. Can you please file an enhancement request on
https://svn.boost.org/trac/boost/ for this ?

Thanks,
         Stefan

--

       ...ich hab' noch einen Koffer in Berlin...

_______________________________________________
Cplusplus-sig mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/cplusplus-sig