[issue8372] socket: Buffer overrun while reading unterminated AF_UNIX addresses

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
versions: +Python 3.6, Python 3.7 -Python 2.6, Python 3.2, Python 3.3

___
Python tracker 

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



[issue10572] Move test sub-packages to Lib/test

2016-09-08 Thread Mark Lawrence

Changes by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue12378] smtplib.SMTP_SSL leaks socket connections on SSL error

2016-09-08 Thread Mark Lawrence

Changes by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue28010] http.client.HTTPConnection.putrequest incorrect arguments

2016-09-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset f6b62cf4a436 by Senthil Kumaran in branch '3.5':
Issue28010 - Make http.client.HTTPConnection.putrequest documentation 
consistent with the code.
https://hg.python.org/cpython/rev/f6b62cf4a436

New changeset 93c7a893f9b4 by Senthil Kumaran in branch 'default':
[merge from 3.5] - Issue28010 - Make http.client.HTTPConnection.putrequest
https://hg.python.org/cpython/rev/93c7a893f9b4

--
nosy: +python-dev

___
Python tracker 

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



[issue25856] The __module__ attribute of non-heap classes is not interned

2016-09-08 Thread Benjamin Peterson

Benjamin Peterson added the comment:

I think it's better not write into the type dict in a getter. You might just 
use PyUnicode_InternFromString every time.

FWIW, __name__ also has this behavior.

--

___
Python tracker 

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



[issue19717] resolve() fails when the path doesn't exist

2016-09-08 Thread Brett Cannon

Changes by Brett Cannon :


--
priority: normal -> deferred blocker

___
Python tracker 

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



[issue28031] Update pathlib.resolve() to match os.path.realpath()

2016-09-08 Thread Brett Cannon

Brett Cannon added the comment:

Yep, it's a duplicate. I updated the other issue with the same link of Guido's 
decision.

--
resolution:  -> duplicate
status: open -> closed
superseder:  -> resolve() fails when the path doesn't exist

___
Python tracker 

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



[issue19717] resolve() fails when the path doesn't exist

2016-09-08 Thread Brett Cannon

Brett Cannon added the comment:

Guido has kept his opinion that it should resolve until the path no longer 
exists and then just stop: 
https://mail.python.org/pipermail/python-ideas/2016-September/042203.html

--
nosy: +brett.cannon

___
Python tracker 

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



[issue25856] The __module__ attribute of non-heap classes is not interned

2016-09-08 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

This is what my first path does. But this slows down retrieving the __module__ 
attribute (from 0.2 usec to 0.4 usec on my computer). Maybe I haven't bother.

Interning __name__ and __qualname__ is less important, because different 
functions and classes usually have different names.

--

___
Python tracker 

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



[issue17394] Add slicing support to collections.deque

2016-09-08 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Ping.

--

___
Python tracker 

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



[issue13856] xmlrpc / httplib changes to allow for certificate verification

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

xmlrpc.client.SafeTransport() accepts a context object. You can pass a 
SSLContext in to perform cert validation and even client cert auth.

--
resolution:  -> out of date
status: open -> closed

___
Python tracker 

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



[issue7836] Add /usr/sfw/lib to OpenSSL search path for Solaris.

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

I'm closing this old ticket without patch. Please reopen it with a patch if you 
still want to change the search path.

--
nosy: +christian.heimes
resolution:  -> out of date
status: open -> closed

___
Python tracker 

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



[issue24646] Python accepts SSL certificate that should be rejected on OSX

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

I think this bug is no longer relevant with Python 3.5 and newer. We no longer 
use system OpenSSL in our Python builds.

Ned, is that right?

--
assignee:  -> ned.deily
resolution:  -> not a bug
status: open -> pending

___
Python tracker 

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



[issue26982] Clarify forward annotations in PEP 484

2016-09-08 Thread Ivan Levkivskyi

Changes by Ivan Levkivskyi :


--
nosy: +levkivskyi

___
Python tracker 

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



[issue26471] load_verify_locations(cadata) should load AUX ASN.1 to supported trusted certs

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
assignee:  -> christian.heimes
priority: normal -> high
versions: +Python 3.7

