[issue33743] test_asyncio raises a deprecation warning

2018-06-07 Thread Ned Deily
Ned Deily added the comment: Any chance we can get this fixed for 3.7.0rc1? FWIW, as of current 3.7 head (cebd4b009adca6611e92eb337747f59818e941a6), I am also seeing the following warnings (on macOS 10.13): ./bin/python3.7 -m test -w -uall,-largefile -j3 test_asyncio Run tests in parallel us

[issue33784] hash collision in instances of ipaddress.ip_network

2018-06-07 Thread Mark Dickinson
Mark Dickinson added the comment: This shouldn't be a problem: there's no rule that says that different objects should have different hashes. Indeed, with a countable infinity of possible different hashable inputs, a deterministic hashing algorithm, and only finitely many outputs, such a rul

[issue33138] Improve standard error for uncopyable types

2018-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Current error messages for different classes: "can't pickle XXX objects" (default) "Cannot serialize XXX object" (socket, BZ2Compressor, BZ2Decompressor) "can not serialize a 'XXX' object" (buffered files in _pyio) "cannot serialize 'XXX' object"

[issue33784] hash collision in instances of ipaddress.ip_network

2018-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Concur with Mark. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailin

[issue33023] Unable to copy ssl.SSLContext

2018-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If changes to __getstate__() be merged in 2.7, I suggest to unify them with issue33138. -- ___ Python tracker ___

[issue33784] hash collision in instances of ipaddress.ip_network

2018-06-07 Thread Mark Dickinson
Mark Dickinson added the comment: > I'd propose hashing a tuple instead of using the xor. To be clear; I'd propose this _only_ if there's evidence that the current hashing scheme is unsatisfactory for real-world use-cases. Otherwise, on an "if it's not broken, don't fix it" basis, I don't th

[issue33784] hash collision in instances of ipaddress.ip_network

2018-06-07 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33778] update Unicode database to 11.0

2018-06-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +7093 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33784] hash collision in instances of ipaddress.ip_network

2018-06-07 Thread Mark Dickinson
Change by Mark Dickinson : -- resolution: -> not a bug status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing

[issue33778] update Unicode database to 11.0

2018-06-07 Thread Ned Deily
Ned Deily added the comment: New changeset 4705ea38c900f068fd262aca02943896d1123544 by Ned Deily (Miss Islington (bot)) in branch '3.7': update to Unicode 11.0.0 (closes bpo-33778) (GH-7439) (GH-7470) https://github.com/python/cpython/commit/4705ea38c900f068fd262aca02943896d1123544

[issue33778] update Unicode database to 11.0

2018-06-07 Thread Ned Deily
Ned Deily added the comment: Merged for 3.7.0rc1 -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-07 Thread Ned Deily
Ned Deily added the comment: Christian, any progress on this? 3.7.0rc1 is planned to be tagged in 4 days, on Monday 2018-06-11. Do you think you will be able to provide a PR before then? -- ___ Python tracker

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-07 Thread Christian Tismer
Christian Tismer added the comment: Hi Ned, we had a delivery date yesterday for PySide. The PR is almost ready and will go out today. Ciao - Chris On 07.06.18 09:43, Ned Deily wrote: > > Ned Deily added the comment: > > Christian, any progress on this? 3.7.0rc1 is planned to be tagged i

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-07 Thread Ned Deily
Ned Deily added the comment: Thanks, Christian! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue22454] Adding the opposite function of shlex.split()

2018-06-07 Thread Vinay Sajip
Vinay Sajip added the comment: I'm +0 on the idea. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue33791] Error Installing on Mac

2018-06-07 Thread Austin Garner
New submission from Austin Garner : Python 3.8 would not install on MacOS due to missing SSL -- components: macOS messages: 318912 nosy: atg7000, ned.deily, ronaldoussoren priority: normal severity: normal status: open title: Error Installing on Mac type: compile error versions: Python

[issue22454] Adding the opposite function of shlex.split()

2018-06-07 Thread Matthijs Kooijman
Matthijs Kooijman added the comment: One usecase that such a function would be well-suited for is for *displaying* commands being executed. Then, the commands will be executed as a command+args array, but can be displayed unambiguously in log output. -- _

