[issue8548] Building on CygWin 1.7: PATH_MAX redefined

2017-11-01 Thread Masayuki Yamamoto

Masayuki Yamamoto  added the comment:

This issue has been out-of-date since Python 3.4 maintenance became security 
status.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31872] SSL BIO is broken for internationalized domains

2017-11-01 Thread Nathaniel Smith

Nathaniel Smith  added the comment:

I believe https://github.com/python/cpython/pull/3010 is the fix you're looking 
for.

--
nosy: +njs

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31356] Add context manager to temporarily disable GC

2017-11-01 Thread Pablo Galindo Salgado

Pablo Galindo Salgado  added the comment:

I have prepared a PR in GitHub with an initial implementation of the context 
manager trying to fulfil the discussed requirements: 
https://github.com/python/cpython/pull/3980

--
nosy: +pablogsal

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31356] Add context manager to temporarily disable GC

2017-11-01 Thread Pablo Galindo Salgado

Change by Pablo Galindo Salgado :


--
keywords: +patch
pull_requests: +4192
stage: needs patch -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31913] forkserver could warn if several threads are running

2017-11-01 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Yeah... We might replicate the psutil source code doing that.  On Linux, it 
involves parsing /proc/{pid}/status (which may not be available on some 
restricted execution environments?).  Haven't looked what it does on macOS.

--
nosy: +giampaolo.rodola

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31913] forkserver could warn if several threads are running

2017-11-01 Thread Gregory P. Smith

Gregory P. Smith  added the comment:

If we do this, I think we should aim for the complete solution on the most 
common posix platforms (Linux and MacOS) as C/C++ extensions are just as happy 
to create threads these days.  (but if you want to start with a simple python 
threads only warning, i'm not going to stop you)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21457] NetBSD curses support improvements

2017-11-01 Thread Thomas Klausner

Thomas Klausner  added the comment:

Thanks for looking at this.
I looked at the patch again, and I can't make sense of the py_curses.h part 
either - I've removed it from pkgsrc with a request for information if it's 
still needed.

Btw, thanks for working on NetBSD curses support in Python. You should really 
try out on a NetBSD 8 (or -current) snapshot as well, since the curses library 
was improved for better support especially for python curses in the last year.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31630] math.tan has poor accuracy near pi/2 on OpenBSD and NetBSD

2017-11-01 Thread Tim Peters

Tim Peters  added the comment:

Oops!  I mixed up `sin` and `cos` in that comment.  If it's argument reduction 
that's broken, then for x near pi/2 cos(x) will be evaluated as -sin(x - pi/2), 
which is approximately -(x - pi/2), and so error in argument reduction (the "x 
- pi/2" part) will show up directly in the cos() result.  So to confirm or 
refute that, you could replace `tan` by `cos` in the Python program I posted.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18835] Add PyMem_AlignedAlloc()

2017-11-01 Thread Stefan Krah

Stefan Krah  added the comment:

Yes, it may be better not to add it.

To summarize the problems again:


  - C11 aligned_alloc() / free() would be more comfortable but isn't
available on MSVC.

  - posix_memalign() performance isn't that great.

  - hand-rolled aligned_calloc() is the fastest.


The feature could still be useful for fixing #31912 and #27987,
*if* someone has an idea how to integrate the aligned version.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28643] Broken makefile depends for profile-opt target

2017-11-01 Thread Neil Schemenauer

Change by Neil Schemenauer :


--
keywords: +patch
pull_requests: +4191

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31630] math.tan has poor accuracy near pi/2 on OpenBSD and NetBSD

2017-11-01 Thread Tim Peters

Tim Peters  added the comment:

Since fdlibm uses tan(x) ~= -1/(x-pi/2) in this range, and the reciprocals of 
the bad results have a whole of bunch of trailing zero bits, my guess is that 
argument reduction (the "x-pi/2" part) is screwing up (losing bits of pi/2 
beyond the long string of initial bits that cancel out).  In which case it's 
likely sin(x) will return a poor result too, for the same reason (while cos(x) 
will return 1.0).  IOW, I'd be surprised if sin(x)/cos(x) were materially 
better.  If so, it's not just tan() that's flawed.  That can be checked easily 
enough (e.g., change the Python program I posted to use sin() instead of tan()).

Regardless, assuming we don't want to write our own libm, it's highly desirable 
that platform experts be aware of the flaw(s) on platforms where it occurs.  
Otherwise they'll never make the noise needed to get it fixed.

