[issue27213] Rework CALL_FUNCTION* opcodes

2016-09-08 Thread STINNER Victor

STINNER Victor added the comment:

> Known issues:
> * test_traceback and test_extcall fail
> * _PyEval_EvalCodeWithName2() should be merged into 
> _PyEval_EvalCodeWithName() to factorize the code

I fixed test_extcall and removed _PyEval_EvalCodeWithName2(): callfunc-8.patch.

I don't know how to fix test_traceback.

@Serhiy: I really need the patch tomorrow. Would you mind to push it? If you 
are unable to fix test_traceback, just skip the test with a FIXME and open a 
new issue (it should be easy to fix it later).

I really want to finish METH_FASTCALL, issue #27810, before the first beta next 
monday and basically tomorrow is for me the last time when I can still push 
things.

If we really find a major design issue, you still have 3 to 4 months to revert 
the change. If we find a minor design flaw or another optimization, again, we 
will still have time to enhance the code during the beta stage. The most 
important part is to push the major change to reduce changes after the first 
beta.

--
Added file: http://bugs.python.org/file44487/callfunc-8.patch

___
Python tracker 

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



[issue28036] Remove unused pysqlite_flush_statement_cache function

2016-09-08 Thread Berker Peksag

New submission from Berker Peksag:

This looks like unused since years. Here's a patch that removes it.

--
components: Extension Modules
files: flush-statement-cache.diff
keywords: patch
messages: 275263
nosy: berker.peksag, ghaering
priority: normal
severity: normal
stage: patch review
status: open
title: Remove unused pysqlite_flush_statement_cache function
type: enhancement
versions: Python 3.6
Added file: http://bugs.python.org/file44486/flush-statement-cache.diff

___
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 Georg Brandl

Georg Brandl added the comment:

Please go ahead. Thanks for taking care of this!

--

___
Python tracker 

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



[issue27213] Rework CALL_FUNCTION* opcodes

2016-09-08 Thread Yury Selivanov

Yury Selivanov added the comment:

Serhiy, Victor and I want this to be merged tomorrow morning PST to land in 3.6 
before the freeze.  Would you be able to merge this yourself?  If not, we'll do 
it ourselves in the morning.

--
nosy: +yselivanov

___
Python tracker 

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



[issue27292] Warn users that os.urandom() prior to 3.6 can return insecure values

2016-09-08 Thread Martin Panter

Martin Panter added the comment:

Do you want to do an alternative patch Victor? Or point out all the specific 
bits of my patch you don’t like?

I haven’t really been keeping up to date with the getrandom() changes. Though I 
imagine even Python 3.6’s os.urandom() will still fall back to /dev/urandom 
(with potential entropy problem) on older Linux versions. Is the consensus that 
we want to warn about insecure results on Linux >= 3.17, but don’t want to warn 
about older Linux versions?

--

___
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 Stefan Drees

Changes by Stefan Drees :


--
nosy: +dilettant

___
Python tracker 

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



[issue27213] Rework CALL_FUNCTION* opcodes

2016-09-08 Thread STINNER Victor

STINNER Victor added the comment:

Rebased change.

--
Added file: http://bugs.python.org/file44485/callfunc-7.patch

___
Python tracker 

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



[issue28003] PEP 525 asynchronous generators implementation

2016-09-08 Thread Yury Selivanov

Changes by Yury Selivanov :


Added file: http://bugs.python.org/file44484/async_gen.patch

___
Python tracker 

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



[issue28003] PEP 525 asynchronous generators implementation

2016-09-08 Thread Yury Selivanov

Changes by Yury Selivanov :


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



[issue28003] PEP 525 asynchronous generators implementation

2016-09-08 Thread Yury Selivanov

Yury Selivanov added the comment:

Committed. Thanks Victor for the review!

--

___
Python tracker 

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



[issue28003] PEP 525 asynchronous generators implementation

2016-09-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5259588983ca by Yury Selivanov in branch 'default':
Issue #28003: Implement PEP 525 -- Asynchronous Generators.
https://hg.python.org/cpython/rev/5259588983ca

