[issue1023290] Conversion of longs to bytes and vice-versa.

Mark Dickinson report at bugs.python.org
Sat Feb 13 13:18:39 CET 2010

Mark Dickinson <dickinsm at gmail.com> added the comment:

A couple of questions for the backport:

(1) should the 'signed' parameter remain keyword-only in 2.7?  I'd say yes, to avoid issues when forward-porting code from 2.7 to 3.2.  On the other hand, 2.7 doesn't support keyword-only arguments at the Python level, so a keyword-only argument might be a bit of a surprise to users.

(2) When specifying the byteorder, is there a need to allow u'big' and u'little' as well as 'big' and 'little'?

priority: low -> high

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list