[issue27983] "Cannot perform PGO build because llvm-profdata was not found in PATH" error upon make

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f04287e7bea by Gregory P. Smith in branch '2.7': Fixes issue# 27983: Cause lack of llvm-profdata tool when using clang - https://hg.python.org/cpython/rev/3f04287e7bea -- ___ Python tracker

[issue26359] CPython build options for out-of-the box performance

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset bc28cbd49070 by Gregory P. Smith in branch '2.7': Issue #26359: Add the --with-optimizations flag. https://hg.python.org/cpython/rev/bc28cbd49070 -- ___ Python tracker

[issue27983] "Cannot perform PGO build because llvm-profdata was not found in PATH" error upon make

2016-09-08 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue26359] CPython build options for out-of-the box performance

2016-09-08 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-09-08 Thread Cory Benfield
Cory Benfield added the comment: Thanks for your response Larry. I think it cleared up my understanding a bit, and I'm (extremely!) sympathetic to your desire to not get any closer to this problem than you have to. I think it may be worth, in future, defining what effort will be made to achie

[issue28005] Broken encoding modules are silently skipped.

2016-09-08 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Thinking about this some, we could go ahead and document somewhere that if a codec wants to tell the search function that it cannot work due to some missing dependency, it will have to raise an ImportError from the codec module level (instead of just lette

[issue28015] configure --with-lto builds fail when CC=clang on Linux, requires gold linker

2016-09-08 Thread Gregory P. Smith
New submission from Gregory P. Smith: The error message you will see when building may look something like: clang -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fprofile-instr-generate -flto Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser

[issue25761] Improve unpickling errors handling

2016-09-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue28016] test_fileio fails on AIX

2016-09-08 Thread Matthieu S
New submission from Matthieu S: == FAIL: testAbles (test.test_fileio.COtherFileTests) -- Traceback (most recent call last): File "/opt/freeware/src/packages/B

[issue26798] add BLAKE2 to hashlib

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: Other tests catch OSError and HTTPError. I have changed read_vectors() to do the same for now. -- ___ Python tracker ___

[issue26798] add BLAKE2 to hashlib

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 46b34706eb41 by Christian Heimes in branch 'default': Issue 26798: fetch OSError and HTTPException like other tests that use open_urlresource. https://hg.python.org/cpython/rev/46b34706eb41 -- ___ Python

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: On 2016-09-08 09:28, Cory Benfield wrote: > > Cory Benfield added the comment: > > Thanks for your response Larry. I think it cleared up my understanding a bit, > and I'm (extremely!) sympathetic to your desire to not get any closer to this > problem than y

[issue11551] test_dummy_thread.py test coverage improvement

2016-09-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is an updated patch that increases the coverage to 100% and has some pep8 style improvements. shannon-2:issue11551 senthil$ ./python.exe -m test.regrtest test_dummy_thread Run tests sequentially 0:00:00 [1/1] test_dummy_thread 1 test OK. Total duration:

[issue28017] bluetooth.h on big endian needs GNU C extensions

2016-09-08 Thread Christian Heimes
New submission from Christian Heimes: PPC Fedora build bot is not able to build the _ssl and _socket module. It looks like bluetooth.h is not compatible with std=c99. It uses some GNU C extensions like __extension__, __attribute__((packed)) and __typeof__. The C99 variant -std=gnu99 should do

[issue28017] bluetooth.h on big endian needs GNU C extensions

2016-09-08 Thread Martin Panter
Martin Panter added the comment: I don’t have access to the buildbot. Are you sure it uses __typeof__? The error message says “typeof” without the underscores. I suspect that it would work with the underscores. -- nosy: +martin.panter superseder: -> PPC64 Fedora socket and ssl compile

[issue28017] bluetooth.h on big endian needs GNU C extensions

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset b5b2bb56d303 by Christian Heimes in branch 'default': Issue 28017: Use -std=gnu99 to get C99 with GNU extensions for bluetooth.h on big endian. https://hg.python.org/cpython/rev/b5b2bb56d303 -- nosy: +python-dev ___