--
nosy: +python-dev

___
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 Марк Коренберг

Марк Коренберг added the comment:

Yes, it is still relevant. For example for closing fds after fork().

--

___
Python tracker 

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



[issue28035] make buildbottest when configured --with-optimizations can cause a recompile?

2016-09-08 Thread Gregory P. Smith

New submission from Gregory P. Smith:

See the logs from this build for example:

http://buildbot.python.org/all/builders/AMD64%20Debian%20PGO%203.x/builds/4

Notice how the test stdio shows it recompiling all over again.

This is happening even on a "successful" test:
http://buildbot.python.org/all/builders/AMD64%20Debian%20PGO%203.5/builds/1/steps/test/logs/stdio

--
assignee: gregory.p.smith
messages: 275255
nosy: gregory.p.smith
priority: high
severity: normal
status: open
title: make buildbottest when configured --with-optimizations can cause a 
recompile?
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



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

2016-09-08 Thread koobs

koobs added the comment:

YES, finally. Thanks :)

--
nosy: +koobs

___
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 STINNER Victor

STINNER Victor added the comment:

Christian: would you mind to review my old patch (and rebase it if needed)?

--

___
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 STINNER Victor

STINNER Victor added the comment:

Yeah! Thanks Zach :-)

--

___
Python tracker 

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



[issue27137] Python implementation of `functools.partial` is not a class

2016-09-08 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Here is a patch that makes C implementation repr matching Python implementation 
repr. It should be applied to all Python versions (the code is new).

--
Added file: 
http://bugs.python.org/file44483/functools_partial_recursive_repr.patch

___
Python tracker 

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



[issue25969] Update lib2to3 grammar to include missing unpacking generalizations.

2016-09-08 Thread Gregory P. Smith

Changes by Gregory P. Smith :


--
assignee:  -> gregory.p.smith

___
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 Steve Dower

Changes by Steve Dower :


--
nosy: +steve.dower

___
Python tracker 

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



[issue21541] Provide configure option --with-ssl for compilation with custom openssl

2016-09-08 Thread Gregory P. Smith

Gregory P. Smith added the comment:

machyniak: Your patch appears to be missing the diff to configure.ac.

--
stage: patch review -> needs patch

___
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 Guido van Rossum

Guido van Rossum added the comment:

(And by "not" I meant "now". Sorry.)

--

___
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 Guido van Rossum

Guido van Rossum added the comment:

The PEPs repo is not on github. Please resubmit this patch as a PR at 
https://github.com/python/peps. (Sorry for all the indirections to different 
trackers.)

--
resolution:  -> rejected
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 Guido van Rossum

Guido van Rossum added the comment:

W00t! Thank Ivan for the code! And thanks Yury and Brett for the review.

--

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

Committed.  Congrats Ivan, it's a very serious contribution.  Thank you.

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



[issue27985] Implement PEP 526

2016-09-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 49533a9fe322 by Yury Selivanov in branch 'default':
Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.
https://hg.python.org/cpython/rev/49533a9fe322

--
nosy: +python-dev

___
Python tracker 

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



[issue24363] httplib fails to handle semivalid HTTP headers

2016-09-08 Thread Martin Panter

Martin Panter added the comment:

Updated patch for Python 3 now that Issue 22233 has been fixed.

--
Added file: http://bugs.python.org/file44482/bypass-parsegen.v2.patch

___
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 Senthil Kumaran

Senthil Kumaran added the comment:

Yes, urllib.request.urlopen needs an update too. It takes those certfile and 
keyfile and usage of those could be deprecated in favor of context.

--

___
Python tracker 

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



[issue17620] Python interactive console doesn't use sys.stdin for input

2016-09-08 Thread Steve Dower

Steve Dower added the comment:

Unassigning this. I meant to close it with another fix, but that would be wrong 
as we really ought to keep this open until we solve it properly. All I've done 
is make it use the right APIs on Windows, but we still don't handle it properly 
when we change stdin.

--
assignee: steve.dower -> 

___
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 Steve Dower

Steve Dower added the comment:

Yeah, my bad :)

--

___
Python tracker 

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



