Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'context': 0.05; 'builtin': 0.07; 'developer.': 0.07; 'subject:editor': 0.07; 'executes': 0.09; 'subject:Writing': 0.09; 'python': 0.11; 'subject:python': 0.14; 'suggest': 0.15; "'cause": 0.16; 'builtins.': 0.16; 'docstring': 0.16; 'instantiate': 0.16; 'readers,': 0.16; 'all,': 0.20; 'background.': 0.20; 'class,': 0.22; 'parsing': 0.22; 'variables.': 0.22; 'module': 0.23; 'header:User-Agent:1': 0.26; 'tired': 0.27; "doesn't": 0.28; 'charset:iso-8859-15': 0.29; "i'm": 0.29; 'function:': 0.29; 'inspect': 0.29; 'italy.': 0.29; 'source': 0.31; "i'd": 0.31; 'option': 0.31; 'code': 0.31; 'run': 0.32; "can't": 0.32; 'screen': 0.32; 'problem': 0.33; 'accessible': 0.33; 'editor': 0.34; 'me?': 0.34; 'thanks!': 0.34; 'running': 0.34; 'received:google.com': 0.34; 'message- id:@gmail.com': 0.35; 'to:addr:python-list': 0.35; 'displays': 0.35; 'but': 0.36; 'there': 0.36; 'so,': 0.37; 'list.': 0.37; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'press': 0.61; 'receive': 0.71; 'locals': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:message-id:date:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=/LAaZ2GVotKeYRmHpw87Sn3b1EHrvmyMvv/424DAbjs=; b=c4P7LJGQLdLwhAMmTKfqH3JG3twwPIDhFP9NIY3pMhmjJBasgZyWJ5/xWqsFcfOTBp E0Tr5fwrFlF55FalqsEygSai0pnh9h1IeSbmxrAMXWLc29AQR5PAG4T0MnJRDiAdCX7K F/CCqEKrCu5f2QwuFW1AtHzr2EL0YaAuPJsCPxKl0whcF9RY7bGC5WY/Eqf+77I1zvIB K7a3iYxzsasJ0W8YIyzF+wwguFnEZ6RPhSJHAwv+Fexqh7IzgqZxUXmOUazUjXP/HHS6 gT9OW4Jf4zlPXDdylFd5YoqZXfH+qAsAPrZQuTss2AyqP5RyYsVlzjqamG+yLgdbJ+Xx AQhw== X-Received: by 10.194.200.73 with SMTP id jq9mr36471507wjc.52.1436090166462; Sun, 05 Jul 2015 02:56:06 -0700 (PDT) From: germano carella X-Google-Original-From: germano carella Date: Sun, 05 Jul 2015 11:55:52 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: python-list@python.org Subject: Writing a python editor for blind developers Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 06 Jul 2015 10:19:17 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1436170759 news.xs4all.nl 2866 [2001:888:2000:d::a6]:55875 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93517 Hi to all, I'm new of this list. I'm Germano from Italy. I'm 39 and I'm a blind developer. I'm writing a python editor accessible to screen readers, with autocompletion support. So, when I write something, a context menu displays all option I can use. To do this, I'm using inspect module and pkgutil, and parsing docstring of builtin functions 'cause inspect.getargspec doesn't work with builtins. Now, when I instantiate a class, for example, I'd like to receive option on methods when I write name. ... I tired to use code.InteractiveConsole running in background. In this way, I can run source code every time I press enter and code.InteractiveConsole executes it in background. The problem is when I'm writing a function: InteractiveConsole executes it, but doesn't update her locals since I finish to write the function; so I can't retrieve local variables. There is an other way can you suggest me? Thanks! Germano