[issue33791] Error Installing on Mac

2018-06-07 Thread Austin Garner
Change by Austin Garner : -- keywords: +patch pull_requests: +7094 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue33791] Update README.rst to mention third-party OpenSSL needed for macOS builds

2018-06-07 Thread Ned Deily
Ned Deily added the comment: Technically speaking, you can build Python 3.8 or any other current version on current versions of macOS and it will install just fine, but, because Apple has deprecated the use of a system-supplied OpenSSL and no longer supplies the header files to build against

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-06-07 Thread STINNER Victor
STINNER Victor added the comment: Yury, Andrew, Ned: I set the priority to release blocker because I'm scared by what I saw. The START TLS has a race condition in its ProactorEventLoop implementation. But the bug doesn't see to be specific to START TLS, but rather to transport.set_transport(

[issue33778] update Unicode database to 11.0

2018-06-07 Thread STINNER Victor
STINNER Victor added the comment: > Sure, where do you think such documentation belongs? You can start by writing it here. I don't expect that it's a long process, no? Maybe the devguide is the good place? -- ___ Python tracker

[issue30861] StreamReader does not return reamaing and ready data buffer before raise the Exeption

2018-06-07 Thread pfreixes
Change by pfreixes : -- keywords: +patch pull_requests: +7095 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list ma

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-07 Thread Christian Tismer
Change by Christian Tismer : -- pull_requests: +7096 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue29235] Allow profile/cProfile to be used as context managers

2018-06-07 Thread INADA Naoki
INADA Naoki added the comment: New changeset cebe80b59b7386db3cce904d280dab61d1037e7a by INADA Naoki (Scott Sanderson) in branch 'master': bpo-29235: Update document for Profiler's context manager (GH-7331) https://github.com/python/cpython/commit/cebe80b59b7386db3cce904d280dab61d1037e7a --

[issue17909] Autodetecting JSON encoding

2018-06-07 Thread INADA Naoki
INADA Naoki added the comment: New changeset bb6366bd7570ff3b74bc66095540bea78f31504e by INADA Naoki (Anthony Sottile) in branch 'master': bpo-17909: Document that json.load can accept a binary IO (GH-7366) https://github.com/python/cpython/commit/bb6366bd7570ff3b74bc66095540bea78f31504e --

[issue17909] Autodetecting JSON encoding

2018-06-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +7097 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue17909] Autodetecting JSON encoding

2018-06-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +7098 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33792] asyncio: how to set a "Proactor event loop" policy? Issue with asyncio.run()

2018-06-07 Thread STINNER Victor
New submission from STINNER Victor : asyncio documentation suggets to use: --- import asyncio, sys if sys.platform == 'win32': loop = asyncio.ProactorEventLoop() asyncio.set_event_loop(loop) --- https://docs.python.org/dev/library/asyncio-eventloops.html But this code doesn't work with

[issue5755] "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++"

2018-06-07 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +7099 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue17909] Autodetecting JSON encoding

2018-06-07 Thread miss-islington
miss-islington added the comment: New changeset f38ace61a39e64f5fde6f8f402e258177bdf7ff4 by Miss Islington (bot) in branch '3.7': bpo-17909: Document that json.load can accept a binary IO (GH-7366) https://github.com/python/cpython/commit/f38ace61a39e64f5fde6f8f402e258177bdf7ff4 --

[issue17909] Autodetecting JSON encoding

2018-06-07 Thread miss-islington
miss-islington added the comment: New changeset 21f2553482c3d6ec8beb8bfa0f1fb5d23c6a4c2f by Miss Islington (bot) in branch '3.6': bpo-17909: Document that json.load can accept a binary IO (GH-7366) https://github.com/python/cpython/commit/21f2553482c3d6ec8beb8bfa0f1fb5d23c6a4c2f --

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-06-07 Thread STINNER Victor
STINNER Victor added the comment: race.py: simple echo client and server sending packets in both directions. Pause/resume reading the client transport every 100 ms to trigger the bug. Using ProactorEventLoop and 2000 packets of 16 KiB, I easily reproduce the bug. So again, it's nothing relat

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-07 Thread Christian Tismer
Change by Christian Tismer : -- pull_requests: +7100 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue33793] asyncio: _ProactorReadPipeTransport reads by chunk of 32 KiB: chunk size should be configurable

