[issue31377] remove *_INTERNED opcodes from marshal

2017-09-06 Thread Benjamin Peterson
New submission from Benjamin Peterson: The *_INTERN opcodes inform the marsahl reader to intern the encoded string after deserialization. I believe for pycs this is pointless because PyCode_New ends up interning all strings that are interesting to intern. Writing this opcodes makes pycs

[issue30096] Update examples in abc documentation to use abc.ABC

2017-09-06 Thread Vedran Čačić
Vedran Čačić added the comment: "Best practices" according to whom? Inheritance is one thing, metaclass changing is another thing. They should look different. Yes, I appreciate the fact that I can write "(Blah)" instead of "(metaclass=BlahMeta)" in quick and dirty scripts, but my feeling is

[issue22635] subprocess.getstatusoutput changed behavior in 3.4 (maybe 3.3.4?)

2017-09-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: marking "closed/resolved" but also "won't fix" as the behavior change remains, but we've done the safest thing at this point: documented the fact. -- resolution: -> wont fix stage: -> resolved status: open -> closed

[issue17446] doctest test finder doesnt find line numbers of properties

2017-09-06 Thread Michael Cuthbert
Changes by Michael Cuthbert : -- pull_requests: +3416 ___ Python tracker ___ ___

[issue29988] (async) with blocks and try/finally are not as KeyboardInterrupt-safe as one might like

2017-09-06 Thread Nick Coghlan
Nick Coghlan added the comment: It isn't writing the test case that's the problem - the same technique we're using for the synchronous CM works for the asynchronous CM as well. The problem is that unlike the synchronous CM, the DEFER_PENDING_UNTIL opcode isn't sufficient to make the async CM

[issue31344] f_trace_opcodes frame attribute to switch to per-opcode tracing

2017-09-06 Thread Nick Coghlan
Nick Coghlan added the comment: My posted PR implements the "independent flags" option, where f_trace_lines and f_trace_opcodes allow per-line and per-opcode events to be requested independently. The default is to emit per-line events (as has historically been the case). -- stage:

[issue31344] f_trace_opcodes frame attribute to switch to per-opcode tracing

2017-09-06 Thread Nick Coghlan
Changes by Nick Coghlan : -- pull_requests: +3415 ___ Python tracker ___ ___

[issue22635] subprocess.getstatusoutput changed behavior in 3.4 (maybe 3.3.4?)

2017-09-06 Thread Christian Heimes
Christian Heimes added the comment: New changeset dee54f6010ee2df60322c350a5f1dc8bfcf367d6 by Christian Heimes (Miss Islington (bot)) in branch '3.6': [3.6] bpo-22635: subprocess.getstatusoutput doc update. (GH-3398) (#3411)

[issue28958] Python should return comperhansive error when SSLContext cannot be created

2017-09-06 Thread Christian Heimes
Changes by Christian Heimes : -- pull_requests: +3414 ___ Python tracker ___ ___

[issue30465] FormattedValue expressions have wrong lineno and col_offset information

2017-09-06 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset aa1afc72c1ee1f090e6302198d9a0295f1ce1c05 by ericvsmith (Miss Islington (bot)) in branch '3.6': bpo-30465: Fix lineno and col_offset in fstring AST nodes (GH-1800) (gh-3409)

[issue24516] SSL create_default_socket purpose insufficiently documented

2017-09-06 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue31340] Use VS 2017 compiler for build

2017-09-06 Thread INADA Naoki
INADA Naoki added the comment: Nice! VS2017 is much lighter than VS2015 for install size! https://blogs.msdn.microsoft.com/vcblog/2016/08/22/the-lightweight-visual-studio-15-installer/ -- nosy: +inada.naoki ___ Python tracker

[issue31371] Remove deprecated tkinter.tix module in 3.7

2017-09-06 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker ___ ___

[issue12197] non-blocking SSL write fails if a partial write was issued

2017-09-06 Thread Christian Heimes
Christian Heimes added the comment: I'm closing this issue because it hasn't seen any activity in six years. Please reopen it with more information if your problem still persists. -- assignee: christian.heimes -> resolution: -> out of date stage: needs patch -> resolved status: open

[issue25852] smtplib's SMTP.connect() should store the server name in ._host for .starttls()

2017-09-06 Thread Christian Heimes
Changes by Christian Heimes : -- components: -SSL ___ Python tracker ___ ___

