[issue32686] python3.6.4 build hangs on test_asyncio macOS 10.13

2018-03-13 Thread Ned Deily
Ned Deily added the comment: A followup: a fix for the hang in test_asyncio has been released in 3.6.5rc1. -- ___ Python tracker ___

[issue33062] ssl_renegotiate() doesn't seem to be exposed

2018-03-13 Thread Vitaly Kruglikov
Vitaly Kruglikov added the comment: > For extra fun, openssl itself doesn't fully support renegotiation on duplex > connections ... The necessitated modification to the application protocol on that thread sounds like an OpenSSL cop-out. There is no good reason that

[issue32367] [Security] CVE-2017-17522: webbrowser.py in Python does not validate strings

2018-03-13 Thread Ned Deily
Ned Deily added the comment: And Red Hat has already closed their version of this as NOTABUG: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-17522 It seems nearly everyone is agreement that this is not a security issue. -- resolution: -> not a bug stage: ->

[issue32981] Catastrophic backtracking in poplib (CVE-2018-1060) and difflib (CVE-2018-1061)

2018-03-13 Thread Ned Deily
Ned Deily added the comment: > Is this ready to close? The fixes are now available from the cpython repo for all current security and maintenance branches (3.4 to 3.7 plus 2.7). They are now released in 3.6.5rc1 and will be available in the next releases of other branches:

[issue32726] macOS installer and framework enhancements and changes for 3.7.0 and 3.6.5

2018-03-13 Thread Ned Deily
Ned Deily added the comment: Backport the new 10.9+ installer variant from 3.7 to 3.6 for 3.6.5: The rationale is that, while the 10.6 variant is still upwards compatible on current systems, it is showing its age. Apple has started deprecating 32-bit support on macOS and

[issue32726] macOS installer and framework enhancements and changes for 3.7.0

2018-03-13 Thread Ned Deily
Ned Deily added the comment: New changeset 94552448d7bcc1eebc53b608e89d96e235054f2f by Ned Deily in branch '3.6': bpo-32726: macOS installer changes for 3.6.5 https://github.com/python/cpython/commit/94552448d7bcc1eebc53b608e89d96e235054f2f --

[issue27984] singledispatch register should typecheck its argument

2018-03-13 Thread Xiang Zhang
Xiang Zhang added the comment: Thanks for the reminding, I already forget this. I'll do it night. -- ___ Python tracker ___

[issue33062] ssl_renegotiate() doesn't seem to be exposed

2018-03-13 Thread Nathaniel Smith
Nathaniel Smith added the comment: PyOpenSSL supports renegotiation, and I've used it for writing exactly this kind of test. Might be easier than wrapping a test harness around the 'openssl' command. For extra fun, openssl itself doesn't fully support renegotiation on duplex

[issue33062] ssl_renegotiate() doesn't seem to be exposed

2018-03-13 Thread Martin Panter
Martin Panter added the comment: I have also wanted to force renegotation for testing with Python. As a workaround, I have used the "openssl s_server" program, which I described at (use the lower-case "r" command). More

[issue32987] tokenize.py parses unicode identifiers incorrectly

2018-03-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think the issues are slightly different. #12486 is about the awkwardness of the API. This is about a false error after jumping through the hoops, which I think Steve B did correctly. Following the link, the Other_ID_Continue chars are

[issue33071] Document that PyPI no longer requires 'register'

2018-03-13 Thread Sumana Harihareswara
Change by Sumana Harihareswara : -- nosy: +sumanah ___ Python tracker ___ ___

[issue28612] str.translate needs a mapping example

2018-03-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: IDLE just added similar functionality to pyparse (issue 32940) using: class ParseMap(dict): def __missing__(self, key): return 120 # ord('x') # Map all ascii to 120 to avoid __missing__ call, then replace some.

[issue33073] Add as_integer_ratio() to int() objects

2018-03-13 Thread Guido van Rossum
Guido van Rossum added the comment: +1. On Tue, Mar 13, 2018, 16:26 Tim Peters wrote: > > Tim Peters added the comment: > > Thanks, Guido! I figured I was missing something :-) > > It looks like `numbers.Rational` _is_ a "for real"

