Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31328
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.straub-nv.de!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'mrab': 0.05; 'python': 0.09; 'facts': 0.09; 'prevents': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:python': 0.11; 'extension': 0.13; ':-)': 0.13; '6502': 0.16; 'mapped': 0.16; 'peek': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'roy': 0.16; 'simplest': 0.16; 'somewhere.': 0.16; 'subject:Feedback': 0.16; 'wrote:': 0.17; 'byte': 0.17; '>>>': 0.18; 'memory': 0.18; '(or': 0.18; 'meant': 0.21; 'either.': 0.22; 'example': 0.23; 'device': 0.24; 'header :In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'embedded': 0.27; "doesn't": 0.28; 'header:X-Complaints-To:1': 0.28; 'run': 0.28; '>>>>': 0.29; "d'aprano": 0.29; 'i/o': 0.29; 'steven': 0.29; 'usually': 0.30; 'bus': 0.30; 'basic': 0.30; 'implement': 0.32; 'generally': 0.32; 'received:84': 0.32; "aren't": 0.33; 'to:addr:python-list': 0.33; 'doing': 0.35; 'similar': 0.35; 'received:org': 0.36; 'but': 0.36; 'depends': 0.36; 'too': 0.36; 'subject:: ': 0.38; 'some': 0.38; 'talk': 0.38; 'to:addr:python.org': 0.39; 'space': 0.39; 'header:Received:5': 0.40; 'think': 0.40; 'john': 0.60; 'back': 0.62; 'our': 0.65; 'subject': 0.66; 'enjoy': 0.67; 'direct': 0.69; 'smith': 0.71; 'article': 0.78; '"too': 0.84; 'cpu.': 0.84; 'devices.': 0.84; 'kennedy': 0.84; 'angel': 0.93; 'comfort': 0.97 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Roel Schroeven <roel@roelschroeven.net> |
| Subject | Re: Feedback on my python framework I'm building. |
| Date | Mon, 15 Oct 2012 19:29:56 +0200 |
| References | <634c9dca-e64d-40c6-b9d5-cf04a86a220a@googlegroups.com> <mailman.2116.1350137553.27098.python-list@python.org> <4c7a82ca-de0c-4b8b-a128-9ecd1b4c8b31@googlegroups.com> <mailman.2124.1350146902.27098.python-list@python.org> <5f18f5d1-1442-4a10-922c-783dc6ddf657@googlegroups.com> <mailman.2132.1350153223.27098.python-list@python.org> <507a3365$0$6574$c3e8da3$5496439d@news.astraweb.com> <roy-275D3A.08482414102012@news.panix.com> <507B3EEB.1000801@davea.name> <507B4D8A.6050903@mrabarnett.plus.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | d54c6d210.access.telenet.be |
| User-Agent | Thunderbird 2.0.0.24 (Windows/20100228) |
| In-Reply-To | <507B4D8A.6050903@mrabarnett.plus.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2225.1350322212.27098.python-list@python.org> (permalink) |
| Lines | 39 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1350322212 news.xs4all.nl 6919 [2001:888:2000:d::a6]:43229 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:31328 |
Show key headers only | View raw
MRAB schreef:
> On 2012-10-14 23:38, Dave Angel wrote:
>> On 10/14/2012 08:48 AM, Roy Smith wrote:
>>> In article <507a3365$0$6574$c3e8da3$5496439d@news.astraweb.com>,
>>> Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote:
>>>
>>>> Remember using PEEK and POKE commands with BASIC back in
>>>> 1978? Pretty much impossible in Python.
>>> But, trivial to implement as an extension :-)
>> PEEK and POKE were intended to be used with memory mapped devices.
>> Simplest example is the 6502 chip, which had no I/O bus -- it was all
>> memory mapped. Want to change baud rate? poke a byte somewhere.
>>
>> These days, the only device I can think of that's usually memory mapped
>> is the video. And few programs talk to it that way.
>>
>> Now, INP and OUT (or various similar names) were for doing port I/o.
>> But I suspect that modern systems aren't going to let you do much of
>> that either.
>>
> It depends on the CPU. Some have specialised instructions for I/O,
> others don't.
I think Roy Smith meant that the OS on modern systems generally prevents
direct access from user space to either memory mapped I/O or port mapped
I/O. Embedded systems might allow direct access, but AFAIK Python
doesn't run on those.
Best regards,
Roel
--
"Too often we hold fast to the cliches of our forebears. We subject all
facts to a prefabricated set of interpretations. Too often we enjoy the
comfort of opinion without the discomfort of thought."
-- John F Kennedy
roel@roelschroeven.net
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Feedback on my python framework I'm building. nbvfour@gmail.com - 2012-10-12 21:49 -0700
Re: Feedback on my python framework I'm building. Etienne Robillard <animelovin@gmail.com> - 2012-10-13 04:18 -0400
Re: Feedback on my python framework I'm building. Chris Angelico <rosuav@gmail.com> - 2012-10-14 01:12 +1100
Re: Feedback on my python framework I'm building. nbvfour@gmail.com - 2012-10-13 08:57 -0700
Re: Feedback on my python framework I'm building. Etienne Robillard <animelovin@gmail.com> - 2012-10-13 12:10 -0400
Re: Feedback on my python framework I'm building. Chris Angelico <rosuav@gmail.com> - 2012-10-14 03:48 +1100
Re: Feedback on my python framework I'm building. nbvfour@gmail.com - 2012-10-13 11:18 -0700
Re: Feedback on my python framework I'm building. Chris Angelico <rosuav@gmail.com> - 2012-10-14 05:33 +1100
Re: Feedback on my python framework I'm building. nbvfour@gmail.com - 2012-10-13 15:24 -0700
Re: Feedback on my python framework I'm building. Chris Angelico <rosuav@gmail.com> - 2012-10-14 10:06 +1100
Re: Feedback on my python framework I'm building. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-10-14 02:25 +0000
Re: one obvious parser (was "Feedback on my python framework I'm building.") Tim Chase <python.list@tim.thechases.com> - 2012-10-13 21:53 -0500
Re: Feedback on my python framework I'm building. MRAB <python@mrabarnett.plus.com> - 2012-10-14 03:58 +0100
Re: Feedback on my python framework I'm building. nbvfour@gmail.com - 2012-10-13 15:24 -0700
Re: Feedback on my python framework I'm building. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-10-14 03:37 +0000
Re: Feedback on my python framework I'm building. Chris Angelico <rosuav@gmail.com> - 2012-10-14 15:20 +1100
Re: Feedback on my python framework I'm building. Roy Smith <roy@panix.com> - 2012-10-14 08:48 -0400
Re: Feedback on my python framework I'm building. Dave Angel <d@davea.name> - 2012-10-14 18:38 -0400
Re: Feedback on my python framework I'm building. MRAB <python@mrabarnett.plus.com> - 2012-10-15 00:40 +0100
Re: Feedback on my python framework I'm building. Roel Schroeven <roel@roelschroeven.net> - 2012-10-15 19:29 +0200
Re: Feedback on my python framework I'm building. nbvfour@gmail.com - 2012-10-13 11:18 -0700
Re: Feedback on my python framework I'm building. Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2012-10-14 01:43 +0100
Re: Feedback on my python framework I'm building. nbvfour@gmail.com - 2012-10-13 08:57 -0700
Re: Feedback on my python framework I'm building. Etienne Robillard <animelovin@gmail.com> - 2012-10-13 10:44 -0400
csiph-web