[issue11396] add format handler to bytes object

2011-03-04 Thread nestor
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

[issue11396] add format handler to bytes object

2011-03-04 Thread nestor
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

[issue10973] OS X 10.6 IDLE, tkinter: Cocoa Tk 8.5 crash when composite character typed in text field

2011-01-23 Thread Nestor Aguilera
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

[issue10974] IDLE 3.2 not loading on double-click in Finder, OSX 10.6

2011-01-23 Thread Nestor Aguilera
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

[issue10974] IDLE 3.2 not loading on double-click in Finder, OSX 10.6

2011-01-22 Thread Nestor Aguilera
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

[issue10973] OS X 10.6 IDLE, tkinter: Cocoa Tk 8.5 crash when composite character typed in text field

2011-01-22 Thread Nestor Aguilera
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

[issue10973] 'ñ' not working with IDLE 3.2rc1 - OSX 10.6.6

2011-01-21 Thread Nestor Aguilera
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

[issue10973] 'ñ' not working with IDLE 3.2rc1 - OSX 10.6.6

2011-01-21 Thread Nestor Aguilera
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

[issue10974] IDLE 3.2 not loading on double-click in Finder, OSX 10.6

2011-01-21 Thread Nestor Aguilera
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

[issue10973] 'ñ' not working with IDLE 3.2rc1 - OSX 10.6.6

2011-01-21 Thread Nestor Aguilera
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

[issue10973] 'ñ' not working with IDLE 3.2rc1 - OSX 10.6.6

2011-01-21 Thread Nestor Aguilera
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

[issue10299] Add index with links section for built-in functions

2010-11-03 Thread nestor
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

[issue10091] ast.literal_eval does not handled new set literals

2010-10-18 Thread nestor
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

[issue10091] ast.literal_eval does not handled new set literals

2010-10-13 Thread nestor
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

[issue6236] os.popen causes illegal seek on AIX in Python 3.1rc

2009-09-22 Thread nestor
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

[issue6236] os.popen causes illegal seek on AIX in Python 3.1rc

2009-07-28 Thread nestor
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

[issue6236] os.popen causes illegal seek on AIX in Python 3.1rc

2009-07-21 Thread nestor
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

[issue6348] solaris/aix: Py_Initialize: can't initialize sys standard streams

2009-07-09 Thread nestor
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

[issue6236] os.popen causes illegal seek on AIX in Python 3.1rc

2009-06-24 Thread nestor
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

[issue6236] os.popen causes illegal seek on AIX in Python 3.1rc

2009-06-08 Thread nestor
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

[issue6236] os.popen causes illegal seek on AIX in Python 3.1rc

2009-06-07 Thread nestor
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