2018-06-07 Thread STINNER Victor
New submission from STINNER Victor : _SelectorTransport has the class attribute: max_size = 256 * 1024 # Buffer size passed to recv(). But _ProactorReadPipeTransport uses an hardcoded chunk size of 32 KiB. It would be nice to allow to configure this size. By the way, _SelectorTransport.m

[issue33792] asyncio: how to set a "Proactor event loop" policy? Issue with asyncio.run()

2018-06-07 Thread STINNER Victor
STINNER Victor added the comment: Ugly workaround: policy = asyncio.get_event_loop_policy() policy._loop_factory = asyncio.ProactorEventLoop It uses a private attribute :-( -- ___ Python tracker __

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-07 Thread Christian Tismer
Christian Tismer added the comment: I did not understand the Misc/NEWS.d thing. What should go where, or where would a "skip news" label go? -- ___ Python tracker ___

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-07 Thread Christian Tismer
Change by Christian Tismer : -- pull_requests: -6956 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-07 Thread Christian Tismer
Change by Christian Tismer : -- pull_requests: -7096 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33794] Python.framework build is missing 'Current' symlink

2018-06-07 Thread hhas
New submission from hhas : The Python.framework installed at '/Library/Frameworks/Python.framework' should have a subdirectory structure similar to this: Python.framework | |-Headers [symlink to 'Versions/Current/Headers'] | |-Python [symlink to 'Versions/Current/Python']

[issue33795] Memory leak in X509StoreContext class.

2018-06-07 Thread Tim Boddy
New submission from Tim Boddy : I noticed a memory leak /usr/lib/python3.5/site-packages/OpenSSL/crypto.py in the definition of the class X509StoreContext. The problem is that the __init__ function calls self._init() then later the function verify_certificate calls _init() again. In spite of

[issue33795] Memory leak in X509StoreContext class.

2018-06-07 Thread Berker Peksag
Berker Peksag added the comment: Thank you for your report, but OpenSSL/crypto.py is not part of the standard library. I think the correct place to report this is https://github.com/pyca/pyopenssl There is a X509StoreContext class at https://github.com/pyca/pyopenssl/blob/179eb1d0917ddc106

[issue33792] asyncio: how to set a "Proactor event loop" policy? Issue with asyncio.run()

2018-06-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Looks like we need a proactor policy class. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue33743] test_asyncio raises a deprecation warning

2018-06-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Working on it -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue33779] Error while installing python 3.6.5 on windows 10

2018-06-07 Thread Siddhartha Bose
Siddhartha Bose added the comment: @Steve, I did find the registry under local user, {9d1b786e-0fd4-4386-abc1-4b920ab32da9}, but it lot of registries in it. what and how do i rename it to? -- ___ Python tracker

[issue33743] test_asyncio raises a deprecation warning

2018-06-07 Thread STINNER Victor
STINNER Victor added the comment: That's a duplicate of bpo-33789: I fixed it yesterday in the master branch. -- nosy: +vstinner resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_asyncio emits ResourceWarning warnings ___

[issue33789] test_asyncio emits ResourceWarning warnings

2018-06-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7101 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32676] test_asyncio emits many warnings when run in debug mode

2018-06-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7102 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33795] Memory leak in X509StoreContext class.

2018-06-07 Thread Tim Boddy
Tim Boddy added the comment: Thank you for helping me figure out the correct place to file this. Is there a quick way for me to evaluate in the future wither a particular file belongs to the standard library? -- resolution: not a bug -> status: closed -> open _

[issue33778] update Unicode database to 11.0

2018-06-07 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +7104 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33743] test_asyncio raises a deprecation warning

2018-06-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7103 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33743] test_asyncio raises a deprecation warning