[issue28017] bluetooth.h on big endian needs GNU C extensions

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: Let's give it a try. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue28013] PPC64 Fedora socket and ssl compile failure

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: #28017 and -std=gnu99 fixes the problem. The header files needs GNU extensions on big endian machines. -- nosy: +christian.heimes resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue11551] test_dummy_thread.py test coverage improvement

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 08f446bf45a7 by Senthil Kumaran in branch '3.5': Issue11551 - Increase the test coverage of _dummy_thread module to 100%. https://hg.python.org/cpython/rev/08f446bf45a7 New changeset d69e0df64b11 by Senthil Kumaran in branch 'default': [merge from 3

[issue11551] test_dummy_thread.py test coverage improvement

2016-09-08 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue28017] bluetooth.h on big endian needs GNU C extensions

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: It compiles now. Sorry for the duplicate ticket. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue26798] add BLAKE2 to hashlib

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue16113] Add SHA-3 and SHAKE (Keccak) support

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue28016] test_fileio fails on AIX

2016-09-08 Thread Martin Panter
Martin Panter added the comment: You should be able to provide a tuple of prefixes (I can easily change to that change when I commit): not sys.platform.startswith(('sunos', 'aix')) However I noticed the AIX buildbots are all passing test_fileio. I wonder what the difference is? Maybe the buil

[issue27364] Deprecate invalid escape sequences in str/bytes

2016-09-08 Thread Emanuel Barry
Emanuel Barry added the comment: Thank you R. David for the review, here's a new patch with the one change. -- Added file: http://bugs.python.org/file44463/invalid_stdlib_escapes_4.patch ___ Python tracker

[issue28018] Cross compilation fails in regen

2016-09-08 Thread Chi Hsuan Yen
New submission from Chi Hsuan Yen: Since issue23968 landed (changeset 5c77488830bc), cross compilation fails. It's not regression of a single revision but is caused by a combination of multiple changes. Here are my steps: 1. git clone https://github.com/yan12125/python3-android 2. comment `pat

[issue16113] Add SHA-3 and SHAKE (Keccak) support

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset e5871ffe9ac0 by Christian Heimes in branch 'default': Issue #16113: SHA3: allocate extra memory for lane extraction and check return value of PyModule_Create() https://hg.python.org/cpython/rev/e5871ffe9ac0 -- _

[issue26798] add BLAKE2 to hashlib

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset fa89fff0b52c by Christian Heimes in branch 'default': Issue #26798: Coverity complains about potential memcpy() of overlapped regions. It doesn't hurt to use memmove() here. CID 1372514 / CID 1372515. Upstream https://github.com/BLAKE2/BLAKE2/issue

[issue26971] python v3.5.1: sys.paths not respecting DESTDIRS and DESTSHARED

2016-09-08 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Sorry that I haven't answered for a long time. I would like to get an email > notification but I don't know whether/how I can enable it. You should get an email upon each message posted to this issue. The email is sent to the address you have registered with

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

2016-09-08 Thread Jeroen Demeyer
Changes by Jeroen Demeyer : -- keywords: +patch Added file: http://bugs.python.org/file44464/no_strict_proto.patch ___ Python tracker ___ _

[issue1602] windows console doesn't print or input Unicode

2016-09-08 Thread Martin Panter
Martin Panter added the comment: +++ b/Lib/test/test_winconsoleio.py +to real people with real keyborads. Should be keyboards There are still assert_() calls in this file (1602_6.patch). Did you miss them? +++ b/Lib/io.py +from _io import WindowsConsoleIO +__all__.append('WindowsConsoleIO') I th

[issue1602] windows console doesn't print or input Unicode

