Change by Jeong-Min Lee :
--
nosy: +falsetru
___
Python tracker
<https://bugs.python.org/issue38947>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jeong-Min Lee :
--
nosy: +falsetru
___
Python tracker
<https://bugs.python.org/issue38529>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jeong-Min Lee :
--
title: tracemalloc example -> tracemalloc example - Pretty Top
___
Python tracker
<http://bugs.python.org/issue20814>
___
___
Py
New submission from Jeong-Min Lee:
Running the Pretty top example
(http://docs.python.org/dev/library/tracemalloc.html#pretty-top) in the
tracemalloc module documentation causes a ValueError.
Traceback (most recent call last):
File "t.py", line 32, in
display_to
Changes by Jeong-Min Lee :
--
nosy: +Jeong-Min.Lee
___
Python tracker
<http://bugs.python.org/issue18851>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jeong-Min Lee :
--
nosy: +falsetru
___
Python tracker
<http://bugs.python.org/issue10169>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jeong-Min Lee added the comment:
Some exceptions are reported correctly.
>>> def g():
... 1 / 0
... yield 1, 2
... yield 3, 4
...
>>> zip(*g())
Traceback (most recent call last):
File "", line 1, in
File "", line 2, in g
ZeroDivisionErr
Changes by Jeong-Min Lee :
--
versions: +Python 3.2 -Python 3.3
___
Python tracker
<http://bugs.python.org/issue11944>
___
___
Python-bugs-list mailing list
Unsub
New submission from Jeong-Min Lee :
Expected "TypeError: cannot concatenate 'str' and 'int' objects" exception
raised, but got following result.
>>> def g():
... '1' + 0
... yield 1, 2
... yield 3, 4
...
>>> zip(*g()
Changes by Jeong-Min Lee :
--
nosy: +falsetru
___
Python tracker
<http://bugs.python.org/issue1195>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jeong-Min Lee :
According to the documentation, itertools.product is equivalent to nested
for-loops in a generator expression.
But, itertools.product(itertools.count(2010)) is not.
>>> import itertools
>>> (year for year in itertools.count(201
Changes by Jeong-Min Lee :
--
nosy: +falsetru
___
Python tracker
<http://bugs.python.org/issue5879>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jeong-Min Lee :
--
nosy: +falsetru
___
Python tracker
<http://bugs.python.org/issue6902>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jeong-Min Lee :
In Python 2.6,
>>> '{0:0<30}'.format(1)
'10'
>>> '{0:-<30}'.format(1)
'1-'
In Python 2.7a / 3.1,
>>> '{0
Jeong-Min Lee added the comment:
I got it.
By the way, It would be good to document that this behaviour (at least
about datetime.__format__)
--
___
Python tracker
<http://bugs.python.org/issue6
New submission from Jeong-Min Lee :
format(datetime_obj, format_string) return format_string. (when
format_string is not empty.)
>>> import datetime
>>> d = datetime.datetime.now()
>>> format(d)
'2009-06-20 23:51:54.243428'
>>> format(d, '
New submission from Jeong-Min Lee:
In the middle of "3.1.4 Lists", it reads as follow
-
>>> a
[]
The built-in function len() also applies to lists:
>>> len(a)
8
-
but it should be ..
-
>>> a
[]
The built-in function len() also applies
Jeong-Min Lee added the comment:
I found this while 2to3ing BeautifulSoup.py.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1107>
__
___
Python-bugs-list
New submission from Jeong-Min Lee:
lambda (x): x
should be transformed to
lambda x: x
not
lambda x1: x1[0]
--
components: Demos and Tools
files: 2to3_lambda_nontuple_param.diff
messages: 55654
nosy: falsetru, gvanrossum
severity: normal
status: open
title: [patch] 2to3, lambda with
19 matches
Mail list logo