[issue27137] Python implementation of `functools.partial` is not a class

2016-09-08 Thread Brett Cannon

Brett Cannon added the comment:

Ned will make the call about committing broken tests decorated with the 
expected failure decorator, but if you view this as a bug then this can go into 
b2 w/ passing tests instead.

--
nosy: +ned.deily

___
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 Martin Panter

Martin Panter added the comment:

I presume the above commit was meant to reference Issue 17620

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

___
Python tracker 

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



[issue27931] Email parse IndexError <""@wiarcom.com>

2016-09-08 Thread Xiang Zhang

Xiang Zhang added the comment:

Ping this and hope you don't forget about it David. :)

--

___
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 Roundup Robot

Roundup Robot added the comment:

New changeset 60085c8f01fe by R David Murray in branch 'default':
#27364: Credit Emanuel Barry in NEWS item.
https://hg.python.org/cpython/rev/60085c8f01fe

--

___
Python tracker 

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



[issue27630] Generator._encoded_EMTPY misspelling in email package

2016-09-08 Thread R. David Murray

R. David Murray added the comment:

Cleaned up the code.  It was basically working by accident with the misspelling.

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



[issue27630] Generator._encoded_EMTPY misspelling in email package

2016-09-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 468961cea562 by R David Murray in branch '3.5':
#27630: Be consistent in how _XXX/_encoded_XXX vars are initialized.
https://hg.python.org/cpython/rev/468961cea562

New changeset ddb1cf7b7eb1 by R David Murray in branch 'default':
Merge: #27630: Be consistent in how _XXX/_encoded_XXX vars are initialized.
https://hg.python.org/cpython/rev/ddb1cf7b7eb1

--
nosy: +python-dev

___
Python tracker 

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



[issue28034] local var in "for v in iter" modify the uplevel var value.

2016-09-08 Thread R. David Murray

R. David Murray added the comment:

No, that's the way python works.  A for loop does not have its own scope.

--
nosy: +r.david.murray
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



[issue28034] local var in "for v in iter" modify the uplevel var value.

2016-09-08 Thread jf

New submission from jf:

eg:

s = 'aaa'
print(s)
for s in '111', '222', '333':
print(s)
print(s)

the right result should be:
'aaa'
'111'
'222'
'333'
'aaa'

but, i got:
'aaa'
'111'
'222'
'333'
'333'

the local var in "for v in iter", modify the uplevel var value.
Is it wrong?

--
components: Interpreter Core
messages: 275233
nosy: zaazbb
priority: normal
severity: normal
status: open
title: local var in "for v in iter" modify the uplevel var value.
type: behavior
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



[issue27137] Python implementation of `functools.partial` is not a class

2016-09-08 Thread Emanuel Barry

Emanuel Barry added the comment:

Can this be merged even with the two failing tests? I have little to no time 
available to fix it properly before the feature freeze. We can skip/silence 
those tests for a bit; I'll open a new issue and fix it in time for beta 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 Martin Panter

Martin Panter added the comment:

In the meantime, full documentation for the read() and write() methods was 
added for Python 3 in revision 61e52fda1006. The Python 2 documentation only 
mentions read() indirectly, in passing and in example code, and does not 
mention write().

But deprecating them makes sense to me. The essential functionality seems to 
already be available in the recv(), recv_into(), and send() or sendall() 
methods. The write() documentation is not clear regarding partial writes, in 
constrast with send() and sendall().

--
nosy: +martin.panter

___
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 Martin Panter

Martin Panter added the comment:

urllib.request.urlopen() should be affected too right?

--
nosy: +martin.panter

___
Python tracker 

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



[issue15452] Improve the security model for logging listener()

2016-09-08 Thread Vinay Sajip

Vinay Sajip added the comment:

> Can this ticket be closed?