2016-09-08 Thread Martin Panter
Martin Panter added the comment: Ah sorry I see Berker’s assert_() comment was _after_ you posted 1602_6.patch, so ignore that bit :) -- ___ Python tracker ___ __

[issue1602] windows console doesn't print or input Unicode

2016-09-08 Thread Martin Panter
Martin Panter added the comment: Also as I understand it, the open() function can return this new class, so the documentation at needs updating. -- ___ Python tracker

[issue3672] Ill-formed surrogates not treated as errors during encoding/decoding

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2150eadb54c7 by Serhiy Storchaka in branch 'default': Remove old typo. https://hg.python.org/cpython/rev/2150eadb54c7 -- nosy: +python-dev ___ Python tracker __

[issue28019] itertools.count() falls back to fast (integer) mode when step rounds to 1

2016-09-08 Thread Marcos Dione
New submission from Marcos Dione: If the `step` parameter for `itertools.count()` rounds to 1 (f.i., 1.1, 1.437643, 1.9), then it fallsback to fast (integer) mode and increases the counter by 1. Here's an example: Python 3.6.0a4+ (default:ddc95a9bc2e0+, Sep 8 2016, 14:46:19) >>> import it

[issue28020] Python 3 logging HTTPHandler doesn't implement a standard http basic authorize

2016-09-08 Thread SenBin Yu
New submission from SenBin Yu: The standard http basic authorization is basic-credentials = "Basic" SP basic-cookie basic-cookie = userid-password = [ token ] ":" *TEXT but the logging/handlers module do the fllowing: s = ('u%s:%s' % self.credentials).encode('utf-8') s = 'Basic ' +

[issue27364] Deprecate invalid escape sequences in str/bytes

2016-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I suggest to not change fixcid.py. It is not correct and there is special issue for this (issue27952). -- ___ Python tracker ___

[issue28019] itertools.count() falls back to fast (integer) mode when step rounds to 1

2016-09-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28019] itertools.count() falls back to fast (integer) mode when step rounds to 1

2016-09-08 Thread Facundo Batista
Changes by Facundo Batista : -- versions: +Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue27364] Deprecate invalid escape sequences in str/bytes

2016-09-08 Thread Emanuel Barry
Emanuel Barry added the comment: All right, since you'll work on it I'm leaving it out. Removed it and test_bytes (which you already fixed, thanks!) from new patch. -- Added file: http://bugs.python.org/file44465/invalid_stdlib_escapes_5.patch ___ Py

[issue6766] Cannot modify dictionaries inside dictionaries using Managers from multiprocessing

2016-09-08 Thread Berker Peksag
Changes by Berker Peksag : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue27877] Add recipe for "valueless" Enums to docs

2016-09-08 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-

[issue28005] Broken encoding modules are silently skipped.

2016-09-08 Thread Steve Dower
Steve Dower added the comment: Is it deliberate that inner import errors should be treated as if the codec is missing? Another search function isn't going to help in that case unless it finds the same encoding in another place. I didn't see any evidence of that, and apparently neither did Eric

[issue27010] email library could "recover" from bad mime boundary like (some?) email clients do

2016-09-08 Thread Andrea De Pasquale
Andrea De Pasquale added the comment: Yes you are right, my patch produces an RFC2046-compliant output and also registers the "not-unique-boundary" defect. -- ___ Python tracker ___

[issue27881] Fix possible bugs when setting sqlite3.Connection.isolation_level

2016-09-08 Thread Berker Peksag
Berker Peksag added the comment: Closing this as 'fixed'. Any further improvement can be discussed in separate issues. Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue28020] Python 3 logging HTTPHandler doesn't implement a standard http basic authorize

2016-09-08 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: There's indeed a 'u' in 3.5.1: https://hg.python.org/cpython/file/v3.5.1/Lib/logging/handlers.py#l1157 and latter fixed in 3.5.2: https://hg.python.org/cpython/file/v3.5.2/Lib/logging/handlers.py#l1159. Please consider update. -- nosy: +Chi Hsuan Yen

