[issue32221] Converting ipv6 address to string representation using getnameinfo() is wrong.

2018-01-28 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +5229 stage: -> patch review ___ Python tracker ___

[issue28414] SSL match_hostname fails for internationalized domain names

2018-01-28 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +5230 ___ Python tracker ___ ___

[issue31399] Let OpenSSL verify hostname and IP address

2018-01-28 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +5231 ___ Python tracker ___ ___

[issue17305] IDNA2008 encoding missing

2018-01-28 Thread Christian Heimes
Christian Heimes added the comment: bpo-31399 has fixed hostname matching for IDNA 2003 compatible domain names. IDNA 2008 domain names with German ß are still broken, for example: UnicodeError: ('IDNA does not round-trip', b'xn--knigsgchen-b4a3dun',

[issue28685] Optimizing list.sort() by performing safety checks in advance

2018-01-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: It would be really nice to have this into 3.7 -- nosy: +rhettinger priority: normal -> high ___ Python tracker

[issue32221] Converting ipv6 address to string representation using getnameinfo() is wrong.

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 0ceb717689b04c0540d78c1ba93c0572c66c0994 by Yury Selivanov in branch 'master': Revert "bpo-32221: makeipaddr(): remove interface part + speedup (GH-4724)" (#5394)

[issue32690] Return function locals() in order of creation?

2018-01-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Why did this fix go to 3.6? The patch is trivially small and fixes an odd an unnecessary implementation quirk. Backporting will help avoid confusing dissimilarity between 3.6 and 3.7. It also makes maintenance easier by

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2018-01-28 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +5232 stage: -> patch review ___ Python tracker ___

[issue31453] Debian Sid/Buster: Cannot enable TLS 1.0/1.1 with PROTOCOL_TLS

2018-01-28 Thread Christian Heimes
Christian Heimes added the comment: The feature is still useful -- whether or not Debian disables TLS 1.0 and 1.1. The new API is easier to use and more convenient than the old bitmask approach. "option &=~OP_NO_SSLv3" is just horrible. :) --

[issue32699] pythonXY._pth : unclear how .pth files are handled

2018-01-28 Thread Thomas Kluyver
Thomas Kluyver added the comment: I'd reword the second sentence like this: > Note that .pth files (without leading underscore) will be processed only if > this file specifies ``import site``. The current wording sounds (to me) like a guarantee that .pth files will

[issue32690] Return function locals() in order of creation?

2018-01-28 Thread Ned Deily
Ned Deily added the comment: > If you guys think the old code is better in some way, feel free to revert the > backport :-) Hey, it's Guido's code, it must be good :) My only concern is that this seems to be more of an issue of unspecified behavior rather than a bug and, as

[issue31151] socketserver.ForkingMixIn.server_close() leaks zombie processes

2018-01-28 Thread STINNER Victor
STINNER Victor added the comment: > What's the status of this? Feature freeze is here! This issue is very to https://bugs.python.org/issue31233#msg311021 as it's status: * The commit aa8ec34ad52bb3b274ce91169e1bc4a598655049 is backward incompatible and it's not

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

2018-01-28 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___

[issue12944] Better error message for "setup.py upload" missing sdist/bdist

2018-01-28 Thread Éric Araujo
Éric Araujo added the comment: I had a patch for this, but now think it would be an attractive nuisance, given that distutils does not always ensure proper HTTPS verification. Not adding the ability to build sdists/wheels, check them and then upload them will help push

[issue32221] Converting ipv6 address to string representation using getnameinfo() is wrong.

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: Mark, Two tests fail on MacOS X now (newly added tests). I'm reverting the change for now. If you figure this out, please re-submit a PR for a quick approval. ==

[issue32688] weird comment out line of code

2018-01-28 Thread Brett Cannon
Brett Cannon added the comment: We should probably delete the line regardless so no one else gets thrown by this (or at least leave a comment). -- ___ Python tracker

[issue18369] X509 cert class for ssl module

2018-01-28 Thread Ned Deily
Ned Deily added the comment: At Christian's request and considering the importance of the ssl module, I'm going to allow an extension for landing of this feature until 3.7.0b2, currently scheduled for 2018-02-26. If anyone else can help Christian get this in before b2, that

