[issue32949] Simplify "with"-related opcodes

2018-02-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated PR seems fixes issue29988 for synchronous "with". -- ___ Python tracker ___ ___ Python-b

[issue32257] Support Disabling Renegotiation for SSLContext

2018-02-26 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +5673 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue32257] Support Disabling Renegotiation for SSLContext

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: The OP_NO_RENEGOTIATION option prevents renegotiation in TLS 1.2 and lower. Renegotiation is a problematic TLS feature that has led to security issues like CVE-2009-3555. TLS 1.3 has removed renegotiation completely in favor of much more reliable and simple

[issue21417] Compression level for zipfile

2018-02-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have a concern about the _compresslevel attribute of ZipInfo. Why is it underscored and not documented? -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue30141] If you forget to call do_handshake, then everything seems to work but hostname checking is disabled

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: The bug has been fixed in #31399. Since 3.7, Python uses OpenSSL's X509_VERIFY_PARAM_set1_host() to verify the host name during the handshake. Unfortunately the fix is in OpenSSL 1.0.2 only. Backport would break compatibility with OpenSSL 1.0.1 and all curr

[issue19500] ftplib: Add client-side SSL session resumption

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: It's now an ftplib issue. It's too late to land a new feature in 3.7 because we have reached feature freeze. -- assignee: christian.heimes -> components: -Documentation, SSL priority: high -> low title: Add client-side SSL session resumption -> ft

[issue31242] Add SSLContext.set_verify_callback()

2018-02-26 Thread Christian Heimes
Change by Christian Heimes : -- stage: -> needs patch versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue18617] AIA chasing for missing intermediate certificates on TLS connections

2018-02-26 Thread Christian Heimes
Change by Christian Heimes : -- assignee: docs@python -> christian.heimes stage: -> needs patch versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___

[issue30525] Expose SCTs on TLS connections

2018-02-26 Thread Christian Heimes
Change by Christian Heimes : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue29334] ssl.SSLObject method getpeercert() is buggy, do_handshake() is strange

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: The fix hasn't been ported to 2.7 yet. -- assignee: christian.heimes -> status: -> open ___ Python tracker ___ ___

[issue31372] Add SSLSocket.get_verify_result()

2018-02-26 Thread Christian Heimes
Change by Christian Heimes : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue31997] SSL lib does not handle trailing dot (period) in hostname or certificate

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: I'm closing this bug as "not a bug" because it works as intended. The trailing dot has to be handled in the application layer. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tra

[issue22365] SSLContext.load_verify_locations(cadata) does not accept CRLs

2018-02-26 Thread Christian Heimes
Change by Christian Heimes : -- assignee: christian.heimes -> components: -Extension Modules priority: normal -> low versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ _

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-02-26 Thread Nick Coghlan
Nick Coghlan added the comment: _xxsubinterpreters has been added, and we'll use PEP 554 as the interim documentation while it's only exposed for testing purposes. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ P

[issue31892] ssl.get_server_certificate should allow specifying certificate / key type

2018-02-26 Thread Christian Heimes
Change by Christian Heimes : -- assignee: christian.heimes -> stage: -> needs patch versions: +Python 3.8 -Python 2.7, Python 3.6, Python 3.7 ___ Python tracker ___ __

[issue18233] SSLSocket.getpeercertchain()

2018-02-26 Thread Christian Heimes
Change by Christian Heimes : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue31727] FTP_TLS errors when use certain subcommands

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: Jonathan, are you able to provide a reproducer for this bug? I fear we cannot move forward without a way to test and reproduce the issue. -- assignee: christian.heimes -> status: open -> pending versions: +Python 3.8 ___

[issue32359] Add getters for all SSLContext internal configuration

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: Let's see how much we can fix in 3.8. Maybe I'll find enough free time to implement PEP 543 for Python 3.8. -- assignee: christian.heimes -> stage: -> needs patch type: -> enhancement versions: +Python 3.8 ___