[issue28020] Python 3 logging HTTPHandler doesn't implement a standard http basic authorize

2016-09-08 Thread SilentGhost
Changes by SilentGhost : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> TypeError in logging.HTTPHandler.emit; possible python 2 to 3 conversion issue ___ Python tracker __

[issue26470] Make OpenSSL module compatible with OpenSSL 1.1.0

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue28021] Calculating wrong modulus manually

2016-09-08 Thread Faisal Saleem
New submission from Faisal Saleem: Hi, when I calculate (11**19)%23 it gives me 15 but when I try to do the same operation manually it give a totally different result which is 1395. >>> 11**19 61159090448414546291 >>> (11**19)%23 15 >>> a=11**19 >>> a 61159090448414546291 >>> b=23 >>> c=int(a/

[issue28019] itertools.count() falls back to fast (integer) mode when step rounds to 1

2016-09-08 Thread Marcos Dione
Marcos Dione added the comment: Here's a first approach on fixing this bug. I'm not sure how to handle the case where step=1.0. -- keywords: +patch Added file: http://bugs.python.org/file44466/fix_28019.diff ___ Python tracker

[issue28019] itertools.count() falls back to fast (integer) mode when step rounds to 1

2016-09-08 Thread Marcos Dione
Changes by Marcos Dione : -- versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10274] imaplib should provide a means to validate a remote server ssl certificate(s)

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: You can use a custom ssl context to enforce cert and hostname validation: >>> import imaplib, ssl >>> ctx = ssl.create_default_context() >>> conn = imaplib.IMAP4_SSL("74.125.133.109", ssl_context=ctx) Traceback (most recent call last): ... ssl.CertificateError

[issue1522400] irda socket support

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.6, Python 3.7 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue15426] On a x86_64 Linux workstation, the build-from-source is borked.

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> out of date stage: -> patch review status: open -> pending versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker

[issue15769] urllib.request.urlopen with cafile or capath set overrides any previous Handlers

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: The ticket hasn't moved in about four years. Does the issue still persist? -- nosy: +christian.heimes resolution: -> out of date stage: needs patch -> patch review status: open -> pending versions: +Python 3.6, Python 3.7 -Python 3.2, Python 3.3, Pyth

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

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen stage: -> needs patch versions: +Python 3.6, Python 3.7 -Python 3.4 ___ Python tracker ___

[issue28021] Calculating wrong modulus manually

2016-09-08 Thread Xiang Zhang
Xiang Zhang added the comment: You should use a//b instead of int(a/b). >>> 11**19 - 11**19//23*23 15 >>> 11**19 - int(11**19/23)*23 1395 -- nosy: +xiang.zhang ___ Python tracker __

[issue28019] itertools.count() falls back to fast (integer) mode when step rounds to 1

2016-09-08 Thread SilentGhost
Changes by SilentGhost : -- stage: -> patch review versions: -Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mai

[issue7672] _ssl module overwrites existing thread safety callbacks

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: OpenSSL 1.1.0 comes with its own locking code. I'm not going to change the module for < 1.1.0. -- nosy: +christian.heimes resolution: -> wont fix status: open -> closed ___ Python tracker

[issue4470] smtplib SMTP_SSL not working.

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: The bug is 8 years old and hasn't seen activity for three years. Is SMTP over SSL still broken for you? -- nosy: +christian.heimes status: open -> pending ___ Python tracker

[issue18029] Python SSL support is missing from SPARC build

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: SPARC is no longer a supported platform. -- nosy: +christian.heimes resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___

[issue13403] Option for XMLPRC Server to support HTTPS

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: The patch is out of date. The XMLRPC HTTPS server should accept a ssl context instead of key and cert file. This allows better customization and SSL session resumption. -- nosy: +christian.heimes versions: +Python 3.7 -Python 3.4 ___