[issue25852] smtplib's SMTP.connect() should store the server name in ._host for .starttls()

2017-09-06 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> r.david.murray stage: needs patch -> patch review versions: +Python 2.7 -Python 3.5 ___ Python tracker

[issue28182] Expose OpenSSL verification results in SSLError

2017-09-06 Thread Christian Heimes
Changes by Christian Heimes : -- pull_requests: +3413 ___ Python tracker ___ ___

[issue30816] test_open() of test_eintr timeout after 10 min on "x86-64 El Capitan 3.x"

2017-09-06 Thread STINNER Victor
STINNER Victor added the comment: The test also failed on x86-64 Sierra 3.x... twice: http://buildbot.python.org/all/builders/x86-64%20Sierra%203.x/builds/680 -- ___ Python tracker

[issue31344] f_trace_opcodes frame attribute to switch to per-opcode tracing

2017-09-06 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: -> ncoghlan ___ Python tracker ___ ___

[issue29505] Submit the re, json, & csv modules to oss-fuzz testing

2017-09-06 Thread Devin Jeanpierre
Changes by Devin Jeanpierre : -- pull_requests: +3412 ___ Python tracker ___ ___

[issue31370] Remove support for threads-less builds

2017-09-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: I guess Setup.config.in can go. It's only purpose was for autoconf driven Setup changes. -- ___ Python tracker ___

[issue22635] subprocess.getstatusoutput changed behavior in 3.4 (maybe 3.3.4?)

2017-09-06 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3411 ___ Python tracker ___

[issue22635] subprocess.getstatusoutput changed behavior in 3.4 (maybe 3.3.4?)

2017-09-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 738b7d9766e1a794bfba0d515a467ba833ca by Gregory P. Smith in branch 'master': bpo-22635: subprocess.getstatusoutput doc update. (#3398) https://github.com/python/cpython/commit/738b7d9766e1a794bfba0d515a467ba833ca --

[issue31358] Pull zlib out to cpython-source-deps

2017-09-06 Thread Zachary Ware
Changes by Zachary Ware : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue29988] (async) with blocks and try/finally are not as KeyboardInterrupt-safe as one might like

2017-09-06 Thread Nathaniel Smith
Nathaniel Smith added the comment: For purposes of writing a test case, can you install a custom Python-level signal handler, and make some assertion about where it runs? I.e., the calling frame should be inside the __aexit__ body, not anywhere earlier? --

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

2017-09-06 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: This has been backported. Closing the issue. Thanks all. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

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

2017-09-06 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset ab4894bba6e51105706f9fa016821434256585cd by Mariatta (Miss Islington (bot)) in branch '2.7': [2.7] bpo-21649: Add RFC 7525 and Mozilla server side TLS (GH-3387) (GH-3400)

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

2017-09-06 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 1fc47b40af3e3e80902100a2baa472b19dd47010 by Mariatta (Miss Islington (bot)) in branch '3.6': [3.6] bpo-21649: Add RFC 7525 and Mozilla server side TLS (GH-3387) (GH-3399)

[issue29988] (async) with blocks and try/finally are not as KeyboardInterrupt-safe as one might like

