bigint <-> python long

Russel Winder russel at winder.org.uk
Mon Sep 10 22:50:55 PDT 2012


On Mon, 2012-09-10 at 15:54 -0700, Ellery Newcomer wrote:
[…]
> <OT> Bugger, I'm going to have to go through pyd and replace all usages 
> of str with unicode. </OT>

Python 2 and Python 3 are totally different in this regard. I don't have
a obvious proposal to make to avoid having PyD for Python 2 and a
different PyD for Python 3, but the six package might have some hints as
it is intended to support creating Python codebases guaranteed to run
under Python 2 and Python 3.

It is a pity the world doesn't just spontaneously switch to Python 3 so
that Python 2 is just a "we used to use that" technology."

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20120911/ea3aadd2/attachment.pgp>


More information about the Digitalmars-d-learn mailing list