[issue10852] SSL/TLS sni use in smtp, pop, imap, nntp, ftp client libs by default

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: Good idea, but the patch is outdated. We can enforce verification by changing ssl._create_stdlib_context. -- assignee: -> christian.heimes nosy: +alex, dstufft, janssen priority: normal -> high versions: +Python 3.6, Python 3.7 -Python 3.4 _

[issue28019] itertools.count() falls back to fast (integer) mode when step rounds to 1

2016-09-08 Thread Facundo Batista
Facundo Batista added the comment: I think the fix nails it; all the problem was that the "fast" mode was wrongly detected, and all the problems (counting badly, or a bad repr, etc) is a problem after setting cnt into PY_SSIZE_T_MAX. IIUC there is nothing special to do when step=1.0, as later

[issue10852] SSL/TLS sni use in smtp, pop, imap, nntp, ftp client libs by default

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: Oh sorry, this is about SNI not verified context. All protocols support SNI for some time. -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue18636] mingw: setup _ssl module

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: Is this patch still relevant and required? -- nosy: +christian.heimes status: open -> pending versions: +Python 3.6, Python 3.7 -Python 3.4 ___ Python tracker ___

[issue9146] Segfault in hashlib in OpenSSL FIPS mode using non-FIPS-compliant hashes, if "ssl" imported before "hashlib"

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: I can no longer reproduce the crash with Python 2.7 and 3.5 (Fedora 24 with OpenSSL 1.0.2h). Is this still a problem for you? -- status: open -> pending ___ Python tracker __

[issue9216] FIPS support for hashlib

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.6, Python 3.7 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue18617] TLS and Intermediate Certificates

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker ___ ___

[issue21649] Mention "Recommendations for Secure Use of TLS and DTLS"

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: https://wiki.mozilla.org/Security/Server_Side_TLS is a good resource, too. -- versions: +Python 3.6, Python 3.7 ___ Python tracker ___ ___

[issue20469] ssl.getpeercert() should include extensions

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: We cannot support arbitrary extensions. If you need special extension, then you have to get the raw DER cert and use some library like pyasn1 to parse the cert yourself. PyCA cryptography might help you with that, too. -- resolution: -> wont fix sta

[issue18616] enable more ssl socket options with get_server_certificate

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: I would accept a patch that adds a ssl_context argument to get_server_certificate(). -- status: open -> pending versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5 ___ Python tracker

[issue21830] ssl.wrap_socket fails on Windows 7 when specifying ca_certs

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: The ticket hasn't been updated in two years. -- resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue16763] test_ssl with connect_ex don't handle unreachable server correctly

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: It's probably out of date :) Please reopen if you still see this issue. -- nosy: +christian.heimes resolution: -> out of date status: open -> closed ___ Python tracker

[issue28019] itertools.count() falls back to fast (integer) mode when step rounds to 1

2016-09-08 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue9423] Error in urllib2.do_open(self, http_class, req)

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: No activity in two years, I'm closing this ticket. -- nosy: +christian.heimes resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue22301] smtplib.SMTP.starttls' documentation is just confusing

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: starttls() does accept a ssl_context argument for a while. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

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

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- stage: -> needs patch type: -> behavior versions: +Python 3.6, Python 3.7 -Python 3.4 ___ Python tracker ___ __

[issue1481032] patch smtplib:when SMTPDataError, rset crashes with sslerror

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: Is this still an issue? The bug is 10 years old and the patch two years. -- nosy: +christian.heimes status: open -> pending versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4 ___ Python tracker

[issue20994] Disable TLS Compression

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: the default context sets context.options |= getattr(_ssl, "OP_NO_COMPRESSION", 0), _create_unverified_context() is missing that line. -- stage: -> needs patch type: -> security versions: +Python 3.6, Python 3.7 -Python 3.3, Python 3.4 _