2018-06-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -7103 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue33743] test_asyncio raises a deprecation warning

2018-06-07 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: -giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue33743] test_asyncio raises a deprecation warning

2018-06-07 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +7105 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32676] test_asyncio emits many warnings when run in debug mode

2018-06-07 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue33779] Error while installing python 3.6.5 on windows 10

2018-06-07 Thread Steve Dower
Steve Dower added the comment: Just anything. I often put "deleteme" in as a reminder. Once you've got it all working you can delete it, but for now you just want the installer to be able to make a key with that name. -- ___ Python tracker

[issue33789] test_asyncio emits ResourceWarning warnings

2018-06-07 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7 ___ Python tracker ___

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-06-07 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +7106 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue33743] test_asyncio raises a deprecation warning

2018-06-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Master already has the fix, added by 7ed61e9431e -- versions: -Python 3.8 ___ Python tracker ___ ___

[issue33778] update Unicode database to 11.0

2018-06-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Thu, Jun 7, 2018, at 02:03, STINNER Victor wrote: > > STINNER Victor added the comment: > > > Sure, where do you think such documentation belongs? > > You can start by writing it here. Basically, I update the version in the script (Tools/unicode/mak

[issue33795] Memory leak in X509StoreContext class.

2018-06-07 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> third party status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mail

[issue33789] test_asyncio emits ResourceWarning warnings

2018-06-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3c417610ad318afecf471d59c53e5ae592740791 by Victor Stinner in branch '3.7': [3.7] bpo-33789: Backport test_asyncio fixes from master (GH-7478) https://github.com/python/cpython/commit/3c417610ad318afecf471d59c53e5ae592740791 -- __

[issue33743] test_asyncio raises a deprecation warning

2018-06-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: Aha, I see. Thanks -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue32676] test_asyncio emits many warnings when run in debug mode

2018-06-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3c417610ad318afecf471d59c53e5ae592740791 by Victor Stinner in branch '3.7': [3.7] bpo-33789: Backport test_asyncio fixes from master (GH-7478) https://github.com/python/cpython/commit/3c417610ad318afecf471d59c53e5ae592740791 -- __

[issue33778] update Unicode database to 11.0

2018-06-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +7107 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33778] update Unicode database to 11.0

2018-06-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 34b734699b19d826f861b604dd77e82beed95f17 by Benjamin Peterson in branch 'master': update 3.7 whatsnew entry about Unicode version (GH-7480) https://github.com/python/cpython/commit/34b734699b19d826f861b604dd77e82beed95f17 -- __

[issue33743] test_asyncio raises a deprecation warning

2018-06-07 Thread STINNER Victor
STINNER Victor added the comment: Andrew Svetlov: "Aha, I see. Thanks" You're welcome. Ned Deily: "Any chance we can get this fixed for 3.7.0rc1?" I just backported my changes to the 3.7 branch. -- ___ Python tracker

[issue32676] test_asyncio emits many warnings when run in debug mode

2018-06-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7108 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33778] update Unicode database to 11.0

2018-06-07 Thread miss-islington
miss-islington added the comment: New changeset 942b7ff11add8e701e91e4d24abfb35b480161a3 by Miss Islington (bot) in branch '3.7': update 3.7 whatsnew entry about Unicode version (GH-7480) https://github.com/python/cpython/commit/942b7ff11add8e701e91e4d24abfb35b480161a3 -- nosy: +mis

[issue33796] dataclasses.replace broken with class variables

2018-06-07 Thread Sigurd Ljødal
New submission from Sigurd Ljødal : The dataclasses.replace function does not work for classes that have class variables. See the console output below for an example. $ python Python 3.7.0b5+ (heads/3.7:3c417610ad, Jun 7 2018, 16:21:29) [Clang 9.1.0 (clang-902.0.39.2)] on darwin Type "help",

[issue33274] minidom removeAttributeNode returns None

2018-06-07 Thread Ari Krupnik
Ari Krupnik added the comment: I feel a little bit like I wandered into a card game whose rules I didn't understand. I'm just a lay, mortal user. I've been writing Python for 15 years, first time I saw an opportunity to contribute back. I saw what looked to me like a bug that's been in the c

