From tk446 at snu.edu.in Wed Oct 1 12:55:16 2014 From: tk446 at snu.edu.in (Tarun Kumar) Date: Wed, 01 Oct 2014 10:55:16 -0000 Subject: [Python-porting] Python for RTOS Message-ID: Hello all Greetings from my side. I am working with ARM 9 + embOS(RTOS) + Emfile(file system) and I need a Python interpreter over it. can you guys help me with name of the Python interpreter. For example I was wondering whether PyMite will work with my board or not. I can find all compatibility issues online but unable to find suitability of embOS(RTOS by segger) with python interpreter. Thanks and regards -- -Tarun Kumar Shiv Nadar University ---------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From doug.eckert at dowjones.com Wed Oct 15 22:04:19 2014 From: doug.eckert at dowjones.com (Eckert, Doug) Date: Wed, 15 Oct 2014 16:04:19 -0400 Subject: [Python-porting] Porting to AIX 6.1 Message-ID: Greetings. I'm trying to get Python v3.4.2 built on AIX 6.1, but am running into some issues. At link time I get a slew of: ld: 0711-596 SEVERE ERROR: Object Python/ceval.o An RLD for section 2 (.data) refers to symbol 0, but the storage class of the symbol is not C_EXT or C_HIDEXT. followed by: make: The error code from the last command is 12. Has anyone successfully built 3.4.2 for AIX? In their Linux Toolbox for AIX, IBM only provides RPMs for <=2.6.2 and 2.7.5. I need something a little more current. Here's my environment OS level = 6100-09-03-1415 Compiler = IBM XL C/C++ for AIX, V12.1 (5765-J02, 5725-C72) Version: 12.01.0000.0000 LD = ld: LD 1.65.6.5 (3/24/14) Fileset which provides 'ld' bos.rte.bind_cmds 6.1.9.15 COMMITTED Binder and Loader Commands ./configure --prefix=/opt/freeware/python --enable-shared --disable-ipv6 \ --with-libs='-lbsd -lXext' --without-gcc \ --libdir=/usr/lib64 Any hints/tips would be appreciated! -- *Doug Eckert* *Technical Architect* *Global Business Technology* *Dow Jones* | *A News Corporation Company* P.O. Box 300 | Princeton NJ 08543-0300 (W) 609.520.4993 (C) 732.666.3681 *Email: **doug.eckert at dowjones.com* -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicksjacobson at yahoo.com Wed Oct 22 02:36:16 2014 From: nicksjacobson at yahoo.com (Nick Jacobson) Date: Tue, 21 Oct 2014 17:36:16 -0700 Subject: [Python-porting] documentation bug Message-ID: <1413938176.65374.YahooMailNeo@web163005.mail.bf1.yahoo.com> At http://python-future.org/compatible_idioms.html#iterating-through-dict-keys-values-items It states: # Python 2 and 3: option 2 from builtins import iteritems but should be: # Python 2 and 3: option 2 from future.utilsimportiteritems ...and in fact, help(iteritems) returns: iteritems(obj, **kwargs) Use this only if compatibility with Python versions before 2.7 is required. Otherwise, prefer viewitems(). So perhaps it should be: # Python 2.7+ and 3: option 2 from future.utilsimportviewitems and the example updated to reflect this. The above applies to itervalues as well. Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From fuhrysteve at gmail.com Wed Oct 22 20:09:03 2014 From: fuhrysteve at gmail.com (Stephen Fuhry) Date: Wed, 22 Oct 2014 14:09:03 -0400 Subject: [Python-porting] subscribe Message-ID: -------------- next part -------------- An HTML attachment was scrubbed... URL: From rdmurray at bitdance.com Tue Oct 28 14:23:56 2014 From: rdmurray at bitdance.com (R. David Murray) Date: Tue, 28 Oct 2014 09:23:56 -0400 Subject: [Python-porting] Porting to AIX 6.1 In-Reply-To: References: Message-ID: <20141028132357.7707C250E19@webabinitio.net> On Wed, 15 Oct 2014 16:04:19 -0400, "Eckert, Doug" wrote: > I'm trying to get Python v3.4.2 built on AIX 6.1, but am running into some > issues. At link time I get a slew of: We (CPython) have accepted patches in the past for AIX support when we had someone actively testing things (and trying to set up a buildbot). I haven't seen that person around for a while and there is no buildbot, so it is entirely possible there's been some bitrot in the support :(. If you can figure out what's going on you can submit a patch, or you could come to #python-dev on freenode and see if anyone can help you figure it out. --David From brett at python.org Tue Oct 28 14:37:52 2014 From: brett at python.org (Brett Cannon) Date: Tue, 28 Oct 2014 13:37:52 +0000 Subject: [Python-porting] Python for RTOS References: Message-ID: This mailing list is actually for porting between Python 2 and Python 3, not porting CPython to other platforms. On Tue Oct 28 2014 at 8:56:08 AM Tarun Kumar wrote: > Hello all > Greetings from my side. > I am working with ARM 9 + embOS(RTOS) + Emfile(file system) and I need a > Python interpreter over it. can you guys help me with name of the Python > interpreter. For example I was wondering whether PyMite will work with my > board or not. I can find all compatibility issues online but unable to find > suitability of embOS(RTOS by segger) with python interpreter. > > > > Thanks and regards > > -- > > -Tarun Kumar > Shiv Nadar University > ---------------------------------------- > > _______________________________________________ > Python-porting mailing list > Python-porting at python.org > https://mail.python.org/mailman/listinfo/python-porting > -------------- next part -------------- An HTML attachment was scrubbed... URL: From regebro at gmail.com Tue Oct 28 17:30:21 2014 From: regebro at gmail.com (Lennart Regebro) Date: Tue, 28 Oct 2014 17:30:21 +0100 Subject: [Python-porting] documentation bug In-Reply-To: <1413938176.65374.YahooMailNeo@web163005.mail.bf1.yahoo.com> References: <1413938176.65374.YahooMailNeo@web163005.mail.bf1.yahoo.com> Message-ID: Bugs for the future library should be reported here: https://github.com/PythonCharmers/python-future/issues I could do it, but it would look like I found the issue, it's better if you do it directly. On Wed, Oct 22, 2014 at 2:36 AM, Nick Jacobson < nicksjacobson at yahoo.com.dmarc.invalid> wrote: > At > http://python-future.org/compatible_idioms.html#iterating-through-dict-keys-values-items > > It states: > > # Python 2 and 3: option 2from builtins import iteritems > > > but should be: > > # Python 2 and 3: option 2from future.utils import iteritems > > > ...and in fact, help(iteritems) returns: > > iteritems(obj, **kwargs) > Use this only if compatibility with Python versions before 2.7 is > required. Otherwise, prefer viewitems(). > > So perhaps it should be: > > # Python 2.7+ and 3: option > 2from future.utils import viewitems > > > and the example updated to reflect this. > > The above applies to itervalues as well. > > Nick > > > _______________________________________________ > Python-porting mailing list > Python-porting at python.org > https://mail.python.org/mailman/listinfo/python-porting > > -------------- next part -------------- An HTML attachment was scrubbed... URL: