nestor 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: -> duplic
New submission from nestor :
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}' '{
Nestor Aguilera 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 the encoding to utf-8 (or wh
Nestor Aguilera added the comment:
On 23 Jan 2011, at 04:33, Georg Brandl wrote:
> Georg Brandl 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 interpreter,
Nestor Aguilera 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 of the distribution
Nestor Aguilera added the comment:
Ned: thanks for the explanation.
Nestor
===
On 22 Jan 2011, at 04:50, Ned Deily wrote:
>
> Changes by Ned Deily :
>
>
> --
> Removed message: http://bugs.py
Nestor Aguilera added the comment:
On 21 Jan 2011, at 21:12, Martin v. Löwis wrote:
>
> Martin v. Löwis 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"), and seems l
Nestor Aguilera added the comment:
On 21 Jan 2011, at 20:39, Martin v. Löwis wrote:
> Martin v. Löwis 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. The problem is tha
New submission from Nestor Aguilera :
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/Resources/idlemain.p
Nestor Aguilera 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
<http://bugs.python.org/is
New submission from Nestor Aguilera :
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 setCollectionBehavior inst
New submission from nestor :
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 (like open or print
nestor 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
<http://bugs.python.
New submission from nestor :
>>> 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 (m
nestor added the comment:
Fantastic. Applied the patch and it solved the problem with xlc 8.0 on
AIX 5.3.
--
___
Python tracker
<http://bugs.python.org/issue6
nestor 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.st
nestor 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.
nestor 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
"/datawhse/test
nestor 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.ls
nestor 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 :
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')
Python
21 matches
Mail list logo