[issue32693] os.path.ismount does not accept bytes objects

2018-01-28 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> support bytes paths in nt _getdiskusage, _getvolumepathname, and _getfinalpathname ___ Python tracker

[issue28685] Optimizing list.sort() by performing safety checks in advance

2018-01-28 Thread Tim Peters
Tim Peters added the comment: I agree it would be nice (very!) to get this in. Indeed, I'm surprised to see that this is still open :-( But who can drive it? I cannot. -- ___ Python tracker

[issue32690] Return function locals() in order of creation?

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: I don't have a strong opinion on this, but I worry a bit that while the change is trivial, it still might break something (doctests? some obscure code?) in the next 3.6 point release. -- ___

[issue32221] Converting ipv6 address to string representation using getnameinfo() is wrong.

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: Mark, I think this still land in beta-2. Please try to figure out what's going on on Mac OS (I have no time to take care of this myself). -- ___ Python tracker

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

2018-01-28 Thread Ned Deily
Ned Deily added the comment: What's the status of this? The issue is still open with "release blocker" status. -- ___ Python tracker

[issue26219] implement per-opcode cache in ceval

2018-01-28 Thread STINNER Victor
STINNER Victor added the comment: > Would it be OK if we add this to 3.7beta2? IMHO we need more time than beta1=>beta2 window to review properly the design, test the implementation, fix any potential regression, etc. Such change is perfect for the *start of a

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

