A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-August/081790.html below:

[Python-Dev] Any PEP about 2.6 -> 3000 code transition?

[Python-Dev] Any PEP about 2.6 -> 3000 code transition?Victor Stinner victor.stinner at haypocalc.com
Wed Aug 13 16:46:32 CEST 2008
Le Wednesday 13 August 2008 15:27:42 Hrvoje Nikšić, vous avez écrit :
> Given that ctypes doesn't work on a number of popular architectures,
> including x86_64 (the last time I looked), I'd hardly call that "better
> off".  :-(

I wrote a debugger based on ptrace using ctypes:
   http://fusil.hachoir.org/trac/wiki/python-ptrace

The debugger works well on:
 - Ubuntu Gutsy, i386
 - Debian Etch, x86_64 <= yes, it works well
 - Debian Etch, ppc32
 - FreeBSD 6.2 and 7.0, i386 <= yes, ctypes runs fine on FreeBSD too

(so Python 2.4 with ctypes the external ctypes module and Python 2.5 with 
included ctypes)

I have no other computer to test other CPUs :)

ctypes allows to write code working on CPython 2.4, 2.5, 2.6 and 3.0 (with 
2to3), but also on PyPy! Jython plans also to support ctypes.

So, please, retry ctypes ;-)

-- 
Victor Stinner aka haypo
http://www.haypocalc.com/blog/
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4