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:
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 module
display_top
Changes by Jeong-Min Lee false...@gmail.com:
--
title: tracemalloc example - tracemalloc example - Pretty Top
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20814
Changes by Jeong-Min Lee false...@gmail.com:
--
nosy: +Jeong-Min.Lee
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18851
___
___
Python-bugs-list
Changes by Jeong-Min Lee false...@gmail.com:
--
nosy: +falsetru
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10169
___
___
Python-bugs-list
Jeong-Min Lee false...@gmail.com 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 stdin, line 1, in module
File stdin, line 2, in g
ZeroDivisionError: integer
New submission from Jeong-Min Lee false...@gmail.com:
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())
Traceback (most recent call last):
File stdin, line
Changes by Jeong-Min Lee false...@gmail.com:
--
versions: +Python 3.2 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11944
Changes by Jeong-Min Lee false...@gmail.com:
--
nosy: +falsetru
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1195
___
___
Python-bugs-list
New submission from Jeong-Min Lee false...@gmail.com:
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(2010))
generator
Changes by Jeong-Min Lee false...@gmail.com:
--
nosy: +falsetru
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5879
___
___
Python-bugs-list
Changes by Jeong-Min Lee false...@gmail.com:
--
nosy: +falsetru
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6902
___
___
Python-bugs-list
New submission from Jeong-Min Lee false...@gmail.com:
In Python 2.6,
'{0:030}'.format(1)
'10'
'{0:-30}'.format(1)
'1-'
In Python 2.7a / 3.1,
'{0:030}'.format(1)
'01'
'{0:-30}'.format(1)
'1
New submission from Jeong-Min Lee false...@gmail.com:
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, '')
'2009-06-20 23:51:54.243428'
d
Jeong-Min Lee false...@gmail.com 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 rep...@bugs.python.org
http://bugs.python.org/issue6316
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 to lists:
len(a)
0
-
http://docs.python.org/tut
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
Jeong-Min Lee added the comment:
I found this while 2to3ing BeautifulSoup.py.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1107
__
___
Python-bugs-list mailing list
19 matches
Mail list logo