OTOH, it's not an error _in_ Python if we don't supply libm, so the Python test 
suite really shouldn't fail on these.  Spray warnings to stderr?  Create a new 
"platform (lack of) quality" class of soft failure?  "Pass or fail, period" 
misses the mark here :-(

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset b694770a2b23cd485c98bf673a8b2dc1a865d9df by Serhiy Storchaka 
(Miss Islington (bot)) in branch '2.7':
bpo-27666: Fixed stack corruption in curses.box() and curses.ungetmouse(). 
(GH-4220) (#4222)
https://github.com/python/cpython/commit/b694770a2b23cd485c98bf673a8b2dc1a865d9df


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Roundup Robot

Change by Roundup Robot :


--
pull_requests: +4190

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset aad7ac10af6ed40fc21b842e04be0b04b2915d4a by Serhiy Storchaka 
(Miss Islington (bot)) in branch '3.6':
bpo-27666: Fixed stack corruption in curses.box() and curses.ungetmouse(). 
(GH-4220) (#4221)
https://github.com/python/cpython/commit/aad7ac10af6ed40fc21b842e04be0b04b2915d4a


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21457] NetBSD curses support improvements

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Guards around functions have been removed in issue31891.

But could you please explain why changes in py_curses.h are needed?

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14598] _cursesmodule.c fails with ncurses-5.9 on Linux

2017-11-01 Thread Masayuki Yamamoto

Masayuki Yamamoto  added the comment:

Probably, yes.  ncurses on Cygwin has provided is_pad() [*]. In addition, the 
old version of Cygwin will become to not define WINDOW_HAS_FLAGS by issue25720.

[*] newer version than patchlevel 20090906 was provided on Cygwin in 2009.
https://sourceware.org/ml/cygwin-announce/2009-11/msg00025.html

--
status: pending -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5368] curses patch add color_set and wcolor_set , and addchstr family of functions

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
versions: +Python 3.7 -Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1751519] curses - new window methods: addchstr and addchnstr

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
versions: +Python 3.7 -Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1751519] curses - new window methods: addchstr and addchnstr

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18669] curses.chgat() moves cursor, documentation says it shouldn't

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
assignee: docs@python -> serhiy.storchaka
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Roundup Robot

Change by Roundup Robot :


--
pull_requests: +4189

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31630] math.tan has poor accuracy near pi/2 on OpenBSD and NetBSD

2017-11-01 Thread Stefan Krah

Stefan Krah  added the comment:

On Wed, Nov 01, 2017 at 06:17:44PM +, Mark Dickinson wrote:
> I'm really reluctant to (even conditionally) skip the test, because it's 
> doing exactly what it's designed to do, namely detecting and reporting that 
> Python is giving poor results in this corner case on this platform. As 
> developers, we can blame the poor results on the platform's libm, but that 
> doesn't help the user.

I would want the tests to fail, especially if it can occur on Linux (though I
still suspect an i686 router in the reported case).

Perhaps hide them behind -uall, so that *we* see the result but just
executing ./python -m test passes.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3949] curses' sigwinch handler isn't visible from python

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
nosy: +haypo, serhiy.storchaka
versions: +Python 3.6, Python 3.7 -Python 3.3, Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31630] math.tan has poor accuracy near pi/2 on OpenBSD and NetBSD

2017-11-01 Thread Mark Dickinson

Mark Dickinson  added the comment:

The big mystery for me is not "Why this is occurring in the first place?" but 
"What should we do about it?"

I'm really reluctant to (even conditionally) skip the test, because it's doing 
exactly what it's designed to do, namely detecting and reporting that Python is 
giving poor results in this corner case on this platform. As developers, we can 
blame the poor results on the platform's libm, but that doesn't help the user.

If we can find combinations of compiler flags that fix the issue for this 
platform, then I guess that's a solution. But what if we can't? Do we simply 
accept that the test suite will fail on this platform (and perhaps add a 
visible comment somewhere that this is a known issue, with a link to this bpo 
issue)?

We can certainly hack together a tan implementation that behaves better in 
these corner cases; it's not totally trivial, but not all that hard, either (I 
suspect that simply using `sin / cos` would already be an improvement.) But if 
we do this every time we encounter a platform-specific libm corner case, we'll 
end up with a maze of twisty windy workarounds in mathmodule.c ...

Or we could drop the fine-grained math library tests altogether: if the purpose 
of the math module is to wrap the platform libm and return the results it's 
returning, then we're already doing that perfectly well, so the tests are at 
best useless, and at worst problematic in cases like this. But I'm not so happy 
with that solution either.