I suppose so - I didn't implement the addition of lookup_eval() to the ast 
module as I thought it might be a slight overkill. Given that the calls to 
eval() from fileConfig() have been there from when logging was added to the 
stdlib, and as this ticket has been quiet since 2012, I suppose there's no real 
concern about the eval() being a security issue. If there is such a concern, 
then my proposal to add lookup_eval() to the ast module should be considered 
(it didn't get any review comments when I proposed it).

--
status: pending -> open

___
Python tracker 

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



[issue28033] dictobject.c comment misspelling

2016-09-08 Thread Berker Peksag

Berker Peksag added the comment:

Thanks!

--
nosy: +berker.peksag
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
type: enhancement -> behavior
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



[issue28033] dictobject.c comment misspelling

2016-09-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 30f20247bd14 by Berker Peksag in branch 'default':
Issue #28033: Fix typo in dictobject.c
https://hg.python.org/cpython/rev/30f20247bd14

--
nosy: +python-dev

___
Python tracker 

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



[issue28033] dictobject.c comment misspelling

2016-09-08 Thread Wesley Emeneker

New submission from Wesley Emeneker:

This is a patch for a simple misspelling fix in a comment in dictobject.c

--
assignee: docs@python
components: Documentation
files: dictobject_comment_misspell.patch
keywords: patch
messages: 275226
nosy: Wesley Emeneker, docs@python
priority: normal
severity: normal
status: open
title: dictobject.c comment misspelling
type: enhancement
versions: Python 3.7
Added file: http://bugs.python.org/file44481/dictobject_comment_misspell.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 Martin Panter

Martin Panter added the comment:

There may be related discussion in Issue 24243, also about searching for empty 
strings. A while ago I meant to add documetation and tests for that, but I lost 
momentum after cleaning up the existing tests.

Some of the behaviours are undocumented and surprising, but if you look at the 
implementation it is clear they are not accidental. E.g. I think there is a 
function called replace_interleave() or something.

IMO you can find an unlimited number of instances of an empty string at index 
zero of any string. So calls like "ABC".strip("") are sensible to raise an 
exception, and the interleave mode of "ABC".count("") is unexpected. But I 
don’t see a big need to change this existing behaviour as long as it is 
documented.

--
nosy: +martin.panter
versions: +Python 2.7

___
Python tracker 

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



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

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



[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



[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



[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



[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



[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



[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



[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



[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



[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



[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



[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



[issue15100] Race conditions in shutil.copy, shutil.copy2 and shutil.copyfile

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
priority: normal -> high
versions: +Python 2.7, Python 3.5, Python 3.6, 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



[issue27364] Deprecate invalid escape sequences in str/bytes

2016-09-08 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Thank you all for persisting on this.  I have seen numerous beginners be 
puzzled why normal (cooked) strings using '\' for Windows paths sometimes work 
and sometimes 'mysteriously' do not, as in the initially referenced issue.  I 
also think it better to consistently use 'r' for REs with '\' intended to be 
passed through to re.  (And I pushed some of the IDLE code that was patched.)

--
nosy: +terry.reedy

___
Python tracker 

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



[issue15452] Improve the security model for logging listener()

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

Can this ticket be closed?

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



[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



[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



[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



[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



[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



[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



[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



[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



[issue7412] distutils install race condition

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

Donald, what is your opinion on this issue?

--
assignee: tarek -> dstufft
nosy: +christian.heimes, dstufft
versions: +Python 3.6 -Python 2.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



[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



[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



[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



[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



[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



[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



[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



[issue25158] Python 3.2.2 and 3.5.0 Do not seem compatible with OpenSSL 1.0.2d on Solaris 10

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

This isn't a bug in Python. The dynamic linker of your OS complains about 
missing symbols in a shared library that is not under control of Python.

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



[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



[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



[issue23531] SSL operations cause entire process to hang

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

cygwin is not supported. Your demo script works on Linux.

--
resolution:  -> not a bug
status: open -> closed

___
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



[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



[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



[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



[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



[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



[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



[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



[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



[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



[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



[issue19057] Sometimes urllib2 raises URLError when trying POST with httpS

2016-09-08 Thread Christian Heimes

Christian Heimes added the comment:

I'm closing this ticket. It's old and hasn't seen any activity in almost three 
years.

--
nosy: +christian.heimes
resolution:  -> not a bug
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 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



[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



[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



  1   2   3   4   >