[issue33073] Add as_integer_ratio() to int() objects

2018-03-13 Thread Tim Peters
Tim Peters added the comment: Thanks, Guido! I figured I was missing something :-) It looks like `numbers.Rational` _is_ a "for real" base class of `fractions.Fraction`, though, so I'm in favor of supplying a default implementation of `.as_integer_ratio()` in

[issue27902] pstats.Stats: strip_dirs() method cannot handle file paths from different OS

2018-03-13 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +easy versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker ___

[issue27910] Doc/library/traceback.rst — references to tuples should be replaced with new FrameSummary object

2018-03-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: Tomas, Would you be willing to make a Github pull request with your patch? Thanks. -- nosy: +csabella stage: commit review -> needs patch versions: +Python 3.8 -Python 3.5, Python 3.6 ___ Python

[issue32987] tokenize.py parses unicode identifiers incorrectly

2018-03-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: I believe this may be a duplicate of issue 12486. -- nosy: +csabella ___ Python tracker ___

[issue33073] Add as_integer_ratio() to int() objects

2018-03-13 Thread Guido van Rossum
Guido van Rossum added the comment: Actually numbers.Rational is a virtual base class for int, so it won't automagically appear there. Adding it to the math module is inferior because for non-rational types (e.g. alternative float implementations) the math module won't have

[issue22872] multiprocessing.Queue raises AssertionError

2018-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: The expected behaviour here would be to raise ValueError, as on other closed objects: >>> s = io.StringIO() >>> s.close() >>> s.write("") Traceback (most recent call last): File "", line 1, in ValueError: I/O operation on closed file

[issue22872] multiprocessing.Queue raises AssertionError

2018-03-13 Thread Antoine Pitrou
Change by Antoine Pitrou : -- components: +Library (Lib) -ctypes ___ Python tracker ___ ___

[issue33047] "RuntimeError: dictionary changed size during iteration" using trace.py module

2018-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: I cannot reproduce this on Ubuntu 16.04. -- nosy: +belopolsky, paul.moore, pitrou, steve.dower, tim.golden, zach.ware ___ Python tracker

[issue33073] Add as_integer_ratio() to int() objects

2018-03-13 Thread Tim Peters
Tim Peters added the comment: Serhiy, we already went down the path of implementing this as a method. Of course `numbers.Rational` could define the method as `return (self.numerator, self.denominator)` for itself and its subclasses. Unless I'm confused, that would

[issue33064] lib2to3 fails on a trailing comma after **kwargs in a function signature

2018-03-13 Thread Łukasz Langa
Change by Łukasz Langa : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33054] unittest blocks when testing function using multiprocessing.Pool with state spawn

2018-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Please, can you post a self-contained script to reproduce the issue? -- nosy: +pitrou ___ Python tracker

[issue33073] Add as_integer_ratio() to int() objects

2018-03-13 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +easy (C) ___ Python tracker ___ ___

[issue28716] Fractions instantiation revisited

2018-03-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: FYI, adding int.as_integer_ratio() is being taken care in a separate issue: https://bugs.python.org/issue33073 . I've set it aside for a beginning core-dev mentee to work on because it is simple and self-contained. Pretty

[issue33073] Add as_integer_ratio() to int() objects

2018-03-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Wouldn't be better to add the function as_integer_ration() in the math module (or in more appropriate place)? def as_integer_ration(x): if hasattr(x, 'as_integer_ration'): return x.as_integer_ration() else:

[issue33073] Add as_integer_ratio() to int() objects

2018-03-13 Thread Nofar Schnider
Nofar Schnider added the comment: I'm working on it -- ___ Python tracker ___ ___

[issue33073] Add as_integer_ratio() to int() objects

2018-03-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: > it looks like there's some overlap with the goals of issue #28716 Okay, let's focus this issue on just int.as_integer_ratio() so that Nofar can have something small and self contained to work on :-) --

[issue33073] Add as_integer_ratio() to int() objects