[issue20994] Disable TLS Compression

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue28019] itertools.count() falls back to fast (integer) mode when step rounds to 1

2016-09-08 Thread Marcos Dione
Marcos Dione added the comment: New patch following comments from SilentGhost. -- Added file: http://bugs.python.org/file44467/fix_28019.diff ___ Python tracker ___ _

[issue23033] Disallow support for a*.example.net, *a.example.net, and a*b.example.net in certificate wildcard handling.

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: Sounds good to me! For 3.7 I'm planning to use OpenSSL's hostname verification system and deprecate match_hostname(). It does support partial matching by default. -- nosy: +christian.heimes stage: -> needs patch type: -> security versions: +Python

[issue22870] urlopen timeout failed with SSL socket

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: Is this bug still relevant for you? -- nosy: +christian.heimes status: open -> pending ___ Python tracker ___

[issue22866] ssl module in 2.7 should provide a way to configure default context options

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: MAL, where is your patch? :) -- nosy: +christian.heimes stage: -> needs patch status: open -> pending type: enhancement -> security ___ Python tracker __

[issue23274] make_ssl_data.py in Python 2.7.9 needs Python 3 to run

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: It's 2016. Everybody should have a host with Python 3. In fact it's more likely that your machine doesn't have 2.7. -- nosy: +christian.heimes resolution: -> wont fix status: open -> closed ___ Python tracker

[issue28022] SSL releated deprecation for 3.6

2016-09-08 Thread Christian Heimes
New submission from Christian Heimes: I like to deprecate some SSL related parts of Python: - ssl.wrap_socket() is a horrible abomination. People should use SSLContext.wrap_socket() instead - all certfile/cert_file, keyfile/key_file and check_hostname arguments. Use context / ssl_context inste

[issue20924] openssl init 100% CPU utilization on Windows

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue23588] Errno conflicts in ssl.SSLError

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list

[issue17123] Add OCSP support to ssl module

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: I'll add OCSP stapling verification to 3.7. -- versions: +Python 3.7 -Python 3.5 ___ Python tracker ___ __

[issue23843] ssl.wrap_socket doesn't handle virtual TLS hosts

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: ssl.wrap_socket() will be deprecated in 3.6. Please use a context. You can still inspect the server cert with a context. In fact ssl.wrap_socket() uses a context internally. -- resolution: -> wont fix status: open -> closed versions: +Python 3.6 -Py

[issue23843] ssl.wrap_socket doesn't handle virtual TLS hosts

2016-09-08 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: -giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue23588] Errno conflicts in ssl.SSLError

2016-09-08 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: -giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue24372] Documentation for ssl.wrap_socket's ssl_version parameter is odd

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: OpenSSL 1.1.0 has deprecated all versions except TLS_METHOD and DTLS_METHOD. TLS_METHOD is the new name for auto-nego SSLv23_METHOD. Python 3.6 defaults to TLS_METHOD already. #27876 will add a better way to configure accepted versions. -- status: op

[issue24542] ssl - SSL_OP_NO_TICKET not reimplemented

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: I will provide the option as part of #19500. -- resolution: -> duplicate status: open -> closed superseder: -> Add client-side SSL session resumption versions: +Python 3.6, Python 3.7 -Python 2.7 ___ Python tracke

[issue24516] SSL create_default_socket purpose insufficiently documented

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.6, Python 3.7 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue24545] Issue with ssl package

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: It will be fix in 2.7.13 as part of my OpenSSL 1.1.0 patch. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue24334] SSLSocket extra level of indirection

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.7 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue25115] SSL_set_verify_depth not exposed by the ssl module

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.7 -Python 2.7, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue8106] SSL session management

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: I'm going to implement sessions in #19500. -- resolution: -> duplicate status: open -> closed superseder: -> Add client-side SSL session resumption versions: +Python 3.6 -Python 3.5 ___ Python tracker

  1   2   3   4   >