[issue28414] SSL match_hostname fails for internationalized domain names

2018-02-20 Thread Nathaniel Smith
Nathaniel Smith added the comment: Christian: we're less than a week out from b2. Do you need any help here? -- ___ Python tracker ___

[issue31106] os.posix_fallocate() generate exception with errno 0

2018-02-20 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: The failed test is test_posix_fallocate, not test_posix_fallocate_errno. The former special-cases Solaris for EINVAL already, and the latter merely passes an invalid descriptor. It seems that this particular issue is still open only

[issue32891] Add 'Integer' as synonym for 'Integral' in numbers module.

2018-02-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Pickles containing a reference to Integer and created in new versions will be not compatible with older versions. -- nosy: +serhiy.storchaka ___ Python tracker

[issue32880] IDLE: Fix and update and cleanup pyparse

2018-02-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is str = str.replace('', 'x') str = str.replace('', 'x') str = str.replace('xx', 'x') str = str.replace('xx', 'x') really faster than _squashex = re.compile('x+').sub # top of file

[issue31848] "aifc" module does not always initialize "Aifc_read._ssnd_chunk"

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

[issue32889] Valgrind suppressions need updating

2018-02-20 Thread miss-islington
miss-islington added the comment: New changeset 1e8bc25594db3f36a3f228531bce0ed1b99c2d8d by Miss Islington (bot) in branch '3.6': bpo-32889: update valgrind suppressions (GH-5779)

[issue31848] "aifc" module does not always initialize "Aifc_read._ssnd_chunk"

2018-02-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b852d8c1f0b12e84549d83cd9b1ec0992b9d9703 by Serhiy Storchaka (Miss Islington (bot)) in branch '2.7': [2.7] bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND chunk is not found (GH-5240)

[issue32889] Valgrind suppressions need updating

2018-02-20 Thread miss-islington
miss-islington added the comment: New changeset 69607b4ecf917aea59632ff72695a97a6689ed8c by Miss Islington (bot) in branch '3.7': bpo-32889: update valgrind suppressions (GH-5779)

[issue32008] Example suggest to use a TLSv1 socket

2018-02-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 6c7edba1665ea676328c6b50f92e8423c8f0d164 by Benjamin Peterson in branch '2.7': [2.7] closes bpo-32008: don't use PROTOCOL_TLSv1 in example (GH-5789) (#5792)

[issue32008] Example suggest to use a TLSv1 socket

2018-02-20 Thread miss-islington
miss-islington added the comment: New changeset f8a794c04c8d375da279fc830770a5e6b4f363fb by Miss Islington (bot) in branch '3.6': bpo-32008: don't use PROTOCOL_TLSv1 in example (GH-5789)

[issue32889] Valgrind suppressions need updating

2018-02-20 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32008] Example suggest to use a TLSv1 socket

2018-02-20 Thread miss-islington
miss-islington added the comment: New changeset e5d38deb045d0907e6fcf82af8d2d8f0556a8591 by Miss Islington (bot) in branch '3.7': bpo-32008: don't use PROTOCOL_TLSv1 in example (GH-5789)

[issue32889] Valgrind suppressions need updating

2018-02-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +5575 ___ Python tracker ___

[issue32889] Valgrind suppressions need updating

2018-02-20 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +5574 stage: -> patch review ___ Python tracker

[issue32889] Valgrind suppressions need updating

2018-02-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset ba518804bf4c1ea01df5e622b333d3116cbaa3bd by Benjamin Peterson (Paul Price) in branch 'master': bpo-32889: update valgrind suppressions (GH-5779)

[issue32008] Example suggest to use a TLSv1 socket

2018-02-20 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +5573 ___ Python tracker ___ ___

[issue32008] Example suggest to use a TLSv1 socket

2018-02-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +5572 ___ Python tracker ___

[issue32008] Example suggest to use a TLSv1 socket

2018-02-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset e9edee0b65650c4f9db90cefc2e9a8125bad762c by Benjamin Peterson in branch 'master': bpo-32008: don't use PROTOCOL_TLSv1 in example (GH-5789) https://github.com/python/cpython/commit/e9edee0b65650c4f9db90cefc2e9a8125bad762c

[issue32008] Example suggest to use a TLSv1 socket

2018-02-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +5571 ___ Python tracker ___

[issue32880] IDLE: Fix and update and cleanup pyparse

2018-02-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: In def find_good_parse_start: str, pos = self.str, None Using str as an attribute is ok, but using the bare built-in class name for an instance thereof is annoying. 's' would be better, or even 'sample' (to be analyzed). --

[issue32008] Example suggest to use a TLSv1 socket

2018-02-20 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +5570 stage: -> patch review ___ Python tracker ___

[issue32891] Add 'Integer' as synonym for 'Integral' in numbers module.

2018-02-20 Thread Terry J. Reedy
New submission from Terry J. Reedy : Actually, 'replace' 'Integral' with 'Integer' but keep 'Integral' for back compatibility. >From python-ideas, where Guido said "Looking at >https://en.wikipedia.org/wiki/Number it seems that Integer is "special" -- >every other number

[issue32859] os.dup2() tests dup3() availability on each call

2018-02-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 16de2a9b8697cf90840eb217fb079f9c4c73e588 by Benjamin Peterson (Miss Islington (bot)) in branch '3.6': closes bpo-32859: Don't retry dup3() if it is not available at runtime (GH-5708)

[issue28886] Move deprecated abc module decorators to separate section in docs

2018-02-20 Thread INADA Naoki
INADA Naoki added the comment: New changeset 0150dc589439a9a78c80c2aa8d7d6c5d3bba1d6d by INADA Naoki (Miss Islington (bot)) in branch '3.6': bpo-28886: doc: Move deprecated abc decorators to separate section (GH-176)

[issue28886] Move deprecated abc module decorators to separate section in docs

2018-02-20 Thread INADA Naoki
INADA Naoki added the comment: New changeset 7452f6d8fa3ffe5dab20f7e4244851a6eca397be by INADA Naoki (Miss Islington (bot)) in branch '3.7': bpo-28886: doc: Move deprecated abc decorators to separate section (GH-176)

[issue28886] Move deprecated abc module decorators to separate section in docs

2018-02-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +5569 ___ Python tracker ___

[issue28886] Move deprecated abc module decorators to separate section in docs

2018-02-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +5568 stage: needs patch -> patch review ___ Python tracker ___

[issue28886] Move deprecated abc module decorators to separate section in docs

2018-02-20 Thread INADA Naoki
INADA Naoki added the comment: New changeset 52c6b89796a7ec391db20281e05b256f57e97b35 by INADA Naoki (Harshul jain) in branch 'master': bpo-28886: doc: Move deprecated abc decorators to separate section (GH-176)

[issue32540] venv docs - doesn't match behavior

2018-02-20 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: This should be good now. Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32540] venv docs - doesn't match behavior

2018-02-20 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 76c3f5eeb07aeb037da1ed6761dd9bd95e2c1d8d by Mariatta (Miss Islington (bot)) in branch '3.6': bpo-32540: Update venv documentation (GH-5736)

[issue32540] venv docs - doesn't match behavior

2018-02-20 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 98a86cbb9bed94a232263698041acd2775da3dad by Mariatta (Miss Islington (bot)) in branch '3.7': bpo-32540: Update venv documentation (GH-5736)

[issue32540] venv docs - doesn't match behavior

2018-02-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +5567 ___ Python tracker ___

[issue32540] venv docs - doesn't match behavior

2018-02-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +5566 stage: backport needed -> patch review ___ Python tracker

[issue32540] venv docs - doesn't match behavior

2018-02-20 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: I've went ahead to initiate the backports. -- stage: patch review -> backport needed versions: +Python 3.6, Python 3.7 ___ Python tracker

[issue32540] venv docs - doesn't match behavior

2018-02-20 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: The PR was against master branch. So if backports are needed, you can add "needs backport to" labels on GH-5736 and the bot will take care of it. -- nosy: +Mariatta ___ Python tracker

[issue31106] os.posix_fallocate() generate exception with errno 0