[issue17128] OS X system openssl deprecated - installer should build local libssl

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: Ned, is this issue still relevant? It targets 3.5 and hasn't seen much activity since 2016. -- status: open -> pending ___ Python tracker _

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: Andrew, Yury, PR 4402 is still open. Should the fix land in 3.7? I have removed the SSL component because it's not a bug in the ssl module. -- components: -SSL nosy: +christian.heimes versions: +Python 3.8 -Python 3.5 __

[issue31399] Let OpenSSL verify hostname and IP address

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: The feature has been implemented. I'll take care of the failing tests in #32706. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Python tracker

[issue30141] If you forget to call do_handshake, then everything seems to work but hostname checking is disabled

2018-02-26 Thread Nathaniel Smith
Nathaniel Smith added the comment: Do you mean, the fix is in 3.7 only? -- status: pending -> open ___ Python tracker ___ ___ Python

[issue32706] test_check_hostname() of test_ftplib started to fail randomly

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: Ned, I'm going to rewrite part of the test infrastructure during beta phase. The ssl module now works according to specifications. When the client doesn't recognize a hostname, it aborts the TLS connection with a TLS ALERT message. The old asynchat test sys

[issue30141] If you forget to call do_handshake, then everything seems to work but hostname checking is disabled

2018-02-26 Thread Nathaniel Smith
Nathaniel Smith added the comment: ...huh, not sure why that shows me changing the status. I just typed something in the text box, didn't touch any of the dropdowns... -- status: open -> pending ___ Python tracker

[issue32883] Key agreement parameters not accessible

2018-02-26 Thread Christian Heimes
Change by Christian Heimes : -- stage: -> needs patch versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue32947] Support OpenSSL 1.1.1

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: Ned, Benjamin OpenSSL 1.1.1 is scheduled to be released just before 3.7.0rc1 will come out. I'd rather address as many issues now instead of adding last minute patches to the release candidate. Once OpenSSL 1.1.1 is out and Python 3.7 supports it, we can d

[issue30226] Modernize make_ssl_certs

2018-02-26 Thread Christian Heimes
Change by Christian Heimes : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue28695] Add SSL_CTX_set_client_cert_engine

2018-02-26 Thread Christian Heimes
Change by Christian Heimes : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue28453] SSLObject.selected_alpn_protocol() not documented

2018-02-26 Thread Christian Heimes
Change by Christian Heimes : -- stage: -> needs patch versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15670] PEP 3121, 384 Refactoring applied to ssl module

2018-02-26 Thread Christian Heimes
Change by Christian Heimes : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue32533] SSLSocket read/write thread-unsafety

2018-02-26 Thread Christian Heimes
Change by Christian Heimes : -- assignee: christian.heimes -> steve.dower stage: -> needs patch versions: +Python 3.8 ___ Python tracker ___ ___

[issue31711] ssl.SSLSocket.send(b"") fails

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: It's a bit too late to change the behavior of send(). Let's document the issue instead. -- assignee: christian.heimes -> docs@python components: +Documentation nosy: +alex, docs@python, dstufft, janssen, njs stage: -> needs patch versions: +Python 2

[issue29612] TarFile.extract() suffers from hard links inside tarball