[issue33796] dataclasses.replace broken with class variables

2018-06-07 Thread Eric V. Smith
Change by Eric V. Smith : -- assignee: -> eric.smith nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue33795] Memory leak in X509StoreContext class.

2018-06-07 Thread Tim Boddy
Tim Boddy added the comment: It looks as if the issue has been fixed here: https://github.com/pyca/pyopenssl/blob/179eb1d0917ddc1067d056127e08e952206e0e91/src/OpenSSL/crypto.py#L1790 Thanks again for pointing me to the correct place! I'm sorry that I accidentally change the status from close

[issue33795] Memory leak in X509StoreContext class.

2018-06-07 Thread Berker Peksag
Berker Peksag added the comment: > Is there a quick way for me to evaluate in the future wither a > particular file belongs to the standard library? If a Python file or package is located in the site-packages/ directory, it's not part of the standard library. -- resolution: not a bug

[issue32676] test_asyncio emits many warnings when run in debug mode

2018-06-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2c8d665ba843fe875a4b8f0ae7c7e9099a06f0dc by Victor Stinner in branch '3.6': [3.6] bpo-32676, test_asyncio: Fix warning in test_error_in_call_soon() (GH-7462) (GH-7483) https://github.com/python/cpython/commit/2c8d665ba843fe875a4b8f0ae7c7e9099a0

[issue33796] dataclasses.replace broken with class variables

2018-06-07 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks for the report. This is the same error you get when using any non-field: >>> @dataclass ... class C: ... i: int ... >>> c = C(4) >>> replace(c, i=3) C(i=3) >>> replace(c, j=3) Traceback (most recent call last): File "", line 1, in File "C:\home\er

[issue33476] String index out of range in get_group(), email/_header_value_parser.py

2018-06-07 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +7109 stage: test needed -> patch review ___ Python tracker ___ ___ Pytho

[issue33796] dataclasses.replace broken with class variables

2018-06-07 Thread Sigurd Ljødal
Sigurd Ljødal added the comment: I think you misunderstood the issue here. I'm not trying to replace the class variable itself, I'm changing another field on a class that has a class variable. The problem is that the replace method includes the class variable in the change dict when copying f

[issue33796] dataclasses.replace broken with class variables

2018-06-07 Thread Eric V. Smith
Eric V. Smith added the comment: Ah, you're right. I did misunderstand. Thanks for correcting me. PR soon. -- nosy: +ned.deily priority: normal -> release blocker ___ Python tracker _

[issue33796] dataclasses.replace broken if a class has any ClassVars

2018-06-07 Thread Eric V. Smith
Change by Eric V. Smith : -- title: dataclasses.replace broken with class variables -> dataclasses.replace broken if a class has any ClassVars versions: +Python 3.8 ___ Python tracker ___

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-07 Thread Eric Snow
Eric Snow added the comment: @Christian, you can use the "blurb" tool to create the NEWS entry. You can use pip to install it. See: https://devguide.python.org/committing/?highlight=blurb#what-s-new-and-news-entries -- nosy: +eric.snow ___ Py

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-07 Thread Christian Tismer
Christian Tismer added the comment: On 07.06.18 17:59, Eric Snow wrote: > > Eric Snow added the comment: > > @Christian, you can use the "blurb" tool to create the NEWS entry. You can > use pip to install it. See: > > > https://devguide.python.org/committing/?highlight=blurb#what-s-ne

[issue33274] minidom removeAttributeNode returns None

2018-06-07 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: > I saw what looked to me like a bug that's been in the code for 18 years, > and I saw that it was a simple fix. And you're right: It is a bug, the fix is simple, and the risk is low. Ten years ago, I'd have probably just landed the fix on all applicable

[issue33609] Document that dicts preserve insertion order

2018-06-07 Thread Neil Schemenauer
Change by Neil Schemenauer : -- pull_requests: +7110 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-06-07 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +7111 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33797] json int encoding incorrect for dbus.Byte