2018-03-13 Thread Mark Dickinson
Mark Dickinson added the comment: On the Fraction constructor, it looks like there's some overlap with the goals of issue #28716 here. -- ___ Python tracker

[issue33073] Add as_integer_ratio() to int() objects

2018-03-13 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___

[issue33073] Add as_integer_ratio() to int() objects

2018-03-13 Thread Tim Peters
Tim Peters added the comment: > Is this also desired for fractions.Fraction and numbers.Rational? I think so. The idea, e.g., that "it's obvious" for Fraction is no more compelling than that it's even more obvious for ints ;-) Given that it's spreading to ints anyway,

[issue33073] Add as_integer_ratio() to int() objects

2018-03-13 Thread Raymond Hettinger
New submission from Raymond Hettinger : Goal: make int() more interoperable with float by making a float/Decimal method also available on ints. This will let mypy treat ints as a subtype of floats. See:

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

2018-03-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Xavier! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

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

2018-03-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset baca85fcc7cdf70af4a76ea0966d4842c173de1a by Serhiy Storchaka (xdegaye) in branch '2.7': [2.7] bpo-17288: Prevent jumps from 'return' and 'exception' trace events. (GH-6111)

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

2018-03-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 2.7, Python 3.6 ___ Python tracker ___

[issue23599] single and double quotes stripped upon paste with MacPorts libedit

2018-03-13 Thread Ned Deily
Ned Deily added the comment: Cheryl, as far as I know this is still an unresolved issue for at least some versions of Python and some versions of libedit. I'd like to keep it open as a reminder. If someone else wants to dig into it before I get around to it, feel free to

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

2018-03-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: FWIW I now get github notifications, the problem was some bad configuration of my github profile (my fault). -- ___ Python tracker

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

2018-03-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: The conditions used for the fix are still the same in 2.7: f->f_trace == NULL on a call event, f->f_lasti == -1 in a new frame and f->f_stacktop == NULL in a trace function with a non-line event except for yield statements. There are minor

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

2018-03-13 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +5874 ___ Python tracker ___ ___

[issue33072] The interpreter bytecodes for with statements are overly complex.

2018-03-13 Thread Mark Shannon
Mark Shannon added the comment: So you did. Sorry for the duplication -- ___ Python tracker ___

[issue33072] The interpreter bytecodes for with statements are overly complex.

2018-03-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I already opened issue32949 for this. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Simplify "with"-related opcodes

[issue32949] Simplify "with"-related opcodes

2018-03-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +5873 ___ Python tracker ___ ___

[issue33041] Issues with "async for"

2018-03-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 6110 adds tests for jumping in/out of 'async with' blocks. It isn't directly related to 'async for', but it adds helpers that will be used also in tests for 'async for'. I'm not sure this is a correct and good way of writing

[issue33041] Issues with "async for"

2018-03-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +5872 ___ Python tracker ___ ___

[issue33072] The interpreter bytecodes for with statements are overly complex.

2018-03-13 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +5871 stage: -> patch review ___ Python tracker ___

[issue33072] The interpreter bytecodes for with statements are overly complex.

2018-03-13 Thread Mark Shannon
New submission from Mark Shannon : The bytecodes WITH_CLEANUP_START and WITH_CLEANUP_FINISH are complex and implement entirely different behavior depending on what is on the stack. This is unnecessary as the same semantics can be implemented with much simpler bytecodes and

[issue27984] singledispatch register should typecheck its argument

2018-03-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: @xiang.zhang, would you be able to make a PR for your patch? Thanks! -- nosy: +csabella stage: -> patch review versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker

[issue33063] failed to build _ctypes: undefined reference to `ffi_closure_FASTCALL'

2018-03-13 Thread Siming Yuan
Siming Yuan added the comment: interesting, didn't know that option existed. -- ___ Python tracker ___

[issue8947] Provide as_integer_ratio() method to Decimal

2018-03-13 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This issue has been superseded by #25928. -- resolution: rejected -> duplicate stage: patch review -> resolved superseder: -> Add Decimal.as_integer_ratio() ___ Python tracker

[issue8947] Provide as_integer_ratio() method to Decimal

2018-03-13 Thread Mark Dickinson
Mark Dickinson added the comment: Apologies: the title change was accidental. Reverted. -- ___ Python tracker ___

[issue33067] http.client no longer sends HTTP request in one TCP package

2018-03-13 Thread Senthil Kumaran
Change by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___

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

2018-03-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you! Do you mind to make a backport to 2.7 (if this makes a sense)? -- ___ Python tracker

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

2018-03-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b8e9d6c5cd44ebc9c462fea9ad1bc5d0b970e28a by Serhiy Storchaka (xdegaye) in branch 'master': bpo-17288: Prevent jumps from 'return' and 'exception' trace events. (GH-6107)

[issue26707] plistlib fails to parse bplist with 0x80 UID values

2018-03-13 Thread Jon Janzen
Jon Janzen added the comment: Support for KeyedArchives are not limited to the Swift implementation I linked to. They have been supported since Mac OS X since 10.2 (long before Swift came around). The documentation

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

2018-03-13 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +5870 ___ Python tracker ___ ___

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-03-13 Thread Steve Dower
Steve Dower added the comment: We should probably prefer to force ASCII with explicit escapes (ideally named escapes, rather than codepoints). I'm not sure how to make Sphinx/docutils do that, but presumably it could be our own extension that handles the problematic

[issue23599] single and double quotes stripped upon paste with MacPorts libedit

2018-03-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hi Ned, Do you think this issue still needs follow up? -- nosy: +csabella ___ Python tracker ___

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

2018-03-13 Thread Xavier de Gaye
Xavier de Gaye added the comment: In PR 5928 Serhiy Storchaka wrote: > Great! Could you please create a backport to master? Yes. I prefer to answer in the issue as I am still not getting any mail from github. -- ___ Python

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-13 Thread Paul Ganssle
Change by Paul Ganssle : -- keywords: +patch pull_requests: +5869 stage: -> patch review ___ Python tracker ___

[issue33063] failed to build _ctypes: undefined reference to `ffi_closure_FASTCALL'

2018-03-13 Thread Zachary Ware
Zachary Ware added the comment: Your better option is to install libffi-devel (or whatever the correct name is ) on your system and use `./configure --with-system-ffi`. This is the default in 3.6 and the only option in 3.7 (on any platform but Windows and macOS).

[issue33063] failed to build _ctypes: undefined reference to `ffi_closure_FASTCALL'

2018-03-13 Thread Christian Heimes
Christian Heimes added the comment: 3.4 and 3.5 are in security release-only mode. -- nosy: +christian.heimes versions: -Python 3.4, Python 3.5 ___ Python tracker

[issue24925] Allow doctest to find line number of __test__ strings if formatted as a triple quoted string.

2018-03-13 Thread Jurjen N.E. Bos
Jurjen N.E. Bos added the comment: Oh wait, I already posted that so long ago I forgot about it. Oops. Sorry about the repetition, folks. - Jurjen -- ___ Python tracker

[issue24925] Allow doctest to find line number of __test__ strings if formatted as a triple quoted string.

2018-03-13 Thread Jurjen N.E. Bos
Jurjen N.E. Bos added the comment: I always use the following piece of code that can be trivially used to patch the source. It basically looks for a using line in the test string and finds it in the source file. If there is a match, we know where we are. Otherwise

[issue26707] plistlib fails to parse bplist with 0x80 UID values

2018-03-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- type: behavior -> enhancement ___ Python tracker ___

[issue33056] LEaking files in concurrent.futures.process

2018-03-13 Thread Steve Dower
Steve Dower added the comment: Andrew - you can search for some module names in the nosy list to add the designated people for them. The components list doesn't include all of them (perhaps it should?). -- ___ Python

[issue33063] failed to build _ctypes: undefined reference to `ffi_closure_FASTCALL'

2018-03-13 Thread Siming Yuan
Siming Yuan added the comment: edit - I do see this in python 3.6.4 on a different server when building 32-bit Red Hat Enterprise Linux Workstation release 6.7 (Santiago) gcc --version gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16) -- versions: +Python 3.6

[issue25345] Unable to install Python 3.5 on Windows 10

2018-03-13 Thread Steve Dower
Steve Dower added the comment: Arran - I think yours is a different issue. There should be some other log files near the one you shared that I'll need to see to find what's going wrong. Can you zip up all the Python ones and attach them here? --

[issue28716] Fractions instantiation revisited

2018-03-13 Thread Eric Wieser
Eric Wieser added the comment: > Are you suggesting that _if_ they were to implement `as_integer_ratio` at > some point in the future, then they'd become compatible with `Fraction` Yes, exactly. Conversely, there's little gain in implementing it _until_

[issue26707] plistlib fails to parse bplist with 0x80 UID values

2018-03-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm still not too happy about supporting UIDs in plistlib, especially because I'm not sure it that's all that's needed. AFAIK I removed more types that the underlying encoder supported from plistlib because those are never used in

[issue26707] plistlib fails to parse bplist with 0x80 UID values

2018-03-13 Thread Jon Janzen
Jon Janzen added the comment: Ping -- ___ Python tracker ___ ___ Python-bugs-list

[issue33071] Document that PyPI no longer requires 'register'

2018-03-13 Thread Christian Heimes
Change by Christian Heimes : -- components: -Distutils keywords: +easy versions: +Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue30528] ipaddress.IPv{4,6}Network.reverse_pointer is broken

2018-03-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: The "reverse_pointers" attribute is implicitly documented by this phrase in the introduction of network objects: -- All attributes implemented by address objects are implemented by network objects as well. -- --

[issue33071] Document that PyPI no longer requires 'register'

2018-03-13 Thread Paul Ganssle
New submission from Paul Ganssle : I've been asked to post this by @brainwave (who is having some trouble getting an account on bpo due to technical difficulties). Per twine's github issue 311 ( https://github.com/pypa/twine/issues/311 ), it seems that distutil's docs

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-13 Thread Ned Deily
Change by Ned Deily : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list

[issue33068] Inconsistencies in parsing (evaluating?) longstrings

2018-03-13 Thread David Lukeš
David Lukeš added the comment: Oh, right, of course! Sorry and thanks for taking the time to clarify that :) -- ___ Python tracker

[issue33070] Add platform triplet for RISC-V

2018-03-13 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +5868 stage: -> patch review ___ Python tracker ___

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-13 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker ___ ___ Python-bugs-list mailing

[issue33070] Add platform triplet for RISC-V

2018-03-13 Thread Andreas Schwab
Change by Andreas Schwab : -- components: Build nosy: schwab priority: normal severity: normal status: open title: Add platform triplet for RISC-V type: enhancement ___ Python tracker

[issue30528] ipaddress.IPv{4,6}Network.reverse_pointer is broken

2018-03-13 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker ___ ___ Python-bugs-list mailing

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-13 Thread Paul Ganssle
New submission from Paul Ganssle : This is basically the same as issue 962772, as there seems to have been a regression. The current version of distutils discards author= metadata if maintainer= is present, even though PEP 345 has added the Maintainer: and

[issue33068] Inconsistencies in parsing (evaluating?) longstrings

2018-03-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: """\"" is parsed as """\ "": a triple-quoted string containing an escaped '"', followed by an empty single-quoted string. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open ->

[issue33068] Inconsistencies in parsing (evaluating?) longstrings

2018-03-13 Thread David Lukeš
New submission from David Lukeš : """ \""" """ evaluates to ' """ ' (as expected), but without the surrounding spaces, """\"" evaluates to '"' instead of '"""'. Is this expected behavior? If I'm reading the definition of string syntax in

[issue33065] IDLE debugger: problem importing user created module

2018-03-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I cannot do anything from this bare description, as I cannot think of any reason why stepping should introduce an error. It sounds like there are two files involved. Try to reduce them to the minimum needed to reproduce the issue and then

[issue33067] http.client no longer sends HTTP request in one TCP package

2018-03-13 Thread Christian Heimes
New submission from Christian Heimes : https://bugs.python.org/issue23302 changed how http.client sends request. endheaders() no longer sends header and message body in one TCP package if the total payload is smaller than TCP max segment size.

[issue25345] Unable to install Python 3.5 on Windows 10

2018-03-13 Thread Arran McCutcheon
Arran McCutcheon added the comment: I'm also having this problem on Windows 10 with Python 3.6.4, and previous versions of Python. Every time I try to install Python, I get error 0x80070652. Rebooting doesn't help. I've attached my log file in case that helps as I don't

[issue33062] ssl_renegotiate() doesn't seem to be exposed

2018-03-13 Thread Christian Heimes
Christian Heimes added the comment: You can't. Rekeying is not available yet. SSL_key_update() is only available with OpenSSL 1.1.1 and TLS 1.3. Both are still in beta phase. -- ___ Python tracker

[issue28716] Fractions instantiation revisited

2018-03-13 Thread Mark Dickinson
Mark Dickinson added the comment: [Eric Wieser] > This would allow the numpy `np.floating` types to take part in `Fraction` > conversion as well, which would be great. I'm confused: as far as I can tell, the NumPy floating-point types don't implement `as_integer_ratio`.

[issue33062] ssl_renegotiate() doesn't seem to be exposed

2018-03-13 Thread Vitaly Kruglikov
Vitaly Kruglikov added the comment: > By the way, renegotiation is a problematic and has been replaced by rekeying > in TLS 1.3 How can I trigger rekeying via python ssl? Many thanks. -- ___ Python tracker

[issue33056] LEaking files in concurrent.futures.process

2018-03-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: Antoine sorry, will do next time -- components: +Windows, XML -Library (Lib) nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker

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

2018-03-13 Thread miss-islington
miss-islington added the comment: New changeset cf61a81f1d600064be6dd43896afcf5f976de9b0 by Miss Islington (bot) in branch '3.6': [3.7] bpo-17288: Prevent jumps from 'return' and 'exception' trace events. (GH-5928)

[issue32885] Tools/scripts/pathfix.py leaves bunch of ~ suffixed files around with no opt-out

2018-03-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +5867 ___ Python tracker ___

[issue32885] Tools/scripts/pathfix.py leaves bunch of ~ suffixed files around with no opt-out

2018-03-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +5866 ___ Python tracker ___

[issue32885] Tools/scripts/pathfix.py leaves bunch of ~ suffixed files around with no opt-out

2018-03-13 Thread Christian Heimes
Christian Heimes added the comment: New changeset 5affd5c29eb1493cb31ef3cfdde15538ac134689 by Christian Heimes (Miro Hrončok) in branch 'master': bpo-32885: Tools/scripts/pathfix.py: Add -n option for no backup~ (#5772)

[issue30622] Fix NPN guard for OpenSSL 1.1

2018-03-13 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +5865 ___ Python tracker ___ ___

[issue33066] raise an exception from multiple positions break the traceback frames

2018-03-13 Thread hubo
New submission from hubo : The attachment is a script that demonstrates the behavior. The simple unittest script should exit very quickly, but in fact, it runs indefinitely. It uses asyncio to reproduce the result, but other concurrent technologies are also affected. In

[issue8947] Provide as_integer_ratio() method to Decimal

2018-03-13 Thread Mark Dickinson
Change by Mark Dickinson : -- title: as_integer_ratio Decimal -> Provide as_integer_ratio() method to Decimal ___ Python tracker ___

[issue8947] as_integer_ratio Decimal

2018-03-13 Thread Mark Dickinson
Change by Mark Dickinson : -- title: Provide as_integer_ratio() method to Decimal -> as_integer_ratio Decimal ___ Python tracker ___

[issue11594] 2to3 does not preserve line endings

2018-03-13 Thread Łukasz Langa
Change by Łukasz Langa : -- keywords: +easy -patch ___ Python tracker ___ ___

[issue33056] LEaking files in concurrent.futures.process

2018-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Andrew: where there are multiprocessing issues, could you please nosy me so that I get a chance to review? Thomas: thanks for spotting this and thanks for the fix! -- resolution: -> fixed stage: patch review -> resolved status: open

  1   2   >