[issue38947] dataclass defaults behave inconsistently for init=True/init=False when default is a descriptor

2019-12-12 Thread Jeong-Min Lee
Change by Jeong-Min Lee : -- nosy: +falsetru ___ Python tracker <https://bugs.python.org/issue38947> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38529] Python 3.8 improperly warns about closing properly closed streams

2019-10-25 Thread Jeong-Min Lee
Change by Jeong-Min Lee : -- nosy: +falsetru ___ Python tracker <https://bugs.python.org/issue38529> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20814] tracemalloc example - Pretty Top

2014-03-01 Thread Jeong-Min Lee
Changes by Jeong-Min Lee : -- title: tracemalloc example -> tracemalloc example - Pretty Top ___ Python tracker <http://bugs.python.org/issue20814> ___ ___ Py

[issue20814] tracemalloc example

2014-03-01 Thread Jeong-Min Lee
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

[issue18851] subprocess's Popen closes stdout/stderr filedescriptors used in another thread when Popen errors

2013-08-28 Thread Jeong-Min Lee
Changes by Jeong-Min Lee : -- nosy: +Jeong-Min.Lee ___ Python tracker <http://bugs.python.org/issue18851> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10169] socket.sendto raises incorrect exception when passed incorrect types

2011-05-02 Thread Jeong-Min Lee
Changes by Jeong-Min Lee : -- nosy: +falsetru ___ Python tracker <http://bugs.python.org/issue10169> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11944] Function call with * and generator hide exception raised by generator.

2011-04-28 Thread Jeong-Min Lee
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

[issue11944] Function call with * and generator hide exception raised by generator.

2011-04-27 Thread Jeong-Min Lee
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

[issue11944] Function call with * and generator hide exception raised by generator.

2011-04-27 Thread Jeong-Min Lee
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()

[issue1195] Problems on Linux with Ctrl-D and Ctrl-C during raw_input

2010-11-07 Thread Jeong-Min Lee
Changes by Jeong-Min Lee : -- nosy: +falsetru ___ Python tracker <http://bugs.python.org/issue1195> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10109] itertools.product with infinite iterator cause MemoryError.

2010-10-14 Thread Jeong-Min Lee
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

[issue5879] multiprocessing - example "pool of http servers " fails on windows "socket has no attribute fromfd"

2010-01-20 Thread Jeong-Min Lee
Changes by Jeong-Min Lee : -- nosy: +falsetru ___ Python tracker <http://bugs.python.org/issue5879> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6902] Built-in types format incorrectly with 0 padding.

2009-12-13 Thread Jeong-Min Lee
Changes by Jeong-Min Lee : -- nosy: +falsetru ___ Python tracker <http://bugs.python.org/issue6902> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7483] str.format behaviour changed from Python 2.6

2009-12-11 Thread Jeong-Min Lee
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

[issue6316] format, str.format don't work well with datetime, date object

2009-06-20 Thread Jeong-Min Lee
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

[issue6316] format, str.format don't work well with datetime, date object

2009-06-20 Thread Jeong-Min Lee
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, '

[issue1411] A typo in tutorial

2007-11-08 Thread Jeong-Min Lee
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

[issue1107] [patch] 2to3, lambda with non-tuple argument inside parenthesis

2007-09-04 Thread Jeong-Min Lee
Jeong-Min Lee added the comment: I found this while 2to3ing BeautifulSoup.py. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1107> __ ___ Python-bugs-list

[issue1107] [patch] 2to3, lambda with non-tuple argument inside parenthesis

2007-09-04 Thread Jeong-Min Lee
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