[issue28556] typing.py upgrades

2017-12-04 Thread Ned Deily
Ned Deily added the comment: New changeset 29bc19321018ec6e58f9f4da9c18c42e9a9c580e by Ned Deily (Ivan Levkivskyi) in branch 'master': [bpo-28556] Minor fixes for typing module (#4710) https://github.com/python/cpython/commit/29bc19321018ec6e58f9f4da9c18c42e9a9c580e -- nosy: +ned.dei

[issue28556] typing.py upgrades

2017-12-04 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4623 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue12851] ctypes: getbuffer() never provides strides

2017-12-04 Thread Jeff VanOss
Change by Jeff VanOss : -- keywords: +patch pull_requests: +4624 stage: needs patch -> patch review ___ Python tracker ___ ___ Python

[issue19610] Give clear error messages for invalid types used for setup.py params (e.g. tuple for classifiers)

2017-12-04 Thread Neil Schemenauer
Neil Schemenauer added the comment: New changeset 8837dd092fe5ad5184889104e8036811ed839f98 by Neil Schemenauer in branch 'master': bpo-19610: Warn if distutils is provided something other than a list to some fields (#4685) https://github.com/python/cpython/commit/8837dd092fe5ad5184889104e8036

[issue32217] freeze.py fails to work.

2017-12-04 Thread Decorater
Decorater added the comment: It seems to also give the same traceback when using the build from the latest commit on branch 3.6 as well as 3.6.0 when using the freeze.py from the clone as well (The way I tested it was manually patching the binaries in my my 3.6 install). --

[issue28556] typing.py upgrades

2017-12-04 Thread Ned Deily
Ned Deily added the comment: New changeset b0576278b2d44472c73696f6dea4855f7ffb7ff1 by Ned Deily (Miss Islington (bot)) in branch '3.6': [bpo-28556] Minor fixes for typing module (GH-4710) (#4713) https://github.com/python/cpython/commit/b0576278b2d44472c73696f6dea4855f7ffb7ff1 -- _

[issue28791] update SQLite libraries for Windows and macOS installers

2017-12-04 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Tried to get miss-islington to backport Windows installer change to 3.6, did not work. I'll work on the backport PR. -- ___ Python tracker

[issue31392] Upgrade installers to OpenSSL 1.1.0g and 1.0.2m

2017-12-04 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +4625 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing

[issue32204] async/await performance is very low

2017-12-04 Thread Liran Nuna
Liran Nuna added the comment: > which makes them faster in some specific micro-benchmarks I'm not talking about micro-benchmarks, we are actively using asynq in production. Recent efforts to migrate to async/await have hit a major performance hit - our response times nearly doubled. I agree

[issue31392] Upgrade installers to OpenSSL 1.1.0g and 1.0.2m

2017-12-04 Thread Ned Deily
Ned Deily added the comment: New changeset 24e046987b8e34bb4f1f3fd9bd31f1d605e347dc by Ned Deily in branch 'master': bpo-31392: Update macOS installer to use OpenSSL 1.0.2m (#4715) https://github.com/python/cpython/commit/24e046987b8e34bb4f1f3fd9bd31f1d605e347dc -- _

[issue31392] Upgrade installers to OpenSSL 1.1.0g and 1.0.2m

2017-12-04 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4626 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28791] update SQLite libraries for Windows and macOS installers

2017-12-04 Thread Mariatta Wijaya
Change by Mariatta Wijaya : -- pull_requests: +4627 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list ma

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2017-12-04 Thread Nick Coghlan
Nick Coghlan added the comment: +1 for making this change 3.6+ only. Victor, could you run your patch through the performance benchmarks? While I suspect Antoine is right that our current GIL management heuristics will mean we don't need the lazy initialisation optimisation any more, it's sti

[issue32218] add __iter__ to enum.Flag members

2017-12-04 Thread Guy Gangemi
New submission from Guy Gangemi : I'm proposing to extend enum.Flag member functionality so it is iterable in a manner similar to enum.Flag subclasses. from enum import Flag, auto class FlagIter(Flag): def __iter__(self): for memeber in self._member_map_.values(): if m

[issue32217] freeze.py fails to work.

2017-12-04 Thread Decorater
Decorater added the comment: Seems that freeze.py was not updated since 3.6.0b2 and also fails like this in master as well. (specifically commit 10108a7b9affa61719a1dc1863edb2bdb3402fd1) was last edit to the file in both the 3.6 and the master branch. Could it be that ``sys.abiflags`` was rem

[issue32217] freeze.py fails to work.

2017-12-04 Thread Decorater
Change by Decorater : -- versions: +Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue32204] async/await performance is very low

2017-12-04 Thread Yury Selivanov
Yury Selivanov added the comment: > I agree that the PR I offers little (or no) improvement but I implore you to > explore performance bottlenecks in async/await. And I'm saying that there are no "performance bottlenecks in async/await". async/await is *not* asyncio. async/await and yield a

[issue32204] async/await performance is very low

2017-12-04 Thread Yury Selivanov
Yury Selivanov added the comment: Also I suggest you to try uvloop. If your production code is still slower that with asynq, I suggest you to profile it and post real profiles here. I just don't think that asyncio.gather can be the main bottleneck you have, it must be something else. -

[issue31392] Upgrade installers to OpenSSL 1.1.0g and 1.0.2m

2017-12-04 Thread Ned Deily
Ned Deily added the comment: New changeset 0bec5e147a6c0f62517df8e7033a38087451d5d4 by Ned Deily (Miss Islington (bot)) in branch '3.6': [3.6] bpo-31392: Update macOS installer to use OpenSSL 1.0.2m (GH-4715) (#4716) https://github.com/python/cpython/commit/0bec5e147a6c0f62517df8e7033a38087451

[issue32219] SSLWantWriteError being raised by blocking SSL socket

2017-12-04 Thread Nathaniel Smith
New submission from Nathaniel Smith : I have a test case that sets up a blocking SSLSocket, and eventually calls unwrap() to do a proper SSL shutdown. Every once in a while, the test blows up, because unwrap() unexpectedly raises SSLWantWriteError. This is very unexpected for a blocking socket

[issue31392] Upgrade installers to OpenSSL 1.1.0g and 1.0.2m

2017-12-04 Thread Ned Deily
Ned Deily added the comment: Updated the 3.7.0a3 and 3.6.4 macOS installer builds to 1.0.2m; I'll get 3.7.x to 1.1.0 before 3.7.0a4. -- ___ Python tracker ___

[issue32219] SSLWantWriteError being raised by blocking SSL socket

2017-12-04 Thread Nathaniel Smith
Nathaniel Smith added the comment: Oh darn, I restarted the 311618077 build on Travis and apparently that makes it delete the log. Well, it was the same traceback as the one that's left, but triggered by a different test. -- ___ Python tracker

[issue28791] update SQLite libraries for Windows and macOS installers

2017-12-04 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset e2ba5523192a9cff125fce2ce530bec574353f7b by Mariatta in branch '3.6': bpo-28791: Update Windows builds to use SQLite 3.21.0. (GH-4246). (GH-4717) https://github.com/python/cpython/commit/e2ba5523192a9cff125fce2ce530bec574353f7b -- ___

[issue28791] update SQLite libraries for Windows and macOS installers

2017-12-04 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Backport to 3.6 is done. But I personally won't be bothering with 2.7 :) -- ___ Python tracker ___ __

[issue32217] freeze.py fails to work.

2017-12-04 Thread Decorater
Change by Decorater : -- keywords: +patch pull_requests: +4628 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list ma

[issue32217] freeze.py fails to work.

2017-12-04 Thread Decorater
Decorater added the comment: I have found an temporary fix for now after reading that abiflags is posix only. -- ___ Python tracker ___

[issue31380] test_undecodable_filename() in Lib/test/test_httpservers.py broken on APFS

2017-12-04 Thread Ned Deily
Change by Ned Deily : -- keywords: +patch pull_requests: +4629 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list ma

[issue32204] async/await performance is very low

2017-12-04 Thread Liran Nuna
Liran Nuna added the comment: > Also I suggest you to try uvloop Sadly, uvloop does not offer any noticeable improvement in performance for us. Our usage is very similar to the "benchmarks" I posted - we don't do any actual async I/O because asynq does not offer that. > I suggest you to pro

[issue31380] test_undecodable_filename() in Lib/test/test_httpservers.py broken on APFS

2017-12-04 Thread Ned Deily
Ned Deily added the comment: New changeset b3edde8dd44c878e9f039a2165d00ff075157d4b by Ned Deily in branch 'master': bpo-31380: Skip test_httpservers test_undecodable_file on macOS. (#4720) https://github.com/python/cpython/commit/b3edde8dd44c878e9f039a2165d00ff075157d4b --

[issue31380] test_undecodable_filename() in Lib/test/test_httpservers.py broken on APFS

2017-12-04 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4630 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2017-12-04 Thread Berker Peksag
Berker Peksag added the comment: All three examples in test2.py correctly folded (doesn't hit the ``except Exception as e:`` branch anymore) in current master. Can this issue be closed now? -- nosy: +berker.peksag ___ Python tracker

[issue31380] test_undecodable_filename() in Lib/test/test_httpservers.py broken on APFS

2017-12-04 Thread Ned Deily
Ned Deily added the comment: New changeset d9cadc5f597e5966132c9249f6c7ff0ed1eba0cb by Ned Deily (Miss Islington (bot)) in branch '3.6': [3.6] bpo-31380: Skip test_httpservers test_undecodable_file on macOS. (GH-4720) (#4721) https://github.com/python/cpython/commit/d9cadc5f597e5966132c9249f6

[issue32218] add __iter__ to enum.Flag members

2017-12-04 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue31380] test_undecodable_filename() in Lib/test/test_httpservers.py broken on APFS

2017-12-04 Thread Ned Deily
Ned Deily added the comment: I've chosen to unconditionally skip test_undecodable_filename on macOS; it was already skipped for older macOS systems and I think it would be a mistake to test for a specific error code that could change in later releases. As Ronald points out, testing on Linux

[issue19610] Give clear error messages for invalid types used for setup.py params (e.g. tuple for classifiers)

2017-12-04 Thread Berker Peksag
Berker Peksag added the comment: Thank you for fixing this, Neil. Can we close this issue now? -- priority: release blocker -> normal ___ Python tracker ___ ___

[issue31145] PriorityQueue.put() fails with TypeError if priority_number in tuples of (priority_number, data) are the same.

2017-12-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, the new dataclasses module makes it really easy to create a wrapper: from dataclasses import dataclass, field from typing import Any @dataclass(order=True) class KeyedItem: key: int item: Any=field(compare=False) d

<    1   2