[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#560088: ITP: python-portio -- low level port I/O for Linux

On Tue, 2009-12-08 at 22:37 +0000, brian m. carlson wrote:
> On Tue, Dec 08, 2009 at 08:23:15PM +0000, Dmitrijs Ledkovs wrote:
> > * Package name    : python-portio
> >   Version         : 0.4
> >   Upstream Author : Fabrizio Pollastri <f.pollastri@inrim.it>
> > * URL             : http://portio.inrim.it/
> > * License         : GPL-3+
> >   Programming Lang: Python, C
> >   Description     : low level port I/O for Linux
> > 
> > Wrapper for the port I/O macros like outb, inb and other provided by the C
> > library on Linux x86 platforms.
> Honestly, this doesn't sound like something that should be encouraged.
> inb and outb are the source of much incompatibility between
> architectures, and any package depending on this one will be (likely
> permanently) stuck to i386.

They're not really the source of much incompatibility, because people
rarely try to use them!

I have written a module like this myself for testing some new hardware.
On top of the low-level I/O, I defined classes for PCI devices and
register sets, and then wrote test cases using them.  It was a lot
easier to write those test cases in Python than it would have been in C.

> Is there something that you want to package that depends on this?

I do hope not; this should never be used in production.  But it may yet
be useful in hardware development.


Ben Hutchings
Logic doesn't apply to the real world. - Marvin Minsky

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: