New submission from Lie Ryan lie.1...@gmail.com:
maybe related to #6501
Vista 32-bit SP1, Python 3.1:
Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
D:\chcp 65001
Active code page: 65001
D:\python -c 'print()'
Fatal Python error
Changes by Lie Ryan lie.1...@gmail.com:
--
versions: +Python 2.7, Python 3.2 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7166
New submission from Lie Ryan lie.1...@gmail.com:
On python trunk and 3.2 IDLE, the b in b'' is not green colored.
On python 3.1 IDLE, the u in u'' is still colored, despite a SyntaxError.
(sorry, I don't have diff installed on my Windows machine)
Change on python trunk:
/Lib/idlelib
New submission from Lie Ryan lie.1...@gmail.com:
A minor typo on the man page
-W argument
...
such as inside a loop); module to print each warning *only only*
...
--
assignee: georg.brandl
components: Documentation
files: onlyonly.diff
keywords: patch
messages: 89645
nosy
Lie Ryan lie.1...@gmail.com added the comment:
Bored, I grepped the trunk for a few more stuffs that has similar
consecutive duplicate typos. The dup.diff patch corrects these typos.
Not opening a new issue since all of them are minor.
--
Added file: http://bugs.python.org/file14350
New submission from Lie Ryan lie.1...@gmail.com:
Following from http://comments.gmane.org/gmane.comp.python.tutor/55576
import subprocess
subprocess.Popen(['a', 'b', 'c', 'd'], executable='echo')
subprocess.Popen object at 0x7fdf7bb2bd50
b c d
instead of the (what I) expected result
a b c d
New submission from Lie Ryan lie.1...@gmail.com:
An itertool to Group-by-n
lst = range(15)
itertools.grouper(lst, 5)
[[0, 1, 2, 3, 4], [5, 6, 7, 8, 9], [10, 11, 12, 13, 14]]
This function is often asked in several c.l.py discussions, such as these:
http://comments.gmane.org
Lie Ryan lie.1...@gmail.com added the comment:
All implementations relying on zip or zip_longest breaks with infinite
iterable (e.g. itertools.count()).
And it is not impossible to define a clean, flexible, and familiar API
which will be similar to open()'s mode or unicode error mode. The modes
Lie Ryan lie.1...@gmail.com added the comment:
The possible new PEP 3135, however I'm not that familiar with the
implementation of the new super, thus please review whether it is right
w.r.t. reality. I'm writing only from whatever I can determine from
observing the behavior of super in python
Lie Ryan lie.1...@gmail.com added the comment:
Here is the unified diff.
--
keywords: +patch
Added file: http://bugs.python.org/file13305/pep-3135.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2312
New submission from Lie Ryan lie.1...@gmail.com:
I've been experimenting with namedtuple, it seems that string formatting
doesn't recognize namedtuple as mapping.
from collections import namedtuple
Nt = namedtuple('Nt', ['x', 'y'])
nt = Nt(12, 32)
print 'one = %(x)s, two = %(y)s' % nt
Changes by Lie Ryan lie.1...@gmail.com:
--
components: +Interpreter Core
versions: +Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5205
12 matches
Mail list logo