___
Python tracker 

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



[issue25300] Enable Intel MPX (Memory protection Extensions) feature

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
versions: +Python 3.7

___
Python tracker 

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



[issue24594] msilib.OpenDatabase Type Confusion

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

Steve, please have a look.

--
assignee:  -> steve.dower
nosy: +christian.heimes
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



[issue27350] Compact and ordered dict

2016-09-08 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Isn't this premature to commit changes to critical part of Python core without 
having reliable benchmark results?

--

___
Python tracker 

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



[issue27350] Compact and ordered dict

2016-09-08 Thread STINNER Victor

STINNER Victor added the comment:

For an unknown reason, the code fails on a few buildbots, but not all of them.

* PPC64 Fedora 3.x: GNU/Linux ppc64 POWER7 Fedora 20 GCC Compile Farm host 
gcc110.fsffrance.org
* PPC64LE Fedora 3.x: GNU/Linux ppc64le POWER8 Fedora 21 GCC Compile Farm host 
gcc112.fsffrance.org
* s390x Debian 3.x: GNU/Linux s390x System Z Debian Jessie
* s390x RHEL 3.x: GNU/Linux s390x System Z RHEL 7.1
* s390x SLES 3.x: GNU/Linux s390x System Z SLES 12

These buildbot slaves use non-Intel CPU: POWER7, POWER8, s390x System Z (I 
don't know this platform at all!).

gcc -pthread   -o Programs/_freeze_importlib Programs/_freeze_importlib.o (...) 
-lpthread -ldl  -lutil   -lm  
./Programs/_freeze_importlib \
./Lib/importlib/_bootstrap.py Python/importlib.h
_freeze_importlib: Objects/dictobject.c:805: lookdict_unicode_nodummy: 
Assertion `ep->me_key != ((void *)0)' failed.

--

___
Python tracker 

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



[issue20328] mailbox: add method to delete mailbox

2016-09-08 Thread R. David Murray

R. David Murray added the comment:

Given that there's been no clarification of the problem being solved in several 
years, I'm going to reject this.  If someone wants to sort it out and improve 
the patch accordingly we can reopen.

--
resolution:  -> rejected
stage: needs patch -> 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



[issue28029] Replace and empty strings

2016-09-08 Thread SilentGhost

SilentGhost added the comment:

Just the least intrusive patch. Also, to me PyPy behaviour doesn't seem correct.

--
nosy: +SilentGhost
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



[issue17602] mingw: default sys.path calculations for windows platforms

2016-09-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 6142d2d3c471 by Steve Dower in branch 'default':
Issue #1602: Windows console doesn't input or print Unicode (PEP 528)
https://hg.python.org/cpython/rev/6142d2d3c471

--
nosy: +python-dev
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



[issue27985] Implement PEP 526

2016-09-08 Thread Ivan Levkivskyi

Ivan Levkivskyi added the comment:

Guido,

I resolved merge conflicts in patch v4 (if it will complain, this could be 
because of graminit.c or importlib_external.h, just ignore those, they will be 
regenerated during build).

Please take a look and sorry for a delay.

--
Added file: http://bugs.python.org/file44478/hg-pep-526-v4.diff

___
Python tracker 

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



[issue25856] The __module__ attribute of non-heap classes is not interned

2016-09-08 Thread Benjamin Peterson

Benjamin Peterson added the comment:

I'm not too worried about slowing down __module__ especially since it's
not any slower for heap types or types in builtins.

On Thu, Sep 8, 2016, at 14:39, Serhiy Storchaka wrote:
> 
> Serhiy Storchaka added the comment:
> 
> This is what my first path does. But this slows down retrieving the
> __module__ attribute (from 0.2 usec to 0.4 usec on my computer). Maybe I
> haven't bother.
> 
> Interning __name__ and __qualname__ is less important, because different
> functions and classes usually have different names.
> 
> --
> 
> ___
> Python tracker 
> 
> ___

--

___
Python tracker 

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



[issue27867] various issues due to misuse of PySlice_GetIndicesEx

2016-09-08 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Yet one possible solution is to make slice constructor converting arguments to 
exact ints. This allows to leave user code unchanged. But this is 3.6-only 
solution of course. I would like to know Mark's thoughts on this.

--

___
Python tracker 

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



[issue26020] set_display evaluation order doesn't match documented behaviour

2016-09-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 0967531fc762 by Raymond Hettinger in branch '3.5':
Issue #26020:  Fix evaluation order for set literals
https://hg.python.org/cpython/rev/0967531fc762

--
nosy: +python-dev

___
Python tracker 

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



[issue28029] Replace and empty strings

2016-09-08 Thread Stéphane Henriot

Stéphane Henriot added the comment:

I understand it might be a rather rare case.

Nevertheless, don't you think the inconsistency Serhiy pointed out makes it 
look like a bug needing a fix?

--

___
Python tracker 

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



[issue24254] Make class definition namespace ordered by default

2016-09-08 Thread Eric Snow

Changes by Eric Snow :


--
Removed message: http://bugs.python.org/msg275185

___
Python tracker 

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



[issue28027] Remove Lib/plat-*/* files

2016-09-08 Thread Zachary Ware

Zachary Ware added the comment:

None of the buildbots have complained about this (they've been too busy 
complaining about other things), so I'm closing it.

--
resolution:  -> fixed
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



[issue27985] Implement PEP 526

2016-09-08 Thread Ivan Levkivskyi

Ivan Levkivskyi added the comment:

Yes,

This is the latest patch that I tested and with resolved merge conflicts.

--

___
Python tracker 

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



[issue15631] Python 3.3/3.4 installation issue on OpenSUSE lib/lib64 folders

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

Can we close the ticket or is it still relevant?

--
nosy: +christian.heimes
status: open -> pending

___
Python tracker 

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



[issue18329] for line in socket.makefile() speed degradation

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

Is this still a problem in 3.5 and newer?

--
status: open -> pending
versions: +Python 3.6, Python 3.7 -Python 3.2, Python 3.3, 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



[issue28032] --with-lto builds segfault in many situations

2016-09-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 7e89469e4342 by Gregory P. Smith in branch '2.7':
issue28032: never imply --with-lto as part of --with-optimizations.
https://hg.python.org/cpython/rev/7e89469e4342

--

___
Python tracker 

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



[issue28032] --with-lto builds segfault in many situations

2016-09-08 Thread Gregory P. Smith

Changes by Gregory P. Smith :


--
resolution:  -> fixed
stage: needs patch -> 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



[issue5575] Add env vars for controlling building sqlite, hashlib and ssl

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
resolution:  -> out of date
status: open -> closed
superseder:  -> Provide configure option --with-ssl for compilation with custom 
openssl

___
Python tracker 

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



[issue13564] ftplib and sendfile()

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
versions: +Python 3.6, Python 3.7 -Python 3.5

___
Python tracker 

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



[issue22252] ssl blocking IO errors should inherit BlockingIOError

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

I agree with Antoine, let's not subclass io.BlockingIOError.

--
resolution:  -> wont fix
status: open -> closed

___
Python tracker 

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



[issue17096] the system keyring should be used instead of ~/.pypirc

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

Please take this idea to https://www.pypa.io/

--
nosy: +christian.heimes
resolution:  -> out of date
status: open -> closed

___
Python tracker 

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



[issue18317] gettext: DoS via crafted Plural-Forms

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
versions: +Python 3.5, Python 3.6, Python 3.7 -Python 3.2, Python 3.3

___
Python tracker 

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



[issue11671] Security hole in wsgiref.headers.Headers

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
assignee: pje -> 
versions: +Python 3.5, Python 3.6, Python 3.7 -Python 2.6, Python 3.1, Python 
3.2, Python 3.3

___
Python tracker 

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



[issue1298813] sysmodule.c: realpath() is unsafe

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

Victor, #12801 was closed. What about this ticket?

--
status: open -> pending

___
Python tracker 

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



[issue28029] Replace and empty strings

2016-09-08 Thread STINNER Victor

STINNER Victor added the comment:

str.replace("", whatever) doesn't make sense. Why not raising an exception in 
this case?

--
nosy: +haypo

___
Python tracker 

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



[issue27080] Implement the formatting part of PEP 515, '_' in numeric literals.

2016-09-08 Thread Brett Cannon

Changes by Brett Cannon :


--
nosy: +ned.deily
priority: normal -> release blocker

___
Python tracker 

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



[issue28032] --with-lto builds segfault in many situations

2016-09-08 Thread Gregory P. Smith

New submission from Gregory P. Smith:

configure --with-optimizations is failing on the Debian --with-optimizations 
buildbot:

http://buildbot.python.org/all/builders/AMD64%20Debian%20PGO%203.x/builds/2448/steps/compile/logs/stdio

The compiled python is segfaulting when it goes to run the interpreter to build 
modules via setup.py.

this passes manually on ubuntu 16.04.  debian jessie 8.5 is failing here.  
older gcc 4.9.2 toolchain.

i suspect --with-lto is not a good thing to enable by default everywhere.

configure.ac should be updated to exclude --with-lto in more situations than 
just Darwin.  we also know it doesn't work with clang as our configure and 
makefile are today.  so start with a conditional on gcc version being at least 
5.4 (which is what ubuntu 16.04 ships with)?  or is it related to the binutils 
(ld) version when gcc is present?  or both.  LTO is a maze of twisty passages.

To lower this from "release blocker" we need to make --with-optimizations not 
enable --with-lto anywhere it is likely to fail.

--
assignee: gregory.p.smith
messages: 275171
nosy: benjamin.peterson, gregory.p.smith, larry, ned.deily
priority: release blocker
severity: normal
status: open
title: --with-lto builds segfault in many situations
versions: Python 2.7, Python 3.5, Python 3.6

___
Python tracker 

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



[issue28031] Update pathlib.resolve() to match os.path.realpath()

2016-09-08 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Duplicate of issue19717?

--

___
Python tracker 

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



[issue27985] Implement PEP 526

2016-09-08 Thread Ivan Levkivskyi

Ivan Levkivskyi added the comment:

Thank you Yury,

I usually do 

./python -m test -R : test___all__ test_dis test_grammar test_opcodes 
test_parser test_pydoc test_symtable test_tools test_typing

and then

./python -m test -j3 -u all

I just run tests with -R3:3 it also works.

--

___
Python tracker 

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



[issue28032] --with-lto builds segfault in many situations

2016-09-08 Thread Gregory P. Smith

Changes by Gregory P. Smith :


--
nosy: +alecsandru.patrascu
stage:  -> needs patch
type:  -> crash

___
Python tracker 

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



[issue28032] --with-lto builds segfault in many situations

2016-09-08 Thread Gregory P. Smith

Gregory P. Smith added the comment:

That is effectively what this devolves to.  i'm going to try "gcc and gcc > 
5.4" implies --with-lto as part of --with-optimizations for now.  but if that 
causes problems, i'll just remove the --with-lto implication from 
--with-optimizations entirely.

--

___
Python tracker 

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



[issue20784] 'collections.abc' is no longer defined when collections is imported

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

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



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

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
stage:  -> needs patch
versions: +Python 3.6, Python 3.7 -Python 3.5

___
Python tracker 

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



[issue10572] Move test sub-packages to Lib/test

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
versions: +Python 3.6 -Python 3.5

___
Python tracker 

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



[issue25404] ssl.SSLcontext.load_dh_params() does not handle unicode filenames properly

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
stage:  -> patch review

___
Python tracker 

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



[issue25437] Issue with ftplib.FTP_TLS and server forcing SSL connection reuse

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

I'm going to add session support in #19500 (3.6).

--
nosy: +christian.heimes
resolution:  -> duplicate
status: open -> closed
superseder:  -> Add client-side SSL session resumption

___
Python tracker 

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



[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

I don't see why backwards compatibility with ancient, unsupported Python 
versions should be more important than security. Let's use the subprocess 
module here.

MAL, if you need platform.py for some old projects, please vendor it and use a 
copy.

--
nosy: +christian.heimes
stage: resolved -> needs patch

___
Python tracker 

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



[issue17102] tarfile extract can write files outside the destination path

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
stage:  -> needs patch
versions: +Python 3.5, Python 3.6, Python 3.7 -Python 3.2, 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



[issue23065] Pyhton27.dll at SysWOW64 not updated when updating Python 2.7.X

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

I'm closing the bug.

--
nosy: +christian.heimes
resolution:  -> wont fix
status: open -> closed

___
Python tracker 

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



[issue24933] socket.recv(size, MSG_TRUNC) returns more than size bytes

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
nosy: +christian.heimes

___
Python tracker 

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



[issue19500] Add client-side SSL session resumption

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

This patch implements a workaround for OpenSSL 1.1.0.

--
Added file: 
http://bugs.python.org/file44480/SSL-client-side-SSL-session-resumption.patch

___
Python tracker 

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



[issue28010] http.client.HTTPConnection.putrequest incorrect arguments

2016-09-08 Thread Senthil Kumaran

Senthil Kumaran added the comment:

This patch fixes this. It makes the documentation consistent with the code.

--
keywords: +patch
nosy: +orsenthil
Added file: http://bugs.python.org/file44479/103351.patch

___
Python tracker 

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



[issue28029] Replace and empty strings

2016-09-08 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Agreed with Stéphane. Since count() returns 1, resulting string should contain 
1 replacement.

Using regular expressions:

>>> re.sub('', 'x', '')
'x'
>>> re.sub('', 'x', '', 1)
'x'

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue27080] Implement the formatting part of PEP 515, '_' in numeric literals.

2016-09-08 Thread Chris Angelico

Chris Angelico added the comment:

Thanks Brett! Sounds like a plan.

--

___
Python tracker 

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



[issue26331] PEP 515: Tokenizer: allow underscores for grouping in numeric literals

2016-09-08 Thread Brett Cannon

Changes by Brett Cannon :


--
nosy: +ned.deily
priority: deferred blocker -> release blocker

___
Python tracker 

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



[issue28031] Update pathlib.resolve() to match os.path.realpath()

2016-09-08 Thread Brett Cannon

Changes by Brett Cannon :


--
priority: normal -> deferred blocker

___
Python tracker 

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



[issue26331] PEP 515: Tokenizer: allow underscores for grouping in numeric literals

2016-09-08 Thread Brett Cannon

Changes by Brett Cannon :


--
priority: normal -> deferred blocker

___
Python tracker 

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



[issue28031] Update pathlib.resolve() to match os.path.realpath()

2016-09-08 Thread Brett Cannon

New submission from Brett Cannon:

See https://mail.python.org/pipermail/python-ideas/2016-September/042203.html .

--
components: Library (Lib)
messages: 275164
nosy: brett.cannon, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Update pathlib.resolve() to match os.path.realpath()
versions: Python 3.6

___
Python tracker 

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



[issue24254] Make class definition namespace ordered by default

2016-09-08 Thread Eric Snow

Eric Snow added the comment:

Note that most of the changes here have been reverted in changeset 
103366:a964b8d2324e9f22a66e458ea72e6d5c8c1fcc93.

--

___
Python tracker 

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



[issue26020] set_display evaluation order doesn't match documented behaviour

2016-09-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset a8d504600c18 by Raymond Hettinger in branch '2.7':
Issue #26020: Fix evaluation order for set literals
https://hg.python.org/cpython/rev/a8d504600c18

--

___
Python tracker 

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



[issue24254] Make class definition namespace ordered by default

2016-09-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9aa5424fd1df by Eric Snow in branch 'default':
Issue #24254: Drop cls.__definition_order__.
https://hg.python.org/cpython/rev/9aa5424fd1df

--

___
Python tracker 

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



[issue26020] set_display evaluation order doesn't match documented behaviour

2016-09-08 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

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



[issue18550] internal_setblocking() doesn't check return value of fcntl()

2016-09-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 0a52c66f31f5 by Christian Heimes in branch 'default':
Issue 18550: Check return value of ioctl() / fnctl() in internal_setblocking
https://hg.python.org/cpython/rev/0a52c66f31f5

--
nosy: +python-dev

___
Python tracker 

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



[issue18550] internal_setblocking() doesn't check return value of fcntl()

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
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



[issue28032] --with-lto builds segfault in many situations

2016-09-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b77465544f28 by Gregory P. Smith in branch '3.5':
issue28032: never imply --with-lto as part of --with-optimizations.
https://hg.python.org/cpython/rev/b77465544f28

New changeset 4a50d87808a6 by Gregory P. Smith in branch 'default':
issue28032: never imply --with-lto as part of --with-optimizations.
https://hg.python.org/cpython/rev/4a50d87808a6

--
nosy: +python-dev

___
Python tracker 

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



[issue17121] SSH upload for distutils

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

I retract my proposal. We don't need ssh upload any more.

--
resolution:  -> wont fix
stage: needs patch -> 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



[issue20000] SSLContext.get_ca_certs() and self-signed certs

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
status: open -> pending
versions: +Python 3.7 -Python 3.5

___
Python tracker 

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



[issue19180] some RFC references could be updated

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
stage:  -> needs patch
type:  -> enhancement
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



[issue13248] deprecated in 3.2/3.3, should be removed in 3.5 or ???

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

Did you keep this ticket open for a reason?

--
nosy: +christian.heimes

___
Python tracker 

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



[issue23239] SSL match_hostname does not accept IP Address

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
assignee:  -> christian.heimes
priority: normal -> high
versions: +Python 3.7

___
Python tracker 

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



[issue9743] __call__.__call__ chain cause crash when long enough

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

I can no longer reproduce the crash with:

>>> def func(): pass
... 
>>> call = func.__call__
>>> while True:
... call = call.__call__


Tested with 2.7, 3.5 and 3.6dev.

--
nosy: +christian.heimes
resolution:  -> works for me
status: open -> closed

___
Python tracker 

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



[issue17096] the system keyring should be used instead of ~/.pypirc

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

PyPA is now maintaining packaging and developing software for packaging. They 
develop new tooling to upload packages, too.

--

___
Python tracker 

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



[issue20979] Calling getdents()/readdir64() repeatedly while closing descriptors provides unexpected behaviour.

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

Is this still relevant with O_CLOEXEC?

--
nosy: +christian.heimes
versions: +Python 3.6, Python 3.7 -Python 3.3

___
Python tracker 

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



[issue20050] distutils should check PyPI certs when connecting to it

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

distutils uses urlopen() which uses ssl.create_default_context() to create a 
SSLContext with cert validation and hostname verification enabled.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

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



[issue21324] dbhash/bsddb leaks random memory fragments to a database

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

No activity in two years. I'm closing this ticket. Please reopen it if we still 
need to address the issue in 2.7. 3.4+ doesn't have bsddb.

--
nosy: +christian.heimes
resolution:  -> out of date
status: open -> closed

___
Python tracker 

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



[issue27985] Implement PEP 526

2016-09-08 Thread Yury Selivanov

Yury Selivanov added the comment:

> Please take a look and sorry for a delay.

Ivan, I'll be the one merging the patch. Will be looking over it soon. I might 
fix some nits myself, so if it applies cleanly to the default branch and all 
tests pass - then I'll handle the rest.

Please also run the tests with -R3:3 (grammar/parser tests specifically)

--

___
Python tracker 

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



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

2016-09-08 Thread Gregory P. Smith

Gregory P. Smith added the comment:

see https://bugs.python.org/issue28032 for flaws with --with-optimizations 
builds.

--

___
Python tracker 

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



[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2016-09-08 Thread mike bayer

mike bayer added the comment:

SQLAlchemy suffered from this issue long ago as we use a Queue for connections, 
which can be collected via weakref callback and sent back to put(), which we 
observed can occur via gc.For many years (like since 2007 or so) we've 
packaged a complete copy of Queue.Queue with an RLock inside of it to work 
around it.

I'm just noticing this issue because I'm writing a new connection pool 
implementation that tries to deal with this issue a little differently (not 
using Queue.Queue though).

--
nosy: +zzzeek

___
Python tracker 

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



[issue27985] Implement PEP 526

2016-09-08 Thread Guido van Rossum

Guido van Rossum added the comment:

(I've renamed the patches so they line up with the numbering in the code review 
tool.)

--

___
Python tracker 

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



[issue13446] imaplib, fetch: improper behaviour on read-only selected mailboxes

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

This patch has been languishing for five year. Do you still like to fix your 
problem? Please provide a new patch (unified diff) against 3.6.

--
nosy: +christian.heimes
status: open -> pending
versions: +Python 3.6, Python 3.7 -Python 2.6, Python 2.7, Python 3.1, Python 
3.2

___
Python tracker 

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



[issue20762] SSLSocket.read() not documented

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

Sounds good, let's deprecate them with #28022.

--
superseder:  -> SSL releated deprecation for 3.6
versions: +Python 3.6, Python 3.7 -Python 3.5

___
Python tracker 

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



[issue12378] smtplib.SMTP_SSL leaks socket connections on SSL error

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
stage: needs patch -> patch review
versions: +Python 3.5, Python 3.6, Python 3.7 -Python 2.7, Python 3.2, Python 
3.3

___
Python tracker 

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



[issue25883] python 2.7.11 mod_wsgi regression on windows

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

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



[issue15631] Python 3.3/3.4 installation issue on OpenSUSE lib/lib64 folders

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
resolution:  -> out of date
status: open -> closed

___
Python tracker 

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



[issue15631] Python 3.3/3.4 installation issue on OpenSUSE lib/lib64 folders

2016-09-08 Thread Skip Montanaro

Skip Montanaro added the comment:

Not relevant to me.

On Sep 8, 2016 5:45 PM, "Christian Heimes"  wrote:

>
> Christian Heimes added the comment:
>
> Can we close the ticket or is it still relevant?
>
> --
> nosy: +christian.heimes
> status: open -> pending
>
> ___
> Python tracker 
> 
> ___
>

--
status: pending -> open

___
Python tracker 

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



[issue17096] the system keyring should be used instead of ~/.pypirc

2016-09-08 Thread Thomas Grainger

Thomas Grainger added the comment:

But distutils is a core Python module...

On 9 Sep 2016 00:43, "Christian Heimes"  wrote:

>
> Christian Heimes added the comment:
>
> Please take this idea to https://www.pypa.io/
>
> --
> nosy: +christian.heimes
> resolution:  -> out of date
> status: open -> closed
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

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



[issue16202] sys.path[0] security issues

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

What is the status of this issue? Is isolated mode (-I) a sufficient solution 
for you?

--
versions: +Python 3.6, Python 3.7 -Python 2.6, Python 3.1, Python 3.2, 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



[issue27691] X509 cert with GEN_RID subject alt name causes SytemError

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
resolution:  -> fixed
stage: commit 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



[issue19500] Add client-side SSL session resumption

2016-09-08 Thread Stephen Ash

Changes by Stephen Ash :


--
nosy: +Stephen Ash

___
Python tracker 

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



[issue27364] Deprecate invalid escape sequences in str/bytes

2016-09-08 Thread R. David Murray

R. David Murray added the comment:

Thanks Emanuel.  No bets on how much hate mail we get for this :)

--

___
Python tracker 

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



[issue21201] Uninformative error message in multiprocessing.Manager()

2016-09-08 Thread Davin Potts

Davin Potts added the comment:

Thanks for your patch @wojtekwalczak!

--
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



[issue28022] SSL releated deprecation for 3.6

2016-09-08 Thread STINNER Victor

STINNER Victor added the comment:

I like the idea of using SSLContext as the obvious and only choice to
"configure" SSL.

--

___
Python tracker 

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



[issue14965] super() and property inheritance behavior

2016-09-08 Thread Ethan Furman

Changes by Ethan Furman :


--
nosy: +ethan.furman

___
Python tracker 

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



<    1   2   3   4   >