2018-02-20 Thread Kubilay Kocak
Kubilay Kocak added the comment: I believe changeset d4b93e21c2664d6a78e0656e7a7be0807be1c352 may be the cause of buildbot failures on FreeBSD (at least koobs-freebsd-current, log attached), due to only the EBADF error being handled (not EINVAL, et al). Unfortunately

[issue32493] UUID Module - FreeBSD build failure

2018-02-20 Thread Kubilay Kocak
Change by Kubilay Kocak : -- stage: resolved -> needs patch ___ Python tracker ___

[issue32881] pycapsule:PyObject * is NULL pointer

2018-02-20 Thread zhaoya
zhaoya added the comment: FUNCTION_CALL_MODE is __stdcall i think no problem.because, if GetContext(PyObject *capsule) -->GetContext() is ok. PyObject *capsule from python to c unknown error occurred. -- ___ Python tracker

[issue32540] venv docs - doesn't match behavior

2018-02-20 Thread Jason R. Coombs
Jason R. Coombs added the comment: I thought I saw the PR to the 3.6 branch. If that's not the case - a backport to 3.7 would be much appreciated. -- ___ Python tracker

[issue32843] More revisions to test.support docs

2018-02-20 Thread Nick Coghlan
Nick Coghlan added the comment: For TESTFN_NONASCII vs TESTFN_UNICODE (inferred from reading the current code & https://github.com/python/cpython/commit/8b219b2936d767bf6c6c17618db3a7b22fc2e865): * TESTFN_NONASCII guarantees that it can be encoded and decoded with the

[issue32008] Example suggest to use a TLSv1 socket

2018-02-20 Thread Cheryl Sabella
Cheryl Sabella added the comment: Christian, Would you have any feedback on this? Thanks! -- nosy: +christian.heimes, csabella ___ Python tracker

[issue32017] profile.Profile() has no method enable()

2018-02-20 Thread Cheryl Sabella
Cheryl Sabella added the comment: I started taking a look at this and discovered a few things. There are four methods in the C module `_lsprof` that are within the Profiler class - `enable`, `disable`, `getstats`, and `clear` and which are all available through

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

2018-02-20 Thread Eric Snow
Eric Snow added the comment: New changeset eed3c7af4ec520d324a55e0357f41589a66906f7 by Eric Snow (Miss Islington (bot)) in branch '3.7': bpo-32604: Swap threads only if the interpreter is different. (gh-5783)

[issue32890] os: Some functions may report bogus errors on Windows

2018-02-20 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- keywords: +patch pull_requests: +5565 stage: -> patch review ___ Python tracker ___

[issue32890] os: Some functions may report bogus errors on Windows

2018-02-20 Thread Alexey Izbyshev
New submission from Alexey Izbyshev : Demo: >>> os.execve('', ['a'], {}) Traceback (most recent call last): File "", line 1, in OSError: [WinError 0] The operation completed successfully: '' The reason is that path_error() used throughout os module always uses

[issue32540] venv docs - doesn't match behavior

2018-02-20 Thread Cheryl Sabella
Cheryl Sabella added the comment: Does this need to be backported to 3.7 and 3.6? Or can it be closed as resolved? -- nosy: +csabella ___ Python tracker

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

2018-02-20 Thread Eric Snow
Eric Snow added the comment: New changeset f53d9f2778a87bdd48eb9030f782a4ebf9e7622f by Eric Snow in branch 'master': bpo-32604: Swap threads only if the interpreter is different. (gh-5778)

[issue32880] IDLE: Fix and update and cleanup pyparse

2018-02-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: StringTranslatePseudoMapping (Mapping) is an awkward and not very descriptive name. It is similar to collections.defaultdict except that it uses a default value rather than a default factory. The latter is so defaults can be mutables.

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

2018-02-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +5564 ___ Python tracker ___

[issue32888] Improve exception message in ast.literal_eval

2018-02-20 Thread Chris Angelico
Chris Angelico added the comment: (BTW, by "proposed" I mean that the change that I describe is in the PR.) -- ___ Python tracker ___

[issue31848] "aifc" module does not always initialize "Aifc_read._ssnd_chunk"

2018-02-20 Thread miss-islington
miss-islington added the comment: New changeset 2b9726eb647e856d83eafdc30cdbbc31a5920ab6 by Miss Islington (bot) in branch '3.6': bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND chunk is not found (GH-5240)

[issue32874] IDLE: Add tests for pyparse

2018-02-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Response to msg312428: I would generally prefer to put off using 3.x feature in module m until after we think we are done patching m for 3.(x-1), but do so before 3.x.0 release. When 3.x-1 went to security status a week after the 3.x

[issue31848] "aifc" module does not always initialize "Aifc_read._ssnd_chunk"

2018-02-20 Thread miss-islington
miss-islington added the comment: New changeset 1d927d4feba856cacc026a9167ba38c73a4e7657 by Miss Islington (bot) in branch '3.7': bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND chunk is not found (GH-5240)

[issue32874] IDLE: Add tests for pyparse

2018-02-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Respone to msg312353: Yes, let us restrict this to testing pyparse code as is. I opened issue #32880 for changing the code. My followup post discusses parse variable initialization. Putting instance variable defaults in class attributes

[issue32863] Missing support for Emojis in tkinter

2018-02-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: The 3.7b1 64-bit installer includes a local copy of Tcl/Tk (see Mac/BuildScript/build-installer.py), which could be changed as needed. That said, I'm not advocating changing default Tcl/Tk configuration options because I don't know

[issue32889] Valgrind suppressions need updating

2018-02-20 Thread Paul Price
New submission from Paul Price : Using the current valgrind suppressions (Misc/valgrind-python.supp) results in a lot of noise, e.g.: ==2662549== Conditional jump or move depends on uninitialised value(s) ==2662549==at 0x4EFD734: address_in_range

[issue31848] "aifc" module does not always initialize "Aifc_read._ssnd_chunk"

2018-02-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +5562 ___ Python tracker ___

[issue31848] "aifc" module does not always initialize "Aifc_read._ssnd_chunk"

2018-02-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +5560 ___ Python tracker ___

[issue31848] "aifc" module does not always initialize "Aifc_read._ssnd_chunk"

2018-02-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +5561 ___ Python tracker ___

[issue32886] new Boolean ABC in numbers module + Integral>Integer renaming

2018-02-20 Thread Josh Rosenberg
Josh Rosenberg added the comment: First off, link to discussion: https://groups.google.com/d/topic/python-ideas/-3QW3cxj3ko/discussion 1. bool is already a virtual subclass of Integral since it's an actual subclass of int (which is a virtual subclass of

[issue31848] "aifc" module does not always initialize "Aifc_read._ssnd_chunk"

2018-02-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 80d20b918bd8a882043c493a7f958333ecb41727 by Serhiy Storchaka (Zackery Spytz) in branch 'master': bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND chunk is not found (#5240)

[issue29282] Fused multiply-add: proposal to add math.fma()

2018-02-20 Thread Nico Schlömer
Nico Schlömer added the comment: > Existing libm implementations don't work, Okay. Is this because of the inf/NaN discrimination hiccups mentioned above or are there any other pitfalls? -- ___ Python tracker

[issue29282] Fused multiply-add: proposal to add math.fma()

2018-02-20 Thread Mark Dickinson
Mark Dickinson added the comment: > Do I read this thread correctly assuming that this hasn't been implemented > yet? Yes. Existing libm implementations don't work, so simply wrapping the libm function isn't enough. And writing an implementation from scratch is

[issue29282] Fused multiply-add: proposal to add math.fma()

2018-02-20 Thread Nico Schlömer
Nico Schlömer added the comment: Do I read this thread correctly assuming that this hasn't been implemented yet? If not, I would probably make my own little library for this -- I really need the feature for the precision. -- nosy: +nschloe

[issue32500] PySequence_Length() raises TypeError on dict type

2018-02-20 Thread miss-islington
miss-islington added the comment: New changeset 6ae87cae091f4835090c10c1e65eb057a13fca2c by Miss Islington (bot) in branch '3.6': bpo-32500: Correct the documentation for PySequence_Size() and PySequence_Length() (GH-5767)

[issue32888] Improve exception message in ast.literal_eval

2018-02-20 Thread Chris Angelico
Chris Angelico added the comment: Actually, it's a bit more complicated than I thought. Current proposed solution: Track the context of each conversion, thus allowing different errors to be distinguished. -- ___ Python tracker

[issue32874] IDLE: Add tests for pyparse

2018-02-20 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks for pointing out #21765 - very interesting reading. :-) Would the new str.isascii() be helpful or would it be too early to use something only available in 3.7? It would seem that and combinations of `if isascii() and

[issue32888] Improve exception message in ast.literal_eval

2018-02-20 Thread Chris Angelico
Chris Angelico added the comment: Hmm, I think I see what I broke there. It was part of the merge conflict resolution - I moved the check into the function, which is actually incorrect. It wasn't misleading like that in the original patch. Will fix that. --

[issue32881] pycapsule:PyObject * is NULL pointer

2018-02-20 Thread Steve Dower
Steve Dower added the comment: What is the definition of FUNCTION_CALL_MODE? And if it is anything other than "stdcall", change "ctypes.windll" to "ctypes.cdll" and try again. You should also consider posting this to python-list, as it is almost certainly a problem in

[issue24255] Replace debuglevel-related logic with logging

2018-02-20 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hey Erin, Can you please convert your patch to a PR on Github? -- nosy: +CuriousLearner ___ Python tracker

[issue32888] Improve exception message in ast.literal_eval

2018-02-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I afraid this makes an error message more confusing and misleading. >>> ast.literal_eval('~2') Traceback (most recent call last): File "", line 1, in File "/home/serhiy/py/cpython/Lib/ast.py", line 93, in literal_eval

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

2018-02-20 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +5559 ___ Python tracker ___ ___

[issue32888] Improve exception message in ast.literal_eval

2018-02-20 Thread Chris Angelico
Change by Chris Angelico : -- keywords: +patch pull_requests: +5558 stage: -> patch review ___ Python tracker ___

[issue32500] PySequence_Length() raises TypeError on dict type

2018-02-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +5557 ___ Python tracker ___

[issue32888] Improve exception message in ast.literal_eval

2018-02-20 Thread Chris Angelico
New submission from Chris Angelico : When a non-literal is given to literal_eval, attempt to be more helpful with the message, rather than calling it 'malformed'. -- components: Library (Lib) messages: 312423 nosy: Rosuav priority: normal pull_requests: severity:

[issue32500] PySequence_Length() raises TypeError on dict type

2018-02-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +5556 ___ Python tracker ___

[issue32500] PySequence_Length() raises TypeError on dict type

2018-02-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +5554 ___ Python tracker ___

[issue32500] PySequence_Length() raises TypeError on dict type

2018-02-20 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 7a1e1786f98ad49caa157dcdf14ada9d0b07d0fd by Mariatta (Zackery Spytz) in branch 'master': bpo-32500: Correct the documentation for PySequence_Size() and PySequence_Length() (GH-5767)

[issue32887] os: Users of path_converter don't handle fd == -1 properly

2018-02-20 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list

[issue32887] os: Users of path_converter don't handle fd == -1 properly

2018-02-20 Thread Alexey Izbyshev
New submission from Alexey Izbyshev : Demo: >>> import os >>> os.chdir(-1) Traceback (most recent call last): File "", line 1, in OSError: [Errno 14] Bad address: -1 >>> os.chdir(-2) Traceback (most recent call last): File "", line 1, in OSError: [Errno 9] Bad file

[issue32843] More revisions to test.support docs

2018-02-20 Thread Cheryl Sabella
Cheryl Sabella added the comment: I've made the changes requested. I wasn't sure about: TESTFN_NONASCII - How different from TESTFN_UNICODE? Should I move these out of test.support?: missing_compiler_executable(cmd_names=[]) - It is used only in distutils tests and

[issue32843] More revisions to test.support docs

2018-02-20 Thread Cheryl Sabella
Change by Cheryl Sabella : -- stage: -> patch review ___ Python tracker ___ ___

[issue32843] More revisions to test.support docs

2018-02-20 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +5553 stage: -> patch review ___ Python tracker ___

[issue32849] Fatal Python error: Py_Initialize: can't initialize sys standard streams

2018-02-20 Thread Rudolph Froger
Rudolph Froger added the comment: > Could it be simply because daemon is respawned from a process that does have > a valid stdin at the time of respawn? Yes, that could certainly be the case. Thanks! -- ___ Python

[issue32849] Fatal Python error: Py_Initialize: can't initialize sys standard streams

2018-02-20 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- keywords: +patch pull_requests: +5552 stage: -> patch review ___ Python tracker ___

[issue32849] Fatal Python error: Py_Initialize: can't initialize sys standard streams

2018-02-20 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: > But I'm not sure why it can be solved, sometimes, by restarting the the > daemon. Could it be simply because daemon is respawned from a process that does have a valid stdin at the time of respawn? Note that daemon has an option to

[issue32883] Key agreement parameters not accessible

2018-02-20 Thread sruester
sruester added the comment: How about a new method crypto_information() and making cipher() a wrapper around that one? The former could return a named tupple with handshake information together with all other relevant crypto information about the current session. This

[issue32886] new Boolean ABC in numbers module + Integral>Integer renaming

2018-02-20 Thread Sylvain Marie
New submission from Sylvain Marie : This issue is created following the discussion [Python-ideas] Boolean ABC similar to what's provided in the 'numbers' module. The following items are suggested: - adding a 'Boolean' ABC class to the 'numbers' module -

[issue32820] Add __format__ method to ipaddress

2018-02-20 Thread Nick Coghlan
Nick Coghlan added the comment: I've updated the issue title to reflect the revised proposal (i.e. using __format__ rather than a new IP address specific method). -- title: Add bits method to ipaddress -> Add __format__ method to ipaddress

[issue32820] Add bits method to ipaddress

2018-02-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And Eric, please avoid including the quote of previous message in your messages. This makes hard to read your messages and the whole discussion. -- ___ Python tracker

[issue32820] Add bits method to ipaddress

2018-02-20 Thread Eric Osborne
Eric Osborne added the comment: Yeah, bits() is dead. The thread has the same title, but I changed the PR a while ago. The diffs in the PR are for format(). I'll go over the code and clean it up. The docstring in particular is probably lousy. Thanks! eric On Tue, Feb 20,

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

2018-02-20 Thread Christian Heimes
Christian Heimes added the comment: It's technically a new feature. But since it's just in Tools/, we could make an exception. I've removed the security branches from versions. -- nosy: +christian.heimes versions: -Python 3.4, Python 3.5

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

2018-02-20 Thread Miro Hrončok
Change by Miro Hrončok : -- keywords: +patch pull_requests: +5551 stage: -> patch review ___ Python tracker ___

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

2018-02-20 Thread Miro Hrončok
Change by Miro Hrončok : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list

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

2018-02-20 Thread Miro Hrončok
Change by Miro Hrončok : -- components: +Demos and Tools ___ Python tracker ___ ___

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

2018-02-20 Thread Miro Hrončok
New submission from Miro Hrončok : We (Fedora's Python SIG) would like to promote usage of Tools/scripts/pathfix.py (we've even moved it to $PATH) in Fedora RPM build (a.k.a spec files) instead of various error prone finds + greps + seds. However when running pathfix.py, it

[issue32882] SSLContext.set_ecdh_curve() not accepting x25519

2018-02-20 Thread sruester
Change by sruester : -- pull_requests: +5550 ___ Python tracker ___ ___

[issue32884] Adding the ability for getpass to print asterisks when passowrd is typed

2018-02-20 Thread Matanya Stroh
New submission from Matanya Stroh : I saw some questions about it in stackoverflow (links below), and also find it very useful to have the ability to print asterisks. Some users, find it disturbing when they don't have any indication that password is typed, and it will

[issue32882] SSLContext.set_ecdh_curve() not accepting x25519

2018-02-20 Thread sruester
Change by sruester : -- keywords: +patch pull_requests: +5549 stage: needs patch -> patch review ___ Python tracker ___

[issue32883] Key agreement parameters not accessible

2018-02-20 Thread Christian Heimes
Christian Heimes added the comment: I'd prefer to have a generic handshake info method that returns a structured object like a named tuple with handshake information. We could start with key exchange / key agreement, TLS version, cipher suite, etc. Later the method could be

  1   2   >