Thoughts?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9667] NetBSD curses KEY_* constants

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Currently the default curses library on NetBSD provides all guarded functions. 
All these guards no longer needed. And they were removed in issue31891.

--
nosy: +serhiy.storchaka
resolution:  -> out of date
stage:  -> resolved
status: open -> closed
superseder:  -> Make curses compiling on NetBSD 7.1 and tests passing

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1723038] Curses Menu

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka
nosy: +serhiy.storchaka
versions: +Python 3.7 -Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15852] typos in curses argument error messages

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Do you mind to create a pull request on GitHub Chris?

In general the patch LGTM, but I don't think this minor typo fix needs tests 
for exact error messages. Adding new tests is good, but I think it is enough to 
test that corresponding functions accept the correct number of arguments and 
raise TypeError on incorrect number of arguments.

--
nosy: +serhiy.storchaka
versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5368] curses patch add color_set and wcolor_set , and addchstr family of functions

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3786] _curses, _curses_panel & _multiprocessing can't be build in 2.6b3 w/ SunStudio 12

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Issue31919 have made _curses be built on OpenIndiana with the default curses 
library. I suppose this have fixed this issue on Solaris too.

But configuring _curses to use XPG4 curses is a different issue.

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10598] Add test for curses haskey replacement

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8243] curses writing to window's bottom right position raises: `_curses.error: addstr() returned ERR'

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
type: behavior -> enhancement
versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15037] curses.unget_wch and test_curses fail when linked with ncurses 5.7 and earlier

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka
versions: +Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Thank you for your patch Steve.

It is better to use PyCurses_ConvertToChtype() which is used for parsing all 
chtype arguments.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
pull_requests: +4188
stage: needs patch -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31893] Issues with kqueue

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset ce51890894be46f8f9d991a1d0ea1455fc41ccdc by Serhiy Storchaka in 
branch '2.7':
bpo-31893: Fix a backporting error in 8cbf4e10646c3f5b8f0d274c2d7dea5bb6305f57. 
(#4219)
https://github.com/python/cpython/commit/ce51890894be46f8f9d991a1d0ea1455fc41ccdc


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15037] curses.unget_wch and test_curses fail when linked with ncurses 5.7 and earlier

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset 1f81ea85e8e20347ec396001e5b869d36fe38398 by Serhiy Storchaka 
(Miss Islington (bot)) in branch '3.6':
bpo-15037: Add a workaround for getkey() in curses for ncurses 5.7 and earlier. 
(GH-3826) (#4218)
https://github.com/python/cpython/commit/1f81ea85e8e20347ec396001e5b869d36fe38398


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31893] Issues with kqueue

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
pull_requests: +4187

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15037] curses.unget_wch and test_curses fail when linked with ncurses 5.7 and earlier

2017-11-01 Thread Roundup Robot

Change by Roundup Robot :


--
pull_requests: +4186

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15037] curses.unget_wch and test_curses fail when linked with ncurses 5.7 and earlier

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset 7e68790f3db75a893d5dd336e6201a63bc70212b by Serhiy Storchaka in 
branch 'master':
bpo-15037: Add a workaround for getkey() in curses for ncurses 5.7 and earlier. 
(#3826)
https://github.com/python/cpython/commit/7e68790f3db75a893d5dd336e6201a63bc70212b


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30423] [asyncio] orphan future close loop and cause "RuntimeError: Event loop stopped before Future completed."

2017-11-01 Thread Andrew Svetlov

Andrew Svetlov  added the comment:


New changeset d1e34031f68a3c7523a5376575c87cd0fea2425c by Andrew Svetlov 
(jimmylai) in branch 'master':
[asyncio] bpo-30423: add regression test for orphan future causes 
"RuntimeError: Event loop stopped before Future completed." (#3295)
https://github.com/python/cpython/commit/d1e34031f68a3c7523a5376575c87cd0fea2425c


--
nosy: +asvetlov

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31680] Expose curses library name and version on Python level

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

PR 4217 adds a named tuple curses.ncurses_version containing the three 
components of the ncurses library version: major, minor, and patch.

>>> curses.ncurses_version
curses.ncurses_version(major=6, minor=0, patch=20160625)

Other curses implementation don't provide a version programmically.

--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31680] Expose curses library name and version on Python level

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
keywords: +patch
pull_requests: +4185
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2017-11-01 Thread Christian Heimes

Christian Heimes  added the comment:

Thanks for your feature request, Hanno.

It's fairly easy to implement with current API for TLS protocols up to TLS 1.2, 
e.g. cipher suite "DEFAULT:!aRSA:!aDSS" or "aECDSA:!NULL" for ECDSA certs.

However TLS 1.3 cipher suites no longer specify authentication and KE/KX 
algorithms, e.g. TLS13-AES-256-GCM-SHA384. I have to find a way to force 
OpenSSL's state machine to establish a connection with a specific 
authentication algorithm.

Memo to me: TLS 1.3 also has EdDSA.

--
nosy: +alex, dstufft, janssen
versions: +Python 2.7, Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31919] Make curses compiling on OpenIndiana and tests passing

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31919] Make curses compiling on OpenIndiana and tests passing

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset 87c66e46ce2c929540a9a91bbe25d1840d194475 by Serhiy Storchaka 
(Miss Islington (bot)) in branch '2.7':
bpo-31919: Fix building the curses module on OpenIndiana. (GH-4211) (#4216)
https://github.com/python/cpython/commit/87c66e46ce2c929540a9a91bbe25d1840d194475


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31919] Make curses compiling on OpenIndiana and tests passing

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset 2be9a31213e93e26a71150efaef1a975f8b9afec by Serhiy Storchaka 
(Miss Islington (bot)) in branch '3.6':
bpo-31919: Fix building the curses module on OpenIndiana. (GH-4211) (#4215)
https://github.com/python/cpython/commit/2be9a31213e93e26a71150efaef1a975f8b9afec


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31910] test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99)

2017-11-01 Thread STINNER Victor

STINNER Victor  added the comment:


New changeset 4b73a79e796c3832be0cfd45bc27f15aea32b621 by Victor Stinner (Miss 
Islington (bot)) in branch '2.7':
Fix test_socket.test_create_connection() (GH-4206) (#4209)
https://github.com/python/cpython/commit/4b73a79e796c3832be0cfd45bc27f15aea32b621


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31910] test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99)

2017-11-01 Thread STINNER Victor

STINNER Victor  added the comment:


New changeset 89b84b026b389f3c61cbbc5ee89afd8248721b0d by Victor Stinner (Miss 
Islington (bot)) in branch '3.6':
Fix test_socket.test_create_connection() (GH-4206) (#4208)
https://github.com/python/cpython/commit/89b84b026b389f3c61cbbc5ee89afd8248721b0d


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14598] _cursesmodule.c fails with ncurses-5.9 on Linux

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Is this issue superseded by issue25720?

--
nosy: +serhiy.storchaka
status: open -> pending
versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25720] Fix curses module compilation with ncurses6

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset 6ba0b583d6785a256b17d27431908d67015eeeb6 by Serhiy Storchaka 
(Miss Islington (bot)) in branch '2.7':
bpo-25720: Fix the method for checking pad state of curses WINDOW (GH-4164) 
(#4213)
https://github.com/python/cpython/commit/6ba0b583d6785a256b17d27431908d67015eeeb6


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25720] Fix curses module compilation with ncurses6

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Thank you for your contribution Masayuki!

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25720] Fix curses module compilation with ncurses6

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset ff6ae4de3874f4922a5883f08bb661c93834b060 by Serhiy Storchaka 
(Miss Islington (bot)) in branch '3.6':
bpo-25720: Fix the method for checking pad state of curses WINDOW (GH-4164) 
(#4212)
https://github.com/python/cpython/commit/ff6ae4de3874f4922a5883f08bb661c93834b060


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31919] Make curses compiling on OpenIndiana and tests passing

2017-11-01 Thread Roundup Robot

Change by Roundup Robot :


--
pull_requests: +4184

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31919] Make curses compiling on OpenIndiana and tests passing

2017-11-01 Thread Roundup Robot

Change by Roundup Robot :


--
pull_requests: +4183

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31919] Make curses compiling on OpenIndiana and tests passing

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset 894ebd065e02debf20c0657d26020ecc42b7534f by Serhiy Storchaka in 
branch 'master':
bpo-31919: Fix building the curses module on OpenIndiana. (#4211)
https://github.com/python/cpython/commit/894ebd065e02debf20c0657d26020ecc42b7534f


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25720] Fix curses module compilation with ncurses6

2017-11-01 Thread Roundup Robot

Change by Roundup Robot :


--
pull_requests: +4182

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25720] Fix curses module compilation with ncurses6

2017-11-01 Thread Roundup Robot

Change by Roundup Robot :


