[issue32137] Stack overflow in repr of deeply nested dicts

2017-12-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +4707 ___ Python tracker ___ ___

[issue19431] Document PyFrame_FastToLocals() and PyFrame_FastToLocalsWithError()

2017-12-12 Thread STINNER Victor
STINNER Victor added the comment: Serhiy: how are you supposed to modify local variables of a frame when these variables are stored in "fast locals"? Even if it's a rare useful, I think that it's ok to expose PyFrame_FastToLocalsWithError(), and maybe also

[issue19431] Document PyFrame_FastToLocals() and PyFrame_FastToLocalsWithError()

2017-12-12 Thread STINNER Victor
STINNER Victor added the comment: > If I only convert PyFrame_New() then I would need to add it to as existing > page since the patch created a new page for Frame Objects. I think the right > place would be under the current PyFrameObject in Doc/c-api/veryhigh.rst?

[issue29970] Severe open file leakage running asyncio SSL server

2017-12-12 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___

[issue31942] Document that support of start and stop parameters in the Sequence's index() is optional

2017-12-12 Thread STINNER Victor
STINNER Victor added the comment: Thanks Nitish Chandra for your doc enhancement! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue31942] Document that support of start and stop parameters in the Sequence's index() is optional

2017-12-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 78cd00b799be36a35c9f5cc99ce3bcef31112a5f by Victor Stinner (Miss Islington (bot)) in branch '3.6': bpo-31942: Document optional support of start and stop attributes in Sequence.index method (GH-4277) (#4811)

[issue32255] csv.writer converts None to '""\n' when it is first line, otherwise '\n'

2017-12-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32255] csv.writer converts None to '""\n' when it is first line, otherwise '\n'

2017-12-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset ce5a3cd9b15c9379753aefabd696bff11495cbbb by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': bpo-32255: Always quote a single empty field when write into a CSV file. (GH-4769) (#4810)

[issue32282] When using a Windows XP compatible toolset, `socketmodule.c` fails to build

2017-12-12 Thread Christian Heimes
Christian Heimes added the comment: - 3.5 receives only security updates. - XP is no longer supported. -- assignee: -> steve.dower nosy: +christian.heimes versions: -Python 3.5 ___ Python tracker

[issue18533] Avoid error from repr() of recursive dictview

2017-12-12 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-32137. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue1617161] Instance methods compare equal when their self's are equal

2017-12-12 Thread Armin Rigo
Armin Rigo added the comment: Sorry, I think it is pointless to spend efforts to keep a relatively uncontroversial and small patch up-to-date, when it was not accepted in 9 years. Someone else would need to take it up. --

[issue31942] Document that support of start and stop parameters in the Sequence's index() is optional

2017-12-12 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4706 ___ Python tracker ___

[issue31942] Document that support of start and stop parameters in the Sequence's index() is optional

2017-12-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5ce0a2a100909104836f53a2c8823006ec46f8ad by Victor Stinner (Nitish Chandra) in branch 'master': bpo-31942: Document optional support of start and stop attributes in Sequence.index method (#4277)

[issue31643] test_uuid: test_getnode and test_windll_getnode fail if connected to the Internet via an Android phone

2017-12-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: > I'm not sure that is better than a random address. I agree, getnode() when obtained from a MAC address should not return 0. RFC 4122 states (emphasis on 'uniqueness' is mine): This document specifies three algorithms to

[issue32255] csv.writer converts None to '""\n' when it is first line, otherwise '\n'

2017-12-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Licht! -- ___ Python tracker ___

[issue32255] csv.writer converts None to '""\n' when it is first line, otherwise '\n'

2017-12-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2001900b0c02a397d8cf1d776a7cc7fcb2a463e3 by Serhiy Storchaka (Licht Takeuchi) in branch 'master': bpo-32255: Always quote a single empty field when write into a CSV file. (#4769)

[issue32255] csv.writer converts None to '""\n' when it is first line, otherwise '\n'

2017-12-12 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4705 stage: needs patch -> patch review ___ Python tracker ___

[issue32226] Implement PEP 560: Core support for typing module and generic types

2017-12-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: For reference: PEP 560. -- ___ Python tracker ___

[issue31643] test_uuid: test_getnode and test_windll_getnode fail if connected to the Internet via an Android phone

2017-12-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm not sure that is better than a random address. Even if an all-zero MAC address is not explicitly prohibited it is used in a multiple independent devices. A random address looks more appropriate fore the purpose

[issue30050] Please provide a way to disable the warning printed if the signal module's wakeup fd overflows

2017-12-12 Thread STINNER Victor
STINNER Victor added the comment: > it would be extremely difficult to implement since at the point where the > error occurs, we don't have and can't take the GIL. The signal handler uses Py_AddPendingCall() which calls a C function "later", but it can be anytime,

[issue31643] test_uuid: test_getnode and test_windll_getnode fail if connected to the Internet via an Android phone

2017-12-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: On a Samsung device with Android 5.1 and tethering enabled, only one network device has a MAC address and it is not an all-zero MAC address. Ivan can you please provide more information about this problem: which device, what Android

[issue32276] there is no way to make tempfile reproducible (i.e. seed the used RNG)

2017-12-12 Thread Julien Palard
Julien Palard added the comment: Or is there any issue that would have been easier to fix with reproductible temporary file names? -- nosy: +mdk ___ Python tracker

[issue31650] implement PEP 552

2017-12-12 Thread STINNER Victor
STINNER Victor added the comment: The test failed on s390x RHEL 3.x, PPC64 Fedora 3.x, s390x SLES 3.x, s390x Debian 3.x, s390x RHEL 3.x They are now all green, good! -- ___ Python tracker

[issue30491] Add a lightweight mechanism for detecting un-awaited coroutine objects

2017-12-12 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___

[issue32276] there is no way to make tempfile reproducible (i.e. seed the used RNG)

2017-12-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm suspect this not would be wise thing to do. Have you seen any precedent for this in other languages? -- nosy: +rhettinger ___ Python tracker

[issue32286] python 2.7 cannot parse ''

2017-12-12 Thread STINNER Victor
STINNER Victor added the comment: Your file is not properly encoded to UTF-8: the Python 2 UTF-8 raises UnicodeDecodeError. Sorry but this is not a bug in Python, but a bug on your side. Please ask such question on the forum to ask Python questions like

[issue32286] python 2.7 cannot parse ''

2017-12-12 Thread wangtie
wangtie added the comment: My ENV: Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:24:40) [MSC v.1500 64 bit ( AMD64)] on win32 -- type: -> behavior ___ Python tracker

[issue32226] Implement PEP 560: Core support for typing module and generic types

2017-12-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As for __class_getitem__, why not implement type.__getitem__ instead of hacking PyObject_GetItem()? -- nosy: +serhiy.storchaka ___ Python tracker

[issue32286] python 2.7 cannot parse ''

2017-12-12 Thread wangtie
New submission from wangtie : I have a txt file,use code UTF-8,and include char ''(ASCII code?), when use f.readlines() to get a list, the program exit without any exception,then I got a list without data after line which include char ''. -- components: Unicode

<    1   2