On Thursday, September 6, 2012 2:53:15 PM UTC+1, Ramchandra Apte wrote:
On Thursday, 6 September 2012 19:16:38 UTC+5:30, Dave Angel wrote:
On 09/06/2012 09:34 AM, Ramchandra Apte wrote:
Translator means what precisely?
Examples of translators include compilers,
I'm developing a language workbench written in Python. The idea is to create an
environment where grammars and translators can interact easily.
https://github.com/nesaro/pydsl
any comments, feedback or ideas? :)
--
http://mail.python.org/mailman/listinfo/python-list
New submission from nestor nestornis...@gmail.com:
Many programs written for Python 2.x use simple string interpolation to create
byte strings with specific layout, this is gone in 3.x. Is it possible to
support the format method but maybe only supporting field names like '{}'
'{1}{2}' '{name
nestor nestornis...@gmail.com added the comment:
My search fu has failed me this time. This is indeed a duplicate of issue 3982.
I think the issue is real and not going to go away, but finding a beautiful
solution has been elusive so far.
--
resolution: - duplicate
Nestor Aguilera aguil...@santafe-conicet.gov.ar added the comment:
On 23 Jan 2011, at 04:33, Georg Brandl wrote:
Georg Brandl ge...@python.org added the comment:
I disagree. There aren't really 64-bit users on OSX, thanks to fat
binaries. So if starting IDLE would start a 32-bit
Nestor Aguilera aguil...@santafe-conicet.gov.ar added the comment:
On 22 Jan 2011, at 04:50, Ned Deily wrote:
[...]
A similar exception occurs (without a crash) when saving a file to a
non-ASCII file name and LANG is not properly set:
[...]
Is there a way of telling tkinter to set
Nestor Aguilera aguil...@santafe-conicet.gov.ar added the comment:
Ned: thanks for the explanation.
Nestor
===
On 22 Jan 2011, at 04:50, Ned Deily wrote:
Changes by Ned Deily n...@acm.org:
--
Removed message
Nestor Aguilera aguil...@santafe-conicet.gov.ar added the comment:
Thanks Ned for thinking of ways out.
- If I had a choice, I would agree with Georg's choice (Ned's option 1): most
users will not use the composite characters and need not go through
complications, or worse, cannibalization
New submission from Nestor Aguilera aguil...@santafe-conicet.gov.ar:
When trying to type 'ñ' in idle 3.2 (no problem in terminal), python quits
unexpectedly when started from terminal:
$ idle3
2011-01-21 11:21:55.883 Python[5228:a07] setCanCycle: is deprecated. Please
use
Nestor Aguilera aguil...@santafe-conicet.gov.ar added the comment:
Thanks Victor and Ned, I'll send a report on the second issue as well (I
thought it was known).
Néstor Aguilera
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
New submission from Nestor Aguilera aguil...@santafe-conicet.gov.ar:
Here is the report from Console (date/time removed):
[0x0-0x1a11a1].org.python.IDLE[5541]Traceback (most recent call last):
[0x0-0x1a11a1].org.python.IDLE[5541] File /Applications/Python
3.2/IDLE.app/Contents
Nestor Aguilera aguil...@santafe-conicet.gov.ar added the comment:
On 21 Jan 2011, at 20:39, Martin v. Löwis wrote:
Martin v. Löwis mar...@v.loewis.de added the comment:
As this clearly seems to be a Tk bug, I suggest to close this report as
won't fix - 3rd party.
I see your point
Nestor Aguilera aguil...@santafe-conicet.gov.ar added the comment:
On 21 Jan 2011, at 21:12, Martin v. Löwis wrote:
Martin v. Löwis mar...@v.loewis.de added the comment:
I see your point. The problem is that IDLE is somewhat included with
Python (so in a sense it is not 3rd party
New submission from nestor nestornis...@gmail.com:
The built-in function page
(http://docs.python.org/dev/py3k/library/functions.html) is pretty long. Each
function has an anchor but unlike the built-in types section there is no quick
way to get an overview or jump to a specific function
nestor nestornis...@gmail.com added the comment:
FYI although it breaks symmetry with eval, I am fine with this going in for
3.2. It just surprised me and I wanted to make sure it was documented here for
future reference.
--
___
Python tracker rep
New submission from nestor nestornis...@gmail.com:
import ast
eval('{1:11,2:22}')
{1: 11, 2: 22}
ast.literal_eval('{1:11,2:22}')
{1: 11, 2: 22}
eval('{1,2}')
{1, 2}
ast.literal_eval('{1,2}')
Traceback (most recent call last):
File pyshell#8, line 1, in module
ast.literal_eval('{1,2
nestor nestornis...@gmail.com added the comment:
Fantastic. Applied the patch and it solved the problem with xlc 8.0 on
AIX 5.3.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6236
nestor nestornis...@gmail.com added the comment:
Python 3.1 (r31:73572, Jul 9 2009, 16:28:28) [C] on aix5
Type help, copyright, credits or license for more information.
import sys
sys.stdout.seekable()
True
I can access the machine only through ssh
nestor nestornis...@gmail.com added the comment:
Maybe this has something to do with it?
Python 3.1 (r31:73572, Jul 9 2009, 16:28:28) [C] on aix5
Type help, copyright, credits or license for more information.
open(/dev/tty,a).seekable()
True
nestor nestornis...@gmail.com added the comment:
Maybe make test will help troubleshoot this (BTW how do I enable verbose
mode?):
test test_ascii_formatd failed -- errors occurred; run in verbose mode
for details
test_cmath
test test_cmath failed -- Traceback (most recent call last):
File
nestor nestornis...@gmail.com added the comment:
That fails consistently:
Python 2.6.2 (r262:71600, Jun 4 2009, 16:07:26) [C] on aix5
Type help, copyright, credits or license for more information.
import os
r,w=os.pipe()
os.lseek(r,0,1)
Traceback (most recent call last):
File stdin, line 1
nestor nestornis...@gmail.com added the comment:
This quick and dirty fix in pydoc.py makes so it no longer aborts help.
(less behaves somewhat strange for some commands but that is better than
no help at all)
def pipepager(text, cmd):
Page through text by feeding it to another program
New submission from nestor nestornis...@gmail.com:
Python 2.6.2 (r262:71600, Jun 4 2009, 16:07:26) [C] on aix5
Type help, copyright, credits or license for more information.
import os
os.popen('cat','w')
open file 'cat', mode 'w' at 0x1101ab4f8
Python 3.0.1 (r301:69556, Jun 4 2009, 16:07
23 matches
Mail list logo