--
pull_requests: +4181

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25720] Fix curses module compilation with ncurses6

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset 8bc7d63560024681dce9f40445f2877b2987e92c by Serhiy Storchaka 
(Masayuki Yamamoto) in branch 'master':
bpo-25720: Fix the method for checking pad state of curses WINDOW (#4164)
https://github.com/python/cpython/commit/8bc7d63560024681dce9f40445f2877b2987e92c


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31919] Make curses compiling on OpenIndiana and tests passing

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
keywords: +patch
pull_requests: +4180
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28791] update sqlite to latest version before beta 1

2017-11-01 Thread Berker Peksag

Berker Peksag  added the comment:

> In an effort to not forget about this, I'm setting it to deferred blocker.

Should we mark issue 30952 'deferred blocker' too?

--
nosy: +berker.peksag

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31919] Make curses compiling on OpenIndiana and tests passing

2017-11-01 Thread Serhiy Storchaka

New submission from Serhiy Storchaka :

The proposed PR makes curses compiling on OpenIndiana (2017.04) and fixes 
tests. I suppose it fixes issues on Solaris too.

--
assignee: serhiy.storchaka
components: Extension Modules
messages: 305368
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Make curses compiling on OpenIndiana and tests passing
type: compile error
versions: Python 2.7, Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31908] trace module cli does not write cover files

2017-11-01 Thread Berker Peksag

Berker Peksag  added the comment:

I think the first part of your patch also fixes issue 26818. Could you adapt 
the test there and add a test case for the problem in this issue?

--
nosy: +berker.peksag
versions:  -Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18835] Add PyMem_AlignedAlloc()

2017-11-01 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

I agree, if the two primary users say they won't use it, it doesn't make sense 
for us to maintain 600 hundred lines of low-level C code.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30442] Skip test_xml_etree under coverage

2017-11-01 Thread Berker Peksag

Berker Peksag  added the comment:

All PRs have been merged and 3.5 is now in security-fix-only mode. Closing this 
as 'fixed'.

--
nosy: +berker.peksag
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions:  -Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9674] make install DESTDIR=/home/blah fails when the prefix specified is /

2017-11-01 Thread Xavier de Gaye

Xavier de Gaye  added the comment:

The problem is that the build system , Py_GetPath() and the distutils module do 
not handle correctly the case where the configure prefix is '/'.

Closing as a duplicate of issue 31114.

--
resolution:  -> duplicate
stage: test needed -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31918] Don't let all python code modify modules

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

You haven't modified the os module. You have just binded a new value to the os 
variable. You can assign arbitrary values to your variables, this is a feature 
of Python.

--
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31918] Don't let all python code modify modules

2017-11-01 Thread Марат Нагаев

Change by Марат Нагаев :


--
components: +Extension Modules

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31626] Writing in freed memory in _PyMem_DebugRawRealloc() after shrinking a memory block

2017-11-01 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
pull_requests: +4179

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31918] Don't let all python code modify modules

2017-11-01 Thread Марат Нагаев

New submission from Марат Нагаев :

import os
os="os"
#I think it's bad, os and other modules constants

--
title: D -> Don't let all python code modify modules

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31918] D

2017-11-01 Thread Марат Нагаев

Change by Марат Нагаев :


--
nosy: Марат Нагаев
priority: normal
severity: normal
status: open
title: D
type: enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31412] wave.open does not accept PathLike objects

2017-11-01 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

wave is a one of three audio file modules (aifc, sunau, wave) that should have 
the same interface.

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31412] wave.open does not accept PathLike objects

2017-11-01 Thread Berker Peksag

Change by Berker Peksag :


--
nosy: +berker.peksag

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31390] pydoc.Helper.keywords missing async and await

2017-11-01 Thread Berker Peksag

Berker Peksag  added the comment:

Thank you for your report. Prior to Python 3.7, async and await keywords have 
had special meanings and they weren't treated as normal keywords. They are now 
in Python 3.7:

>>> async = 42
  File "", line 1
async = 42
  ^
SyntaxError: invalid syntax

And they are listed as keywords:

$ ./python -m pydoc keywords

Here is a list of the Python keywords.  Enter any keyword to get more help.

False   class   fromor
Nonecontinueglobal  pass
Truedef if  raise
and del import  return
as  elifin  try
assert  elseis  while
async   except  lambda  with
await   finally nonlocalyield
break   for not 

So I don't think we should modify pydoc to list them as keywords in Python 3.6.

--
nosy: +berker.peksag
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com