2017-09-06 Thread Nick Coghlan
Nick Coghlan added the comment: The updated PR fully resolves the synchronous CM case by switching to using threading.Lock as the test CM (as per Nathaniel's original suggestion). Without that, the pending exception was being processed as soon as __exit__() started running, so the test failed

[issue31358] Pull zlib out to cpython-source-deps

2017-09-06 Thread Zachary Ware
Zachary Ware added the comment: New changeset d01db1c2a2a71455163a1d3b214cc8dc27201303 by Zachary Ware in branch 'master': bpo-31358: Pull zlib out of the repository (GH-3375) https://github.com/python/cpython/commit/d01db1c2a2a71455163a1d3b214cc8dc27201303 --

[issue30465] FormattedValue expressions have wrong lineno and col_offset information

2017-09-06 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3410 ___ Python tracker ___

[issue30465] FormattedValue expressions have wrong lineno and col_offset information

2017-09-06 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset e7c566caf177afe43b57f0b2723e723d880368e8 by ericvsmith (Łukasz Langa) in branch 'master': bpo-30465: Fix lineno and col_offset in fstring AST nodes (#1800) https://github.com/python/cpython/commit/e7c566caf177afe43b57f0b2723e723d880368e8

[issue14191] argparse doesn't allow optionals within positionals

2017-09-06 Thread R. David Murray
R. David Murray added the comment: Thanks Paul. By the way, if you want your "real name" in What's New, just let me know what it is and I'll make the change. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python

[issue14191] argparse doesn't allow optionals within positionals

2017-09-06 Thread R. David Murray
R. David Murray added the comment: New changeset 0f6b9d230674da784ca79a0cf1a03d2af5a8b6a8 by R. David Murray in branch 'master': bpo-14191 Add parse_intermixed_args. (#3319) https://github.com/python/cpython/commit/0f6b9d230674da784ca79a0cf1a03d2af5a8b6a8 --

[issue30096] Update examples in abc documentation to use abc.ABC

2017-09-06 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3409 ___ Python tracker ___

[issue26612] test_ssl: use context manager (with) to fix ResourceWarning

2017-09-06 Thread STINNER Victor
STINNER Victor added the comment: Sorry, I lost track of this issue. ResourceWarning only occurs on a bug, so it don't think that the issue is really important. I just close it. -- resolution: -> out of date stage: patch review -> resolved status: open -> closed

[issue31298] Error when calling numpy.astype

2017-09-06 Thread Chris Wilcox
Chris Wilcox added the comment: I may be wrong, but this seems like it could be an issue with NumPy. There are similar issues on their GitHub around crashes on astype. It probably wouldn't hurt to file this over there as well. https://github.com/numpy/numpy/issues -- nosy: +crwilcox

[issue30824] Add mimetype for extension .json

2017-09-06 Thread R. David Murray
R. David Murray added the comment: New changeset e29ab7e75138e198b51c8bd04afa16d9d2c976a5 by R. David Murray (Miss Islington (bot)) in branch '3.6': [3.6] bpo-30824: Add mimetype for .json (GH-3048) (#3401) https://github.com/python/cpython/commit/e29ab7e75138e198b51c8bd04afa16d9d2c976a5

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-09-06 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3408 ___ Python tracker ___

[issue31371] Remove deprecated tkinter.tix module in 3.7

2017-09-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 for removal. -- nosy: +rhettinger ___ Python tracker ___ ___

[issue31373] demoting floating float values to unrepresentable types is undefined behavior

2017-09-06 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +mark.dickinson ___ Python tracker ___

[issue29781] SSLObject.version returns incorrect value before handshake.

2017-09-06 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue31376] test_multiprocessing_spawn randomly hangs AMD64 FreeBSD 10.x Shared 3.x

2017-09-06 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.x%20Shared%203.x/builds/818/steps/test/logs/stdio 0:08:27 load avg: 2.79 [403/407] test_strtod passed -- running: test_multiprocessing_spawn (244 sec) 0:08:27 load avg: 2.79 [404/407] test_syslog

[issue30824] Add mimetype for extension .json

2017-09-06 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3407 ___ Python tracker ___

[issue31370] Remove support for threads-less builds

2017-09-06 Thread STINNER Victor
STINNER Victor added the comment: We had a buildbot testing --without-threads, but it's gone. I just removed its unused class from the buildbot configuration: https://github.com/python/buildmaster-config/commit/091f52aa05a8977966796ba3ef4b8257bef1c0e9 --

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

2017-09-06 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3405 ___ Python tracker ___

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

2017-09-06 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3406 ___ Python tracker ___

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

2017-09-06 Thread Christian Heimes
Christian Heimes added the comment: New changeset ad0ffa033ea79f7c7cb14b1b1cc10888ea9e9913 by Christian Heimes in branch 'master': bpo-21649: Add RFC 7525 and Mozilla server side TLS (#3387) https://github.com/python/cpython/commit/ad0ffa033ea79f7c7cb14b1b1cc10888ea9e9913 --

[issue31373] demoting floating float values to unrepresentable types is undefined behavior

2017-09-06 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue30793] Parsing error on f-string-expressions containing strings with backslash

2017-09-06 Thread Eric V. Smith
Eric V. Smith added the comment: I'm thinking that instead of supporting backslashes in general inside expressions, I'll just special case strings. So: f"{'\n' if foo else ''}" would be okay, but not: f"{a\ }" I think that would address the reason why \ was disallowed, but I'm going to have

[issue31375] Add the interpreters module to stdlib (PEP 554).

2017-09-06 Thread Eric Snow
New submission from Eric Snow: This builds on issue #30439. -- assignee: eric.snow messages: 301540 nosy: eric.snow priority: normal severity: normal stage: needs patch status: open title: Add the interpreters module to stdlib (PEP 554). type: enhancement versions: Python 3.7

[issue22635] subprocess.getstatusoutput changed behavior in 3.4 (maybe 3.3.4?)

2017-09-06 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- pull_requests: +3404 ___ Python tracker ___ ___

[issue31370] Remove support for threads-less builds

2017-09-06 Thread STINNER Victor
STINNER Victor added the comment: The PEP 11 should be updated just to mention that platforms without threading support are not supported in Python 3.7. -- ___ Python tracker

[issue31340] Use VS 2017 compiler for build

2017-09-06 Thread Steve Dower
Steve Dower added the comment: Note that this should not change anything for 3.6, but enables using VS 2017 to build. If you only have VS 2015 then it will use that, and I've enabled AppVeyor for both to make sure we keep it that way. 3.7 will also build with either, but there isn't as much

[issue31369] re.RegexFlag is not included in __all__

2017-09-06 Thread R. David Murray
R. David Murray added the comment: Well, I consider that they really should be named constants and not an enum, which is why I consider it an implementation detail :) -- ___ Python tracker

[issue31340] Use VS 2017 compiler for build

2017-09-06 Thread Steve Dower
Steve Dower added the comment: New changeset fd645ec6f5696e841e6d49075f9fd81e54e74d91 by Steve Dower in branch '3.6': [3.6] bpo-31340: Change to building with MSVC v141 (included with Visual Studio 2017) (GH-3311) (#3386)

[issue31340] Use VS 2017 compiler for build

2017-09-06 Thread Steve Dower
Changes by Steve Dower : -- stage: needs patch -> backport needed ___ Python tracker ___

[issue23863] Fix EINTR Socket Module issues in 2.7

2017-09-06 Thread STINNER Victor
STINNER Victor added the comment: I am closing the issue as WONTFIX for all the reasons listen in my previous comments. -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue29505] Submit the re, json, & csv modules to oss-fuzz testing

2017-09-06 Thread Devin Jeanpierre
Devin Jeanpierre added the comment: Huh. I would not have predicted that. https://gcc.gnu.org/onlinedocs/cpp/Defined.html I'll send a fix. -- ___ Python tracker

[issue31369] re.RegexFlag is not included in __all__

2017-09-06 Thread Pieter-Jan Briers
Pieter-Jan Briers added the comment: I suppose it may be an implementation detail, though I wouldn't be amazed that had enum existed when re was written it'd have been used instead of constant integers at the time. Though I do suppose exposing it fully would add two ways to get the flags

[issue31374] expat: warning: "_POSIX_C_SOURCE" redefined

2017-09-06 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: -> haypo nosy: +haypo ___ Python tracker ___

[issue31374] expat: warning: "_POSIX_C_SOURCE" redefined

2017-09-06 Thread Christian Heimes
New submission from Christian Heimes: In file included from /home/heimes/dev/python/cpython/Modules/expat/expat_config.h:8:0, from /home/heimes/dev/python/cpython/Modules/expat/xmltok.c:41: ./pyconfig.h:1454:0: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE

[issue30824] Add mimetype for extension .json

2017-09-06 Thread R. David Murray
R. David Murray added the comment: New changeset 47e5f791223773dd46273153e9fa5b48f848f0c9 by R. David Murray (Miss Islington (bot)) in branch '2.7': [2.7] bpo-30824: Add mimetype for .json (GH-3048) (#3394) https://github.com/python/cpython/commit/47e5f791223773dd46273153e9fa5b48f848f0c9

[issue30860] Consolidate stateful C globals under a single struct.

2017-09-06 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +3403 ___ Python tracker ___ ___

[issue29505] Submit the re, json, & csv modules to oss-fuzz testing

2017-09-06 Thread Christian Heimes
Christian Heimes added the comment: GCC complains about the patch: /home/heimes/dev/python/cpython/Modules/_xxtestfuzz/fuzzer.c: In function ‘LLVMFuzzerTestOneInput’: /home/heimes/dev/python/cpython/Modules/_xxtestfuzz/fuzzer.c:109:1: warning: this use of "defined" may not be portable

[issue31373] demoting floating float values to unrepresentable types is undefined behavior

2017-09-06 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- pull_requests: +3402 ___ Python tracker ___ ___

[issue31369] re.RegexFlag is not included in __all__

2017-09-06 Thread R. David Murray
R. David Murray added the comment: I think RegexFlag is an implementation detail, but it is true that it isn't prefixed with a _ so putting it in __all__ is not obviously wrong. However, if we do that we should also document it (currently it is mentioned only in a versionchanged line, which

[issue31373] demoting floating float values to unrepresentable types is undefined behavior

2017-09-06 Thread Benjamin Peterson
New submission from Benjamin Peterson: According to C99, "When a finite value of real floating type is converted to an integer type other than _Bool, the fractional part is discarded (i.e., the value is truncated toward zero). If the value of the integral part cannot be represented

[issue27584] New addition of vSockets to the python socket module

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

[issue27584] New addition of vSockets to the python socket module

2017-09-06 Thread Christian Heimes
Christian Heimes added the comment: New changeset effc12f8e9e20d0951d2ba5883587666bd8218e3 by Christian Heimes (caavery) in branch 'master': bpo-27584: New addition of vSockets to the python socket module (#2489) https://github.com/python/cpython/commit/effc12f8e9e20d0951d2ba5883587666bd8218e3

[issue31372] Add SSLSocket.get_verify_result()

2017-09-06 Thread Christian Heimes
Changes by Christian Heimes : -- pull_requests: +3401 ___ Python tracker ___ ___

[issue31372] Add SSLSocket.get_verify_result()

2017-09-06 Thread Christian Heimes
New submission from Christian Heimes: It might be useful to expose SSL_get_verify_result, https://wiki.openssl.org/index.php/Manual:SSL_get_verify_result(3) . The function returns the last verification error of 0 for no error. Application could still verify the chain with verify_mode =

[issue30824] Add mimetype for extension .json

2017-09-06 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3400 ___ Python tracker ___

[issue18233] SSLSocket.getpeercertchain()

2017-09-06 Thread Christian Heimes
Christian Heimes added the comment: Yes, from an application perspective there is an import difference between X509_STORE_CTX_get1_chain() and SSL_get0_verified_chain(). X509_STORE_CTX is a temporary object. It is only available during the handshake and while the trust chain is built and

[issue31371] Remove deprecated tkinter.tix module in 3.7

2017-09-06 Thread Zachary Ware
Changes by Zachary Ware : -- title: Remove deprecated tkinter.ttx module in 3.7 -> Remove deprecated tkinter.tix module in 3.7 ___ Python tracker

[issue31371] Remove deprecated tkinter.ttx module in 3.7

2017-09-06 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +3399 ___ Python tracker ___ ___

[issue31371] Remove deprecated tkinter.ttx module in 3.7

2017-09-06 Thread Ned Deily
New submission from Ned Deily: Tix is an old Tk widget extension set that has long been superseded by the ttk widgets that were added in Tk 8.5, officially released 10 years ago and since superseded by Tk 8.6. Tix was useful for users of Tk 8.4 but tkinter is no longer built, tested, or

[issue30737] Update devguide link to the new URL

2017-09-06 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 98ceece8f4cd797ec28078b6247529f01549687d by Mariatta (Miss Islington (bot)) in branch '3.6': [3.6] bpo-30737: Update DevGuide links to new URL (GH-3228) (GH-3390) https://github.com/python/cpython/commit/98ceece8f4cd797ec28078b6247529f01549687d

[issue30737] Update devguide link to the new URL

2017-09-06 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker

[issue31361] Update feedparser.py to prevent theano compiling fail in python3

2017-09-06 Thread Wei-Shun Lo
Wei-Shun Lo added the comment: Hi David, A led, I may try to reproduce this error, but it may take a while. Thanks On Wed, Sep 6, 2017 at 11:31 AM R. David Murray wrote: > > R. David Murray added the comment: > > You did not follow the request I made on the PR to

[issue31370] Remove support for threads-less builds

2017-09-06 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: needs patch -> patch review ___ Python tracker ___ ___

[issue31370] Remove support for threads-less builds

2017-09-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Question: should we keep Modules/Setup.config.in? It's going to become empty: https://github.com/python/cpython/blob/master/Modules/Setup.config.in -- ___ Python tracker

[issue31370] Remove support for threads-less builds

2017-09-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: See discussion in https://mail.python.org/pipermail/python-dev/2017-September/149156.html -- ___ Python tracker ___

[issue29396] Re-opening /dev/tty breaks readline

2017-09-06 Thread Martin Panter
Martin Panter added the comment: I think the difference between Python 2 and 3 here is that Python 2’s file objects, including sys.stdin, wrap C library FILE objects, which is supported by the Readline library. However Python 3 has its own kind of file objects, independent of standard C and

[issue31370] Remove support for threads-less builds

2017-09-06 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +3398 ___ Python tracker ___ ___

[issue31370] Remove support for threads-less builds

2017-09-06 Thread Antoine Pitrou
New submission from Antoine Pitrou: The --without-threads option has a lot of repercussions on the code base, forcing us to maintain specific paths for builds with threads disabled, for no useful purpose. -- components: Build, Interpreter Core messages: 301518 nosy: gregory.p.smith,

[issue22536] subprocess should include filename in FileNotFoundError exception

2017-09-06 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5 ___ Python tracker

[issue23863] Fix EINTR Socket Module issues in 2.7

2017-09-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: Unassigning because i'm unlikely to get to this in 2.7, it is better to concentrate on ensuring that 3.x stays signal safe. -- assignee: gregory.p.smith -> ___ Python tracker

[issue31369] re.RegexFlag is not included in __all__

2017-09-06 Thread Pieter-Jan Briers
New submission from Pieter-Jan Briers: It exists and its flags are exported, but not the direct classes itself. This seems inconsistent to me and fixing it would make things like using static typing on it just a little bit easier. -- components: Regular Expressions messages: 301516

[issue29212] Python 3.6 logging thread name regression with concurrent.future threads

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

[issue31178] [EASY] subprocess: TypeError: can't concat str to bytes, in _execute_child()

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

[issue31178] [EASY] subprocess: TypeError: can't concat str to bytes, in _execute_child()

2017-09-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 3bad1650a03fdc8cfdd4cce154e1b2c07e3e4fa0 by Gregory P. Smith in branch '3.6': [3.6] bpo-31178: Avoid concatenating bytes with str in subprocess error (GH-3066) (#3388)

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

2017-09-06 Thread Christian Heimes
Christian Heimes added the comment: I'd rather not overload cadata with cert and CRL loading. It makes both code and usage messy. How about crldata argument? This would be a new feature, though. -- versions: -Python 3.6 ___ Python tracker

[issue30737] Update devguide link to the new URL

2017-09-06 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3397 ___ Python tracker ___

[issue30912] python 3 git master fails to find libffi and build _ctypes on Mageia v6 x86-64

2017-09-06 Thread Zachary Ware
Zachary Ware added the comment: New changeset 6d51b876121e472d4372496d609a26d7e3081c51 by Zachary Ware (Shlomi Fish) in branch 'master': bpo-30912: Don't check the content of ffi.h (GH-2687) https://github.com/python/cpython/commit/6d51b876121e472d4372496d609a26d7e3081c51 --

[issue30912] python 3 git master fails to find libffi and build _ctypes on Mageia v6 x86-64

2017-09-06 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the patch! -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue30381] test_smtpnet.test_connect_using_sslcontext_verified() randomly failed with "smtplib.SMTPServerDisconnected: Connection unexpectedly closed" on AMD64 FreeBSD CURRENT Debug 3.x

2017-09-06 Thread Christian Heimes
Christian Heimes added the comment: Probably not a bug in the SSL module -- assignee: christian.heimes -> components: -SSL type: -> behavior ___ Python tracker

[issue31120] [2.7] Python 64 bit _ssl compile fails due missing buildinf_amd64.h

2017-09-06 Thread Christian Heimes
Changes by Christian Heimes : -- components: -SSL stage: -> needs patch ___ Python tracker ___

[issue29824] Hostname validation in SSL match_hostname()

2017-09-06 Thread Christian Heimes
Christian Heimes added the comment: Thanks Alex! Let's get not in the business to verify TLDs. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue29824] Hostname validation in SSL match_hostname()

2017-09-06 Thread Alex Gaynor
Alex Gaynor added the comment: An additional problem in (2) is that a cert for *.google _is_ legal if the CA can prove that a single organization controls the entire TLD: https://crt.sh/?id=7668286 -- nosy: +Alex Gaynor ___ Python tracker

  1   2   >