2018-01-28 Thread Guido van Rossum
Guido van Rossum added the comment: Are there more specific descriptions of those bugs? Links to a tracker? (Even if it's the typing tracker.) -- ___ Python tracker

[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset c7ab581db216aeeb1c2aa7af2f2198d2b7516383 by Yury Selivanov (Pablo Galindo) in branch 'master': bpo-32650 Add support for async generators and more test for coroutines in pdb (#5403)

[issue28685] Optimizing list.sort() by performing safety checks in advance

2018-01-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 1e34da49ef22004ca25c517b3f07c6d25f083ece by Raymond Hettinger (embg) in branch 'master': bpo-28685: Optimize sorted() list.sort() with type-specialized comparisons (#582)

[issue28685] Optimizing list.sort() by performing safety checks in advance

2018-01-28 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue28685] Optimizing list.sort() by performing safety checks in advance

2018-01-28 Thread Tim Peters
Tim Peters added the comment: Thank you for giving this worthy orphan a home, Raymond! Victor, don't fret too much. The code is really quite simple, and at worst affects only `sorted()` and `list.sort()`. The vast bulk of review effort (of which it got enough) went into

[issue32702] Minor markup typo

2018-01-28 Thread KINEBUCHI Tomohiko
Change by KINEBUCHI Tomohiko : -- keywords: +patch pull_requests: +5240 stage: -> patch review ___ Python tracker ___

[issue32703] 'async with' somehow suppresses unawaited coroutine warnings

2018-01-28 Thread Nathaniel Smith
Nathaniel Smith added the comment: > Yury's theory: maybe BEFORE_ASYNC_WITH's error-handling path is forgetting to > DECREF the object. Nope, that doesn't seem to be it. This version prints "refcount: 2" twice, *and* prints a proper "was never awaited" warning: - import

[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 9ee1bf9ab5af8233ed8ec5c53d12a29dc1bd9c9d by Yury Selivanov in branch 'master': bpo-32650: Add an asyncgen pdb test (#5406) https://github.com/python/cpython/commit/9ee1bf9ab5af8233ed8ec5c53d12a29dc1bd9c9d --

[issue28685] Optimizing list.sort() by performing safety checks in advance

2018-01-28 Thread ppperry
ppperry added the comment: ... and I'm still trying to come up with even more pathological mutating cases -- ___ Python tracker ___

[issue32703] 'async with' somehow suppresses unawaited coroutine warnings

2018-01-28 Thread Nathaniel Smith
New submission from Nathaniel Smith : Example (minimal version of https://github.com/python-trio/trio/issues/425): - async def open_file(): pass async def main(): async with open_file(): # Should be 'async with await open_file()' pass coro = main()

[issue32703] 'async with' somehow suppresses unawaited coroutine warnings

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: Changing async def main(): async with open_file(): pass to async def main(): c = open_file() async with c: pass also makes it print the warning :) Also I've made a test out of this snippet and running tests

[issue32704] Tracking

2018-01-28 Thread Allen
New submission from Allen : Could someone help me use python to track the tArget phones location and i would like to intercepts all text and emaIl. .. -- messages: 311059 nosy: BIGAL priority: normal severity: normal status: open title: Tracking

[issue32703] 'async with' somehow suppresses unawaited coroutine warnings

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: Ah, we should never really get to WITH_CLEANUP_START; the exception should be raised in BEFORE_ASYNC_WITH -- ___ Python tracker

[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 543ec005a4c83fcc0d14ac1e4c0f1a36bf84640b by Andrew Svetlov (Miss Islington (bot)) in branch '3.6': bpo-32650: Add native coroutine support to bdb when stepping over line (GH-5400) (#5402)

[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +5244 ___ Python tracker ___ ___

[issue32591] Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s)

2018-01-28 Thread Nathaniel Smith
Nathaniel Smith added the comment: Ah, gotcha. I'll take a look. (For posterity: the RuntimeWarnings Yury mentioned are also real, but they're from the branch Yury is testing for bpo-32605 / bpo-32703, nothing to do with this issue.) --

[issue32703] 'async with' somehow suppresses unawaited coroutine warnings

2018-01-28 Thread Nick Coghlan
Nick Coghlan added the comment: Ah, and in my REPL example, the NameError was pending when the internal result storage was getting set back to None. I'm not sure I even knew the "Don't complain when an exception is pending" check existed, so it would have taken me a long

[issue32703] 'async with' somehow suppresses unawaited coroutine warnings

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: I knew about that "if", but it never fully registered to me why it's there and what it is protecting us from ;) So I had to debug half of ceval loop before I stumbled upon it again ;) -- ___

[issue32591] Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s)

2018-01-28 Thread Nathaniel Smith
Change by Nathaniel Smith : -- pull_requests: +5246 stage: resolved -> patch review ___ Python tracker ___

[issue29571] test_re is failing when local is set for `en_IN`

2018-01-28 Thread Jaysinh shukla
Jaysinh shukla added the comment: Hello Nick, At the devsprints of Pycon India 2017, a few participants were facing this bug. They all were from the Ubuntu land. I have switched to Gentoo distro. I am not facing this bug, but let me confirm from any Ubuntu user.

[issue32705] Current Android does not have posix_spawn

2018-01-28 Thread Chih-Hsuan Yen
New submission from Chih-Hsuan Yen : Currently Android does not have posix_spawn, thus posixmodule.c does not build. Build log attached. I'll create a patch for this. Testing environment: my building scripts [1] + Android NDK r16b Building target: ARM64, android-21 /cc

[issue32703] 'async with' somehow suppresses unawaited coroutine warnings

2018-01-28 Thread Yury Selivanov
Change by Yury Selivanov : -- components: +Interpreter Core -asyncio nosy: +ncoghlan ___ Python tracker ___

[issue32251] Add asyncio.BufferedProtocol

2018-01-28 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +5241 ___ Python tracker ___ ___

[issue32251] Add asyncio.BufferedProtocol

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 07627e9a6a5f418354ff3dc99a0f36bc5b79dcd8 by Yury Selivanov in branch 'master': bpo-32251: Fix docs (#5408) https://github.com/python/cpython/commit/07627e9a6a5f418354ff3dc99a0f36bc5b79dcd8 --

[issue23749] asyncio missing wrap_socket (starttls)

2018-01-28 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +5242 stage: resolved -> patch review ___ Python tracker ___

[issue32703] 'async with' somehow suppresses unawaited coroutine warnings

2018-01-28 Thread Nick Coghlan
Nick Coghlan added the comment: Looking at the ceval code, I think Yury's theory is plausible, and we may also be leaving the interpreter's internal stack in a dubious state. Things then get cleaned up if you wrap the async with in a try/except or try/finally:

[issue23749] asyncio missing wrap_socket (starttls)

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 1e5b25b8c0c45ccfd58da2cb82fdf231c6823fef by Yury Selivanov in branch 'master': bpo-23749: Make start-tls tests more stable on win7 buildbot (GH-5409)

[issue32703] 'async with' somehow suppresses unawaited coroutine warnings

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: So refactoring it into "c = open_file(); async with c" just prolongs the life of the coroutine so that it's GCed outside of WITH_CLEANUP_START/WITH_CLEANUP_FINISH block. Something weird is going on in that block. --

[issue32591] Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s)

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: Nathaniel, test_coroutines raises a bunch of Runtime and Deprecation warnings after this PR. Could you please make a PR to silence them? /Users/yury/dev/pydev/cpython/Lib/test/test_coroutines.py:1032: RuntimeWarning: coroutine

[issue32703] 'async with' somehow suppresses unawaited coroutine warnings

2018-01-28 Thread Nathaniel Smith
Nathaniel Smith added the comment: Well, I feel silly then: bpo-32605 -- ___ Python tracker ___

[issue17048] calendar should understand full- vs. half-width characters

2018-01-28 Thread Chason Chaffin
Change by Chason Chaffin : -- nosy: +chason.chaffin ___ Python tracker ___ ___

[issue32703] 'async with' somehow suppresses unawaited coroutine warnings

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: The difference between these two functions is two extra opcodes: STORE_FAST/LOAD_FAST before BEFORE_ASYNC_WITH. With them we have a warning. -- ___ Python tracker

[issue32703] 'async with' somehow suppresses unawaited coroutine warnings

2018-01-28 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +5243 stage: -> patch review ___ Python tracker ___

[issue32605] Should we really hide unawaited coroutine warnings when an exception is pending?

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: So in issue 32703 we consider removing the check. I'll try to figure out what to do with "coroutine ... was never awaited" warnings in test_coroutines -- probably just silence them. -- ___

[issue32591] Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s)

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: Specifically "DeprecationWarning: get_coroutine_wrapper is deprecated" needs to be silenced as part of this issue. -- ___ Python tracker

[issue29571] test_re is failing when local is set for `en_IN`

2018-01-28 Thread Nick Coghlan
Nick Coghlan added the comment: I've also added Matthias and Barry to the cc list, in case this does turn out to be a Debian or Ubuntu specific quirk. Restating the problem, the issue is that test_locale_flag in test_re may fail for at least the en_IN locale, and we're

[issue32688] weird comment out line of code

2018-01-28 Thread Brett Cannon
Brett Cannon added the comment: Thanks! On Sun, Jan 28, 2018, 19:32 Xiang Zhang, wrote: > > Xiang Zhang added the comment: > > Done. > > -- > versions: -Python 3.6 > > ___ > Python

[issue20104] expose posix_spawn(p)

2018-01-28 Thread Martin Panter
Martin Panter added the comment: Pablo’s code looked unfinished to me. As well as missing documentation, I suspect there may be memory leaks and poor error handling. The two calls above the “fail:” label look like dead code. The “parse_envlist” result appears to be

[issue32702] Minor markup typo

2018-01-28 Thread KINEBUCHI Tomohiko
New submission from KINEBUCHI Tomohiko : In the staticmethod document [1], code snippet should be a literal block, but actually be a block quote. See the attached image file. [1] https://docs.python.org/3.6/library/functions.html#staticmethod -- assignee:

[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker

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

2018-01-28 Thread Nathaniel Smith
Nathaniel Smith added the comment: > So let's retarget this to 3.8 as it's too close to 3.7 feature freeze to get > seriously considered/merged. I *think* I have a better idea than this for 3.8, but it's definitely PEP-sized. The unawaited coroutine tracking proposal here was

[issue27968] test_coroutines generates some warnings

2018-01-28 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +5245 ___ Python tracker ___ ___

[issue32703] 'async with' somehow suppresses unawaited coroutine warnings

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: So the problem was that _PyGen_Finalize wasn't issuing any warnings if there's any error set in the current tstate. And in Nathaniel's case, the current error was an AttributeError('__aexit__'). This check is weird, because right

[issue30715] Test_winreg, test_dynamic_key hangs on my Win 10

2018-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_winreg now works, taking about 5 seconds. It has been working recently but I dont' know when or why the problem disappeared. -- resolution: -> out of date stage: -> resolved status: open -> closed

[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 3cfb84c65790f5f9377574f9be0799bdd9d0132c by Andrew Svetlov in branch '3.6': [3.6] bpo-32650 Add support for async generators and more test for coroutines in pdb (GH-5403). (#5411)

[issue32550] STORE_ANNOTATION bytecode is unnecessary and can be removed.

2018-01-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: There are a couple of merge conflicts in the patch. Once deconflicted, I think this PR is ready to apply. -- assignee: -> Mark.Shannon ___ Python tracker

[issue32591] Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s)

2018-01-28 Thread Nathaniel Smith
Nathaniel Smith added the comment: New changeset 95e214713a7da4e5cbfb73f35b2119f76074fc3f by Nathaniel J. Smith in branch 'master': bpo-32591: silence deprecation warnings in test_coroutine (GH-5412)

[issue32689] shutil.move raises AttributeError if first argument is a pathlib.Path object and destination is a directory

2018-01-28 Thread Craig Holmquist
Craig Holmquist added the comment: In my test, the second call to path.absolute() is just returning the same result as the first call, which is what I would expect (as you say, the path object doesn't update automatically). However, your output shows it returning

[issue32611] Tkinter taskbar icon (Windows)

2018-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looking at the animated .gif, Jim's problem has nothing to do with IDLE in particular, and is as least partly specific to his system, as I do not have the same problem on my system. (That does not mean that improvements are not possible,

[issue32700] The replys additional (Re.) is ok.

2018-01-28 Thread Allen
New submission from Allen : .. -- messages: 310995 nosy: BIGAL priority: normal severity: normal status: open title: The replys additional (Re.) is ok. ___ Python tracker

[issue31333] Implement ABCMeta in C

2018-01-28 Thread Ned Deily
Ned Deily added the comment: There has been a lot of work by a number of people on this feature leading up to the 3.7.0b1. Thank you! On PR 5273, Yury says that he believes the feature is ready to merge but would prefer an extension until 3.7.0b2 and that Guido has agreed.

[issue32699] pythonXY._pth : unclear how .pth files are handled

2018-01-28 Thread Steve Dower
Steve Dower added the comment: 1 is correct. I don't see the contradiction - maybe you could purpose a rewording? (Perhaps it currently relies on the knowledge that the site module finds and processes .pth files? -S will also suppress it.) --

[issue31151] socketserver.ForkingMixIn.server_close() leaks zombie processes

2018-01-28 Thread Ned Deily
Ned Deily added the comment: What's the status of this? Feature freeze is here! -- ___ Python tracker ___

[issue31233] socketserver.ThreadingMixIn leaks running threads after server_close()

2018-01-28 Thread STINNER Victor
STINNER Victor added the comment: > What's the status of this? The status is bad. The commit b8f4163da30e16c7cd58fe04f4b17e38d53cd57e is backward incompatible, it's not documented in the "Porting the Python 3.7" section of What's New in Python 3.7, and it's not

[issue12944] Accept arbitrary files for distutils' upload command

2018-01-28 Thread Éric Araujo
Éric Araujo added the comment: A doc ticket already exists, moving this one back to a feature request and closing it. -- resolution: -> wont fix stage: needs patch -> resolved status: open -> closed superseder: -> Better error message for setup.py upload command

[issue32701] Typo in quopri documentation

2018-01-28 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks! I like your proposed change. Please create the PR. -- nosy: +Mariatta ___ Python tracker

[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +5234 stage: -> patch review ___ Python tracker ___

[issue32701] Typo in quopri documentation

2018-01-28 Thread Julien Palard
Change by Julien Palard : -- keywords: +patch pull_requests: +5235 stage: -> patch review ___ Python tracker ___

[issue32699] pythonXY._pth : unclear how .pth files are handled

2018-01-28 Thread Steve Dower
Steve Dower added the comment: Hopefully that's enough of a clarification. -- assignee: -> docs@python components: +Documentation nosy: +docs@python resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement versions:

[issue31453] Debian Sid/Buster: Cannot enable TLS 1.0/1.1 with PROTOCOL_TLS

2018-01-28 Thread Ned Deily
Ned Deily added the comment: I'm not clear if this is still needed, i.e. has Debian backed off on their change across the board? If it is still needed, I'm going to allow an extension for landing of it until 3.7.0b2, currently scheduled for 2018-02-26. If anyone else can

[issue17305] IDNA2008 encoding missing

2018-01-28 Thread R. David Murray
R. David Murray added the comment: What we need for this issue is someone volunteering to writing the code. Given how long it has already been, I don't think anyone already on the core team is going to pick it up. -- ___

[issue32690] Return function locals() in order of creation?

2018-01-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: If you guys think the old code is better in some way, feel free to revert the backport :-) I'm -0 on undoing the backpport. ISTM that of all of changes to 3.6, this is one of the safest and it has minor benefits of removing a

[issue32690] Return function locals() in order of creation?

2018-01-28 Thread Guido van Rossum
Guido van Rossum added the comment: I think consistency between the 3.6.x releases ought to win here. -- ___ Python tracker ___

[issue30697] segfault in PyErr_NormalizeException() after memory exhaustion

2018-01-28 Thread Ned Deily
Ned Deily added the comment: We should make a decision on this for both 3.6.5 and for 3.7.0. Victor, Antoine, Brett, Serhiy, any opinions? -- ___ Python tracker

[issue31233] socketserver.ThreadingMixIn leaks running threads after server_close()

2018-01-28 Thread Ned Deily
Ned Deily added the comment: If we're going to leave this open until 3.7.0b2, can you at least add a brief warning in the "Porting section" for b1 that the issue is unresolved? -- ___ Python tracker

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-01-28 Thread Éric Araujo
Éric Araujo added the comment: For improving the message, I am hesitating between adding to the existing message (hoping to help search engines find their way to improved docs): «No dist file created in earlier command (e.g. setup.py sdist upload)» and rewriting it

[issue32701] Typo in quopri documentation

2018-01-28 Thread Julien Palard
New submission from Julien Palard : Spotted a typo in https://docs.python.org/3/library/quopri.html: "must be provideda" But I also can't extract the meaning of the sentence: > quotetabs, a flag which controls whether to encode embedded spaces and tabs > must be

[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +5237 ___ Python tracker ___ ___

[issue28685] Optimizing list.sort() by performing safety checks in advance

2018-01-28 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___

[issue20104] expose posix_spawn(p)

2018-01-28 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 6c6ddf97c402709713d668d0ed53836a7749ba99 by Gregory P. Smith (Pablo Galindo) in branch 'master': bpo-20104: Expose `posix_spawn` in the os module (GH-5109)

[issue20104] expose posix_spawn(p)

2018-01-28 Thread Gregory P. Smith
Gregory P. Smith added the comment: remaining work before closing this: Doc/library/os.rst needs to describe os.posix_spawn -- priority: low -> normal ___ Python tracker

[issue32650] Debug support for native coroutines is broken

2018-01-28 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +5239 ___ Python tracker ___ ___

[issue32697] Guarantee that Python preserves the order of kwonly parameters

2018-01-28 Thread Larry Hastings
Larry Hastings added the comment: Thanks for the quick turnaround reviews! Today we've all collectively made Python a better programming language. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue32690] Return function locals() in order of creation?

2018-01-28 Thread Ned Deily
Ned Deily added the comment: While I appreciate the desirability of changing the behavior, it does introduce a behavior change in a 3.6.x maintenance release. I don't have a good feel for the probability that current users or 3-party libraries are depending on the old

[issue32699] pythonXY._pth : unclear how .pth files are handled

2018-01-28 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list

[issue30715] Test_winreg, test_dynamic_key hangs on my Win 10

2018-01-28 Thread Ned Deily
Ned Deily added the comment: What's the status of this issue? It was previous marked as a "release blocker" and I subsequently downgraded it to a "deferred blocker" so as not to hold up releases. Since a few maintenance releases have gone by without any action, I am

[issue32654] Fixes Python for Android API 19

2018-01-28 Thread STINNER Victor
STINNER Victor added the comment: """ >>> locale.setlocale(locale.LC_ALL, None) ... locale.Error: locale query failed """ IMHO the correct fix here is to not define _locale.setlocale() to get the pure Python locale.setlocale() emulation. --

  1   2   3   >