2018-06-07 Thread Brad Bishop
New submission from Brad Bishop : JSON does not correctly encode dbus.Byte from dbus-python on 2.7: dbus.Byte is a subclass of int with its own __str__ implementation. >>> import json >>> import dbus >>> json.dumps(dbus.Byte(0)) '\x00' On 3.x: >>> import json >>> import dbus >>> json.dumps(d

[issue33792] asyncio: how to set a "Proactor event loop" policy? Issue with asyncio.run()

2018-06-07 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +7112 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue33796] dataclasses.replace broken if a class has any ClassVars

2018-06-07 Thread Eric V. Smith
Eric V. Smith added the comment: Ned: How do you feel about backporting this to 3.7? It's an unfortunate bug, but it's your call for 3.7.0 vs. 3.7.1. -- ___ Python tracker __

[issue33779] Error while installing python 3.6.5 on windows 10

2018-06-07 Thread Siddhartha Bose
Siddhartha Bose added the comment: @steve, it didn't work, see the snapshot attached for reference log details [24130:24B34][2018-06-07T22:08:43]i000: Did not find C:\Users\SI20016244\Downloads\unattend.xml [24130:24B34][2018-06-07T22:08:43]i000: Setting string variable 'ActionLikeInstallin

[issue33796] dataclasses.replace broken if a class has any ClassVars

2018-06-07 Thread Eric V. Smith
Change by Eric V. Smith : -- keywords: +patch pull_requests: +7113 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue33779] Error while installing python 3.6.5 on windows 10

2018-06-07 Thread Steve Dower
Steve Dower added the comment: Hmm... okay, we might just need to delete it completely then. -- ___ Python tracker ___ ___ Python-b

[issue33787] Argument clinic and Windows line endings

2018-06-07 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Patch in attachment does the trick. -- keywords: +patch Added file: https://bugs.python.org/file47634/clinic.diff ___ Python tracker ___ _

[issue33796] dataclasses.replace broken if a class has any ClassVars

2018-06-07 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset e7adf2ba41832404100313f9ac9d9f7fabedc1fd by Eric V. Smith in branch 'master': bpo-33796: Ignore ClassVar for dataclasses.replace(). (GH-7488) https://github.com/python/cpython/commit/e7adf2ba41832404100313f9ac9d9f7fabedc1fd --

[issue33274] minidom removeAttributeNode returns None

2018-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Let me clarify part of what I wrote. If we make this change in 2.7.16, then any code that uses the return value will not run on anything previous. This may not matter for you, but would be bad for public code. This cost is present in all bug fixes, but us

[issue32392] subprocess.run documentation does not have **kwargs

2018-06-07 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +7114 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue33798] Fix csv module comment regarding dict insertion order

2018-06-07 Thread Andrés Delfino
New submission from Andrés Delfino : The csv module says "Python’s dict objects are not ordered". PR fixes this , leaving a comment on the rationale. -- assignee: docs@python components: Documentation messages: 318961 nosy: adelfino, docs@python priority: normal severity: normal status:

[issue33722] Document builtins in mock_open

2018-06-07 Thread Jay Crotts
Change by Jay Crotts : -- keywords: +patch pull_requests: +7116 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue33798] Fix csv module comment regarding dict insertion order

2018-06-07 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7115 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue32392] subprocess.run documentation does not have **kwargs

2018-06-07 Thread Berker Peksag
Berker Peksag added the comment: New changeset 279564431e8e2fa4c20e8850420caea484a5d20b by Berker Peksag in branch '3.6': [3.6] bpo-32392: Document env keyword argument of subprocess.run() (GH-7289) https://github.com/python/cpython/commit/279564431e8e2fa4c20e8850420caea484a5d20b --

[issue32392] subprocess.run documentation does not have **kwargs

2018-06-07 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33799] Remove non-ordered dicts comments from FAQ

2018-06-07 Thread Andrés Delfino
New submission from Andrés Delfino : Both Design and Programming sections have comments related to the non-ordered dict implementation. PR removes those comments. -- assignee: docs@python components: Documentation messages: 318964 nosy: adelfino, docs@python priority: normal severity: n

  1   2   >