2018-02-26 Thread Joachim Trouverie
Joachim Trouverie added the comment: I created a PR for this issue for Python 2.7 (https://github.com/python/cpython/pull/5753/files). I just skip the link creation if the target path is equals to the link target. I don't see any corner case where this would be an unwanted behavior. I am not

[issue32932] better error message when __all__ contains non-str objects

2018-02-26 Thread Nick Coghlan
Nick Coghlan added the comment: I +1'ed Serhiy's patch for issue 32946, so we'll have to take that micro-optimisation into account if we decide to rely on the Python level `_handle_fromlist` to cover the "*" import case. Given that optimisation, it's probably simpler to just enhance the C err

[issue30141] If you forget to call do_handshake, then everything seems to work but hostname checking is disabled

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: Correct, the fix is in 3.7 and 3.8 only. I don't see a realistic way to address the problem in 3.6 and 2.7 without breaking people on old LTS releases and BSD. (The bug tracker changes status automatically when you reply to a pending ticket.) -- re

[issue31711] ssl.SSLSocket.send(b"") fails

2018-02-26 Thread Nathaniel Smith
Nathaniel Smith added the comment: If openssl says the behavior is undefined, then don't we have to first make it defined before we can document it? And if we're going to detect this case and guarantee some behavior, making it a no-op like it is on regular sockets seems the way to go...

[issue32929] Change dataclasses hashing to use unsafe_hash boolean (default to False)

2018-02-26 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 4cffe2f66b581fa7538f6de884d54a5c7364d8e0 by Eric V. Smith (Miss Islington (bot)) in branch '3.7': bpo-32929: Dataclasses: Change the tri-state hash parameter to the boolean unsafe_hash. (GH-5891) (GH-5902) https://github.com/python/cpython/commit

[issue30141] If you forget to call do_handshake, then everything seems to work but hostname checking is disabled

2018-02-26 Thread Nathaniel Smith
Nathaniel Smith added the comment: I agree that backporting X509_VERIFY_PARAM_set1_host is unreasonable, at least until the openssl ecosystem has moved forward a bit. But in earlier versions, would it be easy to detect that do_handshake() hasn't been called and raise an error? The docs say y

[issue32932] better error message when __all__ contains non-str objects

2018-02-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I was fooled by similarity of Python and C code, but actually Python and C code are not different implementations of the same algorithm, they have different purposes. The purpose of _bootstrap._handle_fromlist() is importing requested submodules first than

[issue32610] asyncio.all_tasks() should return only non-finished tasks.

2018-02-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: After re-thinking I come to another idea: let's keep `all_tasks()` behavior as is but add an `active_tasks()` function for returning all non-finished tasks. It should be done in Python 3.8 -- versions: +Python 3.8 -Python 3.7

[issue31711] ssl.SSLSocket.send(b"") fails

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: The message "EOF occurred in violation of protocol" is set by Python. Python maps SSL_ERROR_SYSCALL with SSL error code == 0 and len == 0 to that error message. https://github.com/python/cpython/blob/master/Modules/_ssl.c#L682-L689 https://github.com/pytho

[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Arcadiy Ivanov
New submission from Arcadiy Ivanov : I'd like to start a discussion on/gauge interest for introducing an enhancement to PEP-498 in a form of delayed/lazy/lambda f-string. The proposed change is, conceptually, minor and would not differ from PEP-498 syntactically at all except for string prefix

[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: class FL: def __init__(self, func): self.func = func def __str__(self): return self.func() extra = FL(lambda: f'{extra},waiters:{len(self._waiters)}') -- nosy: +serhiy.storchaka ___ Python

[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Arcadiy Ivanov
Arcadiy Ivanov added the comment: As an example this is the current state of affairs: >>> def x(): ... foo = "foo" ... s1 = f"S1 value {foo}" ... s2 = f"S2 value {s1}" ... print(s2) ... >>> dis.dis(x) 2 0 LOAD_CONST 1 ('foo') 2 STORE_FAST

[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Eric V. Smith
Eric V. Smith added the comment: See also PEP 501. -- nosy: +eric.smith, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-lis

[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Arcadiy Ivanov
Arcadiy Ivanov added the comment: @serhiy.storchaka Of course a similar pattern can be implemented via a class (or even without one as I've shown below). But you can clearly notice that in your example: 1) There are tons of boilerplate (as in mine with lambdas). 2) It's going to be slower th

[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Arcadiy Ivanov
Arcadiy Ivanov added the comment: @eric.smith Thanks! I was looking for such a general-purpose proposal but could not find it. Although general-purpose mechanism that would allow pluggable constructs like `sh`, `html`, `sql` and the like is awesome and very desirable (especially sh in pref

[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: I think PRs could be merged -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2018-02-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'll take a look on the evening -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue32875] Add __exit__() method to event loops

2018-02-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: Agree -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Arcadiy Ivanov
Arcadiy Ivanov added the comment: > Although general-purpose mechanism that would allow pluggable constructs like > `sh`, `html`, `sql` Strike that one, I didn't read into PEP-0501 deep enough before replying. Yes, `i"format"` is what I'm talking about. -- _

[issue32609] Add setter and getter for min/max protocol version

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: bpo-31453 is the Debian issue that made me start to implement the setter and getter for min/max protocol version. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Debian Sid/Buster: Cannot enable TLS

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

2018-02-26 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +5675 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

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

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: I have closed the feature newer BPO-32609 in favor of this bug because Ned gave this bug a deferred blocker priority. OpenSSL 1.1 has introduced a new API to set the minimum and maximum supported protocol version. The API is easier to use than the old OP_N

[issue21417] Compression level for zipfile

2018-02-26 Thread bbayles
bbayles added the comment: I made a comment about that in the pull request that went unchallenged ([1]), but I'm happy to change it. [1] https://github.com/python/cpython/pull/5385#pullrequestreview-92055354 -- ___ Python tracker

[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Eric V. Smith
Eric V. Smith added the comment: Arcadiy: Somehow you're dropping Serhiy and me from the nosy list. I've re-added us. -- nosy: +eric.smith, serhiy.storchaka ___ Python tracker ___

[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Arcadiy Ivanov
Arcadiy Ivanov added the comment: Sorry about that! I'll be sure to refresh next time before posting a reply. -- ___ Python tracker ___

[issue32937] Multiprocessing worker functions not terminating with a large number of processes and a manager

2018-02-26 Thread EricG
EricG added the comment: If I do: from queue import Queue messages = Queue() No messages are printed. I believe this is expected as a regular Queue cannot be shared between processes. It was a problem that the manager was designed to solve. I am using a MacPro running 10.3.2 Python

[issue32922] dbm.open() encodes filename with default encoding rather than the filesystem encoding

2018-02-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 6f600ff1734ca2fdcdd37a809adf8130f0d8cc4e by Serhiy Storchaka in branch 'master': bpo-32922: dbm.open() now encodes filename with the filesystem encoding. (GH-5832) https://github.com/python/cpython/commit/6f600ff1734ca2fdcdd37a809adf8130f0d8cc

[issue32896] Error when subclassing a dataclass with a field that uses a defaultfactory

2018-02-26 Thread Eric V. Smith
Change by Eric V. Smith : -- priority: release blocker -> deferred blocker ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue32922] dbm.open() encodes filename with default encoding rather than the filesystem encoding

2018-02-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +5676 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32955] IDLE crashes when trying to save a file

2018-02-26 Thread zaphod424
New submission from zaphod424 : when I click the save as button or use the keyboard shortcut, the save window appears but if I click the drop down to choose the save location, it crashes, using a Mac -- assignee: terry.reedy components: IDLE messages: 312926 nosy: terry.reedy, zaphod42

[issue32922] dbm.open() encodes filename with default encoding rather than the filesystem encoding

2018-02-26 Thread miss-islington
miss-islington added the comment: New changeset a9e0b070b3e36701d0139361c769d374c4aacf1a by Miss Islington (bot) in branch '3.7': bpo-32922: dbm.open() now encodes filename with the filesystem encoding. (GH-5832) https://github.com/python/cpython/commit/a9e0b070b3e36701d0139361c769d374c4aacf1

[issue32922] dbm.open() encodes filename with default encoding rather than the filesystem encoding

2018-02-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +5677 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

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

2018-02-26 Thread miss-islington
miss-islington added the comment: New changeset fbf7aac36bd1017bc87964b5d17dce0e101ff2d6 by Miss Islington (bot) in branch '3.6': bpo-18533: Avoid RecursionError from repr() of recursive dictview (GH-4823) https://github.com/python/cpython/commit/fbf7aac36bd1017bc87964b5d17dce0e101ff2d6

[issue30296] Remove unnecessary tuples, lists, sets, and dicts from Lib

2018-02-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 3f2e6f15d64d81633b1fc0b308afc0d6e9026b61 by Serhiy Storchaka in branch 'master': Revert unneccessary changes made in bpo-30296 and apply other improvements. (GH-2624) https://github.com/python/cpython/commit/3f2e6f15d64d81633b1fc0b308afc0d6e90

[issue30296] Remove unnecessary tuples, lists, sets, and dicts from Lib

2018-02-26 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +5678 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue15767] add ModuleNotFoundError

2018-02-26 Thread Christoph Groth
Christoph Groth added the comment: I'm trying to understand why ModuleNotFoundError was added to 3.6. The "what's new" entry links to this page. Looking at the discussion, Guido said in 2013: "Right. Outside importlib there shouldn't be a need to distinguish between the cases (especially gi

[issue32957] distutils.command.install checks truthiness of .ext_modules instead of calling .has_ext_modules()

2018-02-26 Thread Korijn Van Golen
New submission from Korijn Van Golen : distutils' Distribution class has a method has_ext_modules() that is used to determine if any extension modules are included in a distribution. There remains a call site in distutils.command.install where self.distribution.ext_modules is directly tested f

[issue32956] python 3 round bug

2018-02-26 Thread M Hsia
New submission from M Hsia : import sys print(sys.version) for i in range(10): test=i+0.5 print (test,round(test,0)) 3.6.3 |Anaconda custom (64-bit)| (default, Nov 8 2017, 15:10:56) [MSC v.1900 64 bit (AMD64)] 0.5 0.0 1.5 2.0 2.5 2.0 3.5 4.0 4.5 4.0 5.5 6.0

[issue32957] distutils.command.install checks truthiness of .ext_modules instead of calling .has_ext_modules()

2018-02-26 Thread Korijn Van Golen
Change by Korijn Van Golen : -- keywords: +patch pull_requests: +5679 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue32956] python 3 round bug

2018-02-26 Thread M Hsia
M Hsia added the comment: import sys print(sys.version) for i in range(10): test=i+0.5 print (test,round(test,0)) 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] 0.5 0.0 1.5 2.0 2.5 2.0 3.5 4.0 4.5 4.0 5.5 6.0 6.5 6.0 7.5 8.0 8.5 8

[issue13790] In str.format an incorrect error message for list, tuple, dict, set

2018-02-26 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue17286] Make subprocess handling text output with universal_newlines more obious

2018-02-26 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue13897] Move fields relevant to sys.exc_info out of frame into generator/threadstate

2018-02-26 Thread Mark Shannon
Mark Shannon added the comment: Nothing left to do. This is now obsolete. -- resolution: -> out of date stage: patch review -> resolved status: pending -> open ___ Python tracker

[issue13897] Move fields relevant to sys.exc_info out of frame into generator/threadstate

2018-02-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue32956] python 3 round bug

2018-02-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It works as documented. """ For the built-in types supporting round(), values are rounded to the closest multiple of 10 to the power minus ndigits; if two multiples are equally close, rounding is done toward the even choice (so, for example, both round(0.5)

[issue30296] Remove unnecessary tuples, lists, sets, and dicts from Lib

2018-02-26 Thread miss-islington
miss-islington added the comment: New changeset f8a3485dcd41a00c5e99c5be6adc67cb2638b366 by Miss Islington (bot) in branch '3.7': Revert unneccessary changes made in bpo-30296 and apply other improvements. (GH-2624) https://github.com/python/cpython/commit/f8a3485dcd41a00c5e99c5be6adc67cb2638

[issue30296] Remove unnecessary tuples, lists, sets, and dicts from Lib

2018-02-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue32955] IDLE crashes when trying to save a file

2018-02-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Open IDLE, click Help => About IDLE, look at the tcl/tk version, and report it here. If it is not 8.5.18, follow instructions on https://www.python.org/download/mac/tcltk/ to update. Ask on python-list if you need help doing so. -- __

[issue32647] Undefined references when compiling ctypes on binutils 2.29.1 with gcc -Wl, -z, undefs (Fedora 28)

2018-02-26 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: Tested the fix and ctypes is linked successfully with libdl when utilizing the strict symbol check. -- stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue17288] cannot jump from a 'return' or 'exception' trace event

2018-02-26 Thread Xavier de Gaye
Xavier de Gaye added the comment: Those are the changes with the current behavior from the behavior in 3.5 observed at the time of the initial bug report: python 3.7: return.pyUnchanged. exception.py After a jump from the 'exception' event into the previous statement, the ensuing

[issue15767] add ModuleNotFoundError

2018-02-26 Thread Guido van Rossum
Guido van Rossum added the comment: Read Eric's message before mine. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread Steve Dower
Steve Dower added the comment: New changeset 19e7d48ce89422091f9af93038b9fee075d46e9e by Steve Dower (animalize) in branch 'master': bpo-32394: Remove some TCP options on old version Windows. (GH-5523) https://github.com/python/cpython/commit/19e7d48ce89422091f9af93038b9fee075d46e9e

[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +5680 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread Steve Dower
Steve Dower added the comment: New changeset 1278c21f5234477aab21531773d65ca7ebd1b81f by Steve Dower (animalize) in branch '3.6': [3.6] bpo-32394: Remove some TCP options on older version Windows. (GH-5585) https://github.com/python/cpython/commit/1278c21f5234477aab21531773d65ca7ebd1b81f ---

[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread Steve Dower
Steve Dower added the comment: Agreed. I've merged these (and Miss Islington should get the 3.7 backport when CI completes) -- resolution: -> fixed stage: patch review -> backport needed ___ Python tracker

[issue32303] Namespace packages have inconsistent __loader__ and __spec__.loader

2018-02-26 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- pull_requests: +5681 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32872] backport of #32305 causes regressions in various packages

2018-02-26 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- keywords: +patch pull_requests: +5682 stage: needs patch -> patch review ___ Python tracker ___ ___ Py

[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread miss-islington
miss-islington added the comment: New changeset 53d3f8a89971bac3d2f454ff9f923066ecc3a6d9 by Miss Islington (bot) in branch '3.7': bpo-32394: Remove some TCP options on old version Windows. (GH-5523) https://github.com/python/cpython/commit/53d3f8a89971bac3d2f454ff9f923066ecc3a6d9 --

[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower stage: backport needed -> resolved status: open -> closed ___ Python tracker ___ ___

[issue32303] Namespace packages have inconsistent __loader__ and __spec__.loader

2018-02-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: New changeset 86ea85134645c75783936ca4b5c6269cb8ac4634 by Barry Warsaw in branch '3.6': Revert "[3.6] bpo-32303 - Consistency fixes for namespace loaders (GH-5481) (#5504)" (#5911) https://github.com/python/cpython/commit/86ea85134645c75783936ca4b5c6269cb8ac

[issue32872] backport of #32305 causes regressions in various packages

2018-02-26 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue32305] Namespace packages have inconsistent __file__ and __spec__.origin

2018-02-26 Thread Ned Deily
Ned Deily added the comment: Note that this change was originally also backported to 3.6 in PR 5504 but, due to third-party package regressions discovered in pre-release testing, the 3.6 change was reverted in PR 5591 prior to release of 3.6.5rc1. -- nosy: +ned.deily versions: -Pytho

[issue32958] Urllib proxy_bypass crashes for urls containing long basic auth strings

2018-02-26 Thread Aaron Black
New submission from Aaron Black : While working on a custom conda channel with authentication, I ran into the following UnicodeError: Traceback (most recent call last): File "/Users/ablack/miniconda3/lib/python3.6/site-packages/conda/core/repodata.py", line 402, in fetch_repodata_remote_req

[issue32147] improve performance of binascii.unhexlify() by using conversion table

2018-02-26 Thread Ned Deily
Change by Ned Deily : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue23808] Symlink to directory on Windows 8

2018-02-26 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: This behavior is not specific to just Windows 8. Symlinks to directories are treated as directories on Windows, in particular, they should be removed with RemoveDirectory, not DeleteFile. Is there any reason this issue is still open? -- nosy: +izbys

[issue29334] ssl.SSLObject method getpeercert() is buggy, do_handshake() is strange

2018-02-26 Thread Ned Deily
Change by Ned Deily : -- nosy: +benjamin.peterson -ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue15767] add ModuleNotFoundError

2018-02-26 Thread Christoph Groth
Christoph Groth added the comment: > Read Eric's message before mine. Of course I read it, I wouldn't have asked otherwise. Eric mentions an older message ("see msg182332") that *predates* your judgment that "outside importlib there shouldn't be a need to distinguish between the cases". Oth

  1   2   >