[Python-Dev] Re: Python 0.9.1
Dan Stromberg
drsalists at gmail.com
Fri Feb 19 01:31:27 EST 2021
On Thu, Feb 18, 2021 at 9:39 PM David Mertz <mertz at gnosis.cx> wrote:
> As Skip pointed out to me privately, there are some minor limitations with
> this version. E.g.:
>
> % python
> >>> import glob
> >>> import sys
> >>> print 'hello'
> hello
> >>> print 2+2
> 4
> >>> print 2*2
> Unhandled exception: run-time error: integer overflow
> Stack backtrace (innermost last):
> File "<stdin>", line 1
>
Huh. I wonder what's different about my build:
$ /usr/local/cpython-0.9/bin/python
below cmd output started 2021 Thu Feb 18 10:24:00 PM PST
>>> 2*2
4
>>> print 2*2
4
>>>
You can download a script to build it and a bunch of other python versions
at https://stromberg.dnsalias.org/~strombrg/cpythons/
It includes all the tarballs you should need, at least for Debian. I
believe I used it on CentOS recently as well. I haven't tried it on Ubuntu
in a while.
It depends on https://stromberg.dnsalias.org/~strombrg/cobble.html - and
I'd like to think that's its only external dependency.
HTH
More information about the Python-list
mailing list