[issue32947] Support OpenSSL 1.1.1

2018-02-26 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5694

___
Python tracker 

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



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

2018-02-26 Thread Roundup Robot

Change by Roundup Robot :


--
pull_requests: +5693

___
Python tracker 

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



[issue26792] docstrings of runpy.run_{module,path} are rather sparse

2018-02-26 Thread Andrew Brezovsky

Change by Andrew Brezovsky :


--
keywords: +patch
pull_requests: +5692
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



[issue26792] docstrings of runpy.run_{module,path} are rather sparse

2018-02-26 Thread Andrew Brezovsky

Andrew Brezovsky  added the comment:

I'll update these based on the information in the HTML docs.

--
nosy: +abrezovsky

___
Python tracker 

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



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

2018-02-26 Thread Ned Deily

Change by Ned Deily :


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



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

2018-02-26 Thread Ned Deily

Ned Deily  added the comment:

> Still planned for 3.7: [...]

Eric, please try to get everything you want done and into master as soon as 
possible, then produce a PR for 3.7, and then we can review it and make a 
decision if it is appropriate for 3.7.  As I've mentioned in msg310448 and 
stated elsewhere, the expectation is that the few post-b1 feature freeze 
extensions granted were only for b2.  Even changes limited to Lib/test can 
break buildbots and downstream users' testing and take multiple releases to 
stabilize.  Thanks for your work on this!

--

___
Python tracker 

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



[issue32960] dataclasses: disallow inheritance between frozen and non-frozen classes

2018-02-26 Thread Eric V. Smith

Eric V. Smith  added the comment:


New changeset a93e3dc236279692eaf50b91d358da5983983b14 by Eric V. Smith (Miss 
Islington (bot)) in branch '3.7':
bpo-32960: For dataclasses, disallow inheriting frozen from non-frozen classes 
and vice-versa, (GH-5919) (GH-5920)
https://github.com/python/cpython/commit/a93e3dc236279692eaf50b91d358da5983983b14


--

___
Python tracker 

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



[issue32922] dbm.open() encodes filename with default encoding rather than the filesystem encoding

2018-02-26 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset 5bf74859fe253f0e8ff73ba699cd1a7e2dfbcea3 by Serhiy Storchaka in 
branch '3.6':
[3.6] bpo-32922: dbm.open() now encodes filename with the filesystem encoding. 
(GH-5832). (GH-5906)
https://github.com/python/cpython/commit/5bf74859fe253f0e8ff73ba699cd1a7e2dfbcea3


--

___
Python tracker 

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



[issue32960] dataclasses: disallow inheritance between frozen and non-frozen classes

2018-02-26 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5691

___
Python tracker 

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



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

2018-02-26 Thread Eric Snow

Eric Snow  added the comment:

Still planned for 3.7:

1. add more tests in Lib/test/test__xxsubinterpreters.py
2. add test.support.interpreters (high-level module)
3. add more tests in Lib/test/test_interpreters.py

At that point I'll start using the high-level module in tests for 
subinterpreter functionality and for other open issues (e.g. #10915, #15751), 
aiming to improve stability of the feature.

--

___
Python tracker 

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



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

2018-02-26 Thread Eric Snow

Eric Snow  added the comment:

As far as I know, everything related to this issue is in a stable state.  I 
have not been able to determine any way in which the reported memory leak (in 
test_multiprocessing_fork) could be related.  Sorry, I didn't notice the 
release blocker priority.

I do not plan on landing any further changes here for beta2.  However, I do 
plan on a few more additions under Lib/test before we go final.

--
priority: release blocker -> normal
resolution: fixed -> 
stage: resolved -> needs patch
status: closed -> open

___
Python tracker 

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



[issue32960] dataclasses: disallow inheritance between frozen and non-frozen classes

2018-02-26 Thread Eric V. Smith

Change by Eric V. Smith :


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

___
Python tracker 

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



[issue32713] tarfile.itn breaks if n is a negative float

2018-02-26 Thread miss-islington

miss-islington  added the comment:


New changeset a9a8a9814a52b3c92b3680f0b3a356116510ee18 by Miss Islington (bot) 
in branch '3.7':
bpo-32713: Fix tarfile.itn for large/negative float values. (GH-5434)
https://github.com/python/cpython/commit/a9a8a9814a52b3c92b3680f0b3a356116510ee18


--
nosy: +miss-islington

___
Python tracker 

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



[issue32713] tarfile.itn breaks if n is a negative float

2018-02-26 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5689

___
Python tracker 

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



[issue32713] tarfile.itn breaks if n is a negative float

2018-02-26 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5688

___
Python tracker 

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



[issue32960] dataclasses: disallow inheritance between frozen and non-frozen classes

2018-02-26 Thread Eric V. Smith

Eric V. Smith  added the comment:

See issue 32953 for a larger discussion and the ultimate resolution of this.

--

___
Python tracker 

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



[issue32960] dataclasses: disallow inheritance between frozen and non-frozen classes

2018-02-26 Thread Eric V. Smith

New submission from Eric V. Smith :

This is a temporary measure until we can better define how frozen inheritance 
should work. In the meantime, disallow:

- frozen inherited from non-frozen
- non-frozen inherited from frozen

--
assignee: eric.smith
components: Library (Lib)
messages: 312972
nosy: eric.smith
priority: normal
severity: normal
status: open
title: dataclasses: disallow inheritance between frozen and non-frozen classes
versions: Python 3.7, Python 3.8

___
Python tracker 

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



[issue15767] add ModuleNotFoundError

2018-02-26 Thread Christoph Groth

Christoph Groth  added the comment:

In the above, please replace "understand the decision" by "understand the 
usefulness of it".

In the above discussion, as an alternative to a new exception, it was proposed 
to add an attribute to ImportError ('reason'), but then people seemed to agree 
that this is quite useless outside of importlib (msg192261).  But then I don't 
understand why the original idea of the exception was revived.

--

___
Python tracker 

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



[issue32222] pygettext doesn't extract docstrings for functions with type annotated params

2018-02-26 Thread miss-islington

miss-islington  added the comment:


New changeset 51d95ffc2fb3337dc87277c9af25ecc9a01f991b by Miss Islington (bot) 
in branch '3.7':
bpo-3: Fix pygettext skipping docstrings for funcs with arg typehints 
(GH-4745)
https://github.com/python/cpython/commit/51d95ffc2fb3337dc87277c9af25ecc9a01f991b


--
nosy: +miss-islington

___
Python tracker 

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



[issue15767] add ModuleNotFoundError

2018-02-26 Thread Christoph Groth

Christoph Groth  added the comment:

My curiosity was piqued when I saw ModuleNotFoundError, so I decided to look it 
up.  This led me to this page and I read the complete discussion.  I still did 
not understand the decision, so I allowed myself to ask,  also because I 
believe that when new features are introduced it should be clear what they are 
good for.  That's all.

--

___
Python tracker 

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



[issue21417] Compression level for zipfile

2018-02-26 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

This makes sense to me. Thank you for explanation.

--

___
Python tracker 

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



[issue32222] pygettext doesn't extract docstrings for functions with type annotated params

2018-02-26 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5687

___
Python tracker 

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



[issue32222] pygettext doesn't extract docstrings for functions with type annotated params

2018-02-26 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5686

___
Python tracker 

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



[issue32222] pygettext doesn't extract docstrings for functions with type annotated params

2018-02-26 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset eee72d4778a5513038edd5236cdd87ccce2bc60a by Serhiy Storchaka 
(Tobotimus) in branch 'master':
bpo-3: Fix pygettext skipping docstrings for funcs with arg typehints 
(GH-4745)
https://github.com/python/cpython/commit/eee72d4778a5513038edd5236cdd87ccce2bc60a


--

___
Python tracker 

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



[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-02-26 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
pull_requests: +5685

___
Python tracker 

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



[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-02-26 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

There are two alternate PRs. PR 5912 removes this feature. PR 5914 fixes it.

--

___
Python tracker 

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



[issue15767] add ModuleNotFoundError

2018-02-26 Thread Guido van Rossum

Guido van Rossum  added the comment:

I don't like the way you're asking questions here. If you're interested
just as a historian of the language, it  will have to wait. If you're
questioning the decision, please come out and say so.

--

___
Python tracker 

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



[issue29804] test_ctypes test_pass_by_value fails on arm64 (aarch64) architecture

2018-02-26 Thread Charalampos Stratakis

Charalampos Stratakis  added the comment:

The bug is still present on the 3.6 branch.

--

___
Python tracker 

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



[issue29804] test_ctypes test_pass_by_value fails on arm64 (aarch64) architecture

2018-02-26 Thread Ned Deily

Ned Deily  added the comment:

Vinay, should this backported to 3.6?  Otherwise, can the issue be closed?

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



[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-02-26 Thread Ned Deily

Ned Deily  added the comment:

We should either remove the entry in Misc/NEWS/3.7.0b1.rst or, perhaps better, 
add a line to it noting that it was removed in 3.7.0b2.

--

___
Python tracker 

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



[issue21417] Compression level for zipfile

2018-02-26 Thread Gregory P. Smith

Gregory P. Smith  added the comment:

keeping the conversation in one place, the code review comment was: "I've 
prefixed this with an underscore because it's not exposed when reading back. 
ZipInfo has another "private" attribute, _raw_time"

compresslevel is documented on the public APIs where it appears, I do not 
believe it needs to be a public attribute within ZipInfo given the above as 
that is an implementation detail.  If we ever find a good reason to make it 
public in the future we can add a property.

--

___
Python tracker 

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



[issue32836] Symbol table for comprehensions (list, dict, set) still includes temporary _[1] variable

2018-02-26 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5684

___
Python tracker 

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



[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-02-26 Thread Gregory P. Smith

Gregory P. Smith  added the comment:

Ned: when removing a feature added in beta1, should we remove the original NEWS 
entry created for it?  Or add a new NEWS entry that states that the previous 
feature has been reverted?

--

___
Python tracker 

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



[issue32836] Symbol table for comprehensions (list, dict, set) still includes temporary _[1] variable

2018-02-26 Thread Nick Coghlan

Nick Coghlan  added the comment:


New changeset 3a087beddd9f0955eb9080a6fd1499ff89ca74bf by Nick Coghlan (Nitish 
Chandra) in branch 'master':
bpo-32836: Remove obsolete code from symtable pass (GH-5680)
https://github.com/python/cpython/commit/3a087beddd9f0955eb9080a6fd1499ff89ca74bf


--

___
Python tracker 

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



[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-02-26 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
pull_requests: +5683
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



[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-02-26 Thread Gregory P. Smith

Gregory P. Smith  added the comment:

I'm fine with undoing this for 3.7 in light of the many things we don't do 
"right" all over the place with path like objects.

subprocess still presents as a mix of high and low level APIs so if we accept a 
path like object in a subset of places it seems like that'll add complexity to 
the APIs rather than being consistent.

--

___
Python tracker 

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



[issue32959] zipimport fails when the ZIP archive contains more than 65535 files

2018-02-26 Thread Mariano M. Chouza

New submission from Mariano M. Chouza :

When trying to import a module from a ZIP archive containing more than 65535 
files, the import process fails:

$ python3 -VV
Python 3.6.4 (default, Jan  6 2018, 11:49:38) 
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)]
$ cat create_zips.py 
from zipfile import ZipFile
with ZipFile('below.zip', 'w') as zfp:
for i in range(65535):
zfp.writestr('m%d.py' % i, '')
with ZipFile('over.zip', 'w') as zfp:
for i in range(65536):
zfp.writestr('m%d.py' % i, '')
$ python3 create_zips.py 
$ python -m zipfile -l below.zip | (head -2 && tail -2)
File Name Modified Size
m0.py  2018-02-26 20:57:320
m65533.py  2018-02-26 20:57:360
m65534.py  2018-02-26 20:57:360
$ python -m zipfile -l over.zip | (head -2 && tail -2)
File Name Modified Size
m0.py  2018-02-26 20:57:360
m65534.py  2018-02-26 20:57:400
m65535.py  2018-02-26 20:57:400
$ PYTHONPATH=below.zip python3 -c 'import m0'
$ PYTHONPATH=over.zip python3 -c 'import m0'
Traceback (most recent call last):
  File "", line 1, in 
ModuleNotFoundError: No module named 'm0'

I think the problem is related to the zipimport module not handling the 'zip64 
end of central directory record'.

--
components: Library (Lib)
messages: 312957
nosy: mchouza
priority: normal
severity: normal
status: open
title: zipimport fails when the ZIP archive contains more than 65535 files
type: behavior
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



[issue31711] ssl.SSLSocket.send(b"") fails

2018-02-26 Thread Nathaniel Smith

Nathaniel Smith  added the comment:

My point is that SSL_write(3ssl) says "WARNING: When calling SSL_write() with 
num=0 bytes to be sent the behaviour is undefined."

Apparently on the particular openssl you're looking at, it gives 
SSL_ERROR_SYSCALL with error code == 0 and len == 0, but the openssl devs claim 
this is some arbitrary thing that shouldn't be depended on.

Just as a general principle it would be nice if performing ordinary operations 
on an SSLSocket from Python did not invoke undefined behavior :-)

--

___
Python tracker 

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



[issue32873] Pickling of typing types

2018-02-26 Thread Ivan Levkivskyi

Ivan Levkivskyi  added the comment:

I am sick now, so can't work on this. There is a small chance I will be able to 
work on this issue this week. Is it possible to fix this in 3.7b3?

--

___
Python tracker 

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



[issue32873] Pickling of typing types

2018-02-26 Thread Ivan Levkivskyi

Ivan Levkivskyi  added the comment:

Thank you, Ned!

--

___
Python tracker 

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



[issue32873] Pickling of typing types

2018-02-26 Thread Ned Deily

Ned Deily  added the comment:

> Is it possible to fix this in 3.7b3?

Yes.  Get well first!

--

___
Python tracker 

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



[issue32873] Pickling of typing types

2018-02-26 Thread Ned Deily

Ned Deily  added the comment:

So we need a decision on this about what, if anything, to do for 3.7.  The 
3.7.0 ABI freeze is in 3.7.0b3; it would be better to get it resolved for 
3.7.0b2.

--
nosy: +ned.deily
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



[issue32147] improve performance of binascii.unhexlify() by using conversion table

2018-02-26 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset 6b5df906afe113dbe421d044322254cfd4747c9c by Serhiy Storchaka 
(Sergey Fedoseev) in branch 'master':
bpo-32147: Improved perfomance of binascii.unhexlify(). (GH-4586)
https://github.com/python/cpython/commit/6b5df906afe113dbe421d044322254cfd4747c9c


--

___
Python tracker 

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



[issue32937] Multiprocessing worker functions not terminating with a large number of processes and a manager

2018-02-26 Thread EricG

EricG  added the comment:

Making some further observations, when I set processes = 12, for example, I can 
see 12 separate python processes + 4 additional processes also created which I 
assume are setup for the manager and, perhaps, other purposes.

Now, what makes these 4 additional processes interesting is that for me, 
multiprocessing.cpu_count() returns 24. And, it is when I set processes = 20 
that the python code will sometimes terminate successfully. 20 + 4 = 24...so I 
am using every single cpu in that situation.

However, as noted, when I set processes = 19, it will always terminate 
successfully. 19 + 4 < 24...there is at least one cpu not assigned any work.

Perhaps there some some kind of race condition or swapping around of data 
structures or something that only happens on macOS when every cpu is in use by 
python for this purpose.

--

___
Python tracker 

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



[issue15767] add ModuleNotFoundError

2018-02-26 Thread Christoph Groth

Christoph Groth  added the comment:

> Read Eric's message before mine.

Of course I read it, I wouldn't have asked otherwise.  Eric mentions an older 
message ("see msg182332") that *predates* your judgment that "outside importlib 
there shouldn't be a need to distinguish between the cases".  Otherwise Eric 
says that he finds "the exception to be very useful", but frankly, I don't see 
why (outside of importlib or backports of it).  What changed since msg192263?

--

___
Python tracker 

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



[issue29334] ssl.SSLObject method getpeercert() is buggy, do_handshake() is strange

2018-02-26 Thread Ned Deily

Change by Ned Deily :


--
nosy: +benjamin.peterson -ned.deily

___
Python tracker 

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



[issue23808] Symlink to directory on Windows 8

2018-02-26 Thread Alexey Izbyshev

Alexey Izbyshev  added the comment:

This behavior is not specific to just Windows 8. Symlinks to directories are 
treated as directories on Windows, in particular, they should be removed with 
RemoveDirectory, not DeleteFile.

Is there any reason this issue is still open?

--
nosy: +izbyshev

___
Python tracker 

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



[issue32147] improve performance of binascii.unhexlify() by using conversion table

2018-02-26 Thread Ned Deily

Change by Ned Deily :


--
versions: +Python 3.8 -Python 3.7

___
Python tracker 

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



[issue32958] Urllib proxy_bypass crashes for urls containing long basic auth strings

2018-02-26 Thread Aaron Black

New submission from Aaron Black :

While working on a custom conda channel with authentication, I ran into the 
following UnicodeError:

Traceback (most recent call last):
  File 
"/Users/ablack/miniconda3/lib/python3.6/site-packages/conda/core/repodata.py", 
line 402, in fetch_repodata_remote_request
timeout=timeout)
  File 
"/Users/ablack/miniconda3/lib/python3.6/site-packages/requests/sessions.py", 
line 521, in get
return self.request('GET', url, **kwargs)
  File 
"/Users/ablack/miniconda3/lib/python3.6/site-packages/requests/sessions.py", 
line 499, in request
prep.url, proxies, stream, verify, cert
  File 
"/Users/ablack/miniconda3/lib/python3.6/site-packages/requests/sessions.py", 
line 672, in merge_environment_settings
env_proxies = get_environ_proxies(url, no_proxy=no_proxy)
  File 
"/Users/ablack/miniconda3/lib/python3.6/site-packages/requests/utils.py", line 
692, in get_environ_proxies
if should_bypass_proxies(url, no_proxy=no_proxy):
  File 
"/Users/ablack/miniconda3/lib/python3.6/site-packages/requests/utils.py", line 
676, in should_bypass_proxies
bypass = proxy_bypass(netloc)
  File "/Users/ablack/miniconda3/lib/python3.6/urllib/request.py", line 2612, 
in proxy_bypass
return proxy_bypass_macosx_sysconf(host)
  File "/Users/ablack/miniconda3/lib/python3.6/urllib/request.py", line 2589, 
in proxy_bypass_macosx_sysconf
return _proxy_bypass_macosx_sysconf(host, proxy_settings)
  File "/Users/ablack/miniconda3/lib/python3.6/urllib/request.py", line 2562, 
in _proxy_bypass_macosx_sysconf
hostIP = socket.gethostbyname(hostonly)
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label empty or 
too long)

The error can be consistently reproduced when the first substring of the url 
hostname is greater than 64 characters long, as in 
"0123456789012345678901234567890123456789012345678901234567890123.example.com". 
This wouldn't be a problem, except that it doesn't seem to separate out 
credentials from the first substring of the hostname so the entire 
"[user]:[secret]@XXX" section must be less than 65 characters long. This is 
problematic for services that use longer API keys and expect their submission 
over basic auth.

--
components: Library (Lib)
messages: 312947
nosy: ablack
priority: normal
severity: normal
status: open
title: Urllib proxy_bypass crashes for urls containing long basic auth strings
type: crash
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



[issue32305] Namespace packages have inconsistent __file__ and __spec__.origin

2018-02-26 Thread Ned Deily

Ned Deily  added the comment:

Note that this change was originally also backported to 3.6 in PR 5504 but, due 
to third-party package regressions discovered in pre-release testing, the 3.6 
change was reverted in PR 5591 prior to release of 3.6.5rc1.

--
nosy: +ned.deily
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



[issue32872] backport of #32305 causes regressions in various packages

2018-02-26 Thread Barry A. Warsaw

Change by Barry A. Warsaw :


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



[issue32303] Namespace packages have inconsistent __loader__ and __spec__.loader

2018-02-26 Thread Barry A. Warsaw

Barry A. Warsaw  added the comment:


New changeset 86ea85134645c75783936ca4b5c6269cb8ac4634 by Barry Warsaw in 
branch '3.6':
Revert "[3.6] bpo-32303 - Consistency fixes for namespace loaders (GH-5481) 
(#5504)" (#5911)
https://github.com/python/cpython/commit/86ea85134645c75783936ca4b5c6269cb8ac4634


--

___
Python tracker 

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



[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread Steve Dower

Change by Steve Dower :


--
assignee:  -> steve.dower
stage: backport 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



[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread miss-islington

miss-islington  added the comment:


New changeset 53d3f8a89971bac3d2f454ff9f923066ecc3a6d9 by Miss Islington (bot) 
in branch '3.7':
bpo-32394: Remove some TCP options on old version Windows. (GH-5523)
https://github.com/python/cpython/commit/53d3f8a89971bac3d2f454ff9f923066ecc3a6d9


--
nosy: +miss-islington

___
Python tracker 

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



[issue32872] backport of #32305 causes regressions in various packages

2018-02-26 Thread Barry A. Warsaw

Change by Barry A. Warsaw :


--
keywords: +patch
pull_requests: +5682
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



[issue32303] Namespace packages have inconsistent __loader__ and __spec__.loader

2018-02-26 Thread Barry A. Warsaw

Change by Barry A. Warsaw :


--
pull_requests: +5681

___
Python tracker 

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



[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread Steve Dower

Steve Dower  added the comment:

Agreed. I've merged these (and Miss Islington should get the 3.7 backport when 
CI completes)

--
resolution:  -> fixed
stage: patch review -> backport needed

___
Python tracker 

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



[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread Steve Dower

Steve Dower  added the comment:


New changeset 1278c21f5234477aab21531773d65ca7ebd1b81f by Steve Dower 
(animalize) in branch '3.6':
[3.6] bpo-32394: Remove some TCP options on older version Windows. (GH-5585)
https://github.com/python/cpython/commit/1278c21f5234477aab21531773d65ca7ebd1b81f


--

___
Python tracker 

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



[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5680

___
Python tracker 

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



[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread Steve Dower

Steve Dower  added the comment:


New changeset 19e7d48ce89422091f9af93038b9fee075d46e9e by Steve Dower 
(animalize) in branch 'master':
bpo-32394: Remove some TCP options on old version Windows. (GH-5523)
https://github.com/python/cpython/commit/19e7d48ce89422091f9af93038b9fee075d46e9e


--

___
Python tracker 

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



[issue15767] add ModuleNotFoundError

2018-02-26 Thread Guido van Rossum

Guido van Rossum  added the comment:

Read Eric's message before mine.

--

___
Python tracker 

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



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

2018-02-26 Thread Xavier de Gaye

Xavier de Gaye  added the comment:

Those are the changes with the current behavior from the behavior in 3.5 
observed at the time of the initial bug report:
  python 3.7:
return.pyUnchanged.
exception.py After a jump from the 'exception' event into the previous 
statement, the ensuing 'step' command triggers a trace 'return' event.
jump.py  The sequence of trace events is unchanged and Python aborts 
now at the last 'step' command with:
   python: Python/ceval.c:1083: _PyEval_EvalFrameDefault: 
Assertion `STACK_LEVEL() <= co->co_stacksize' failed.
  python 3.8:
return.pyUnchanged.
exception.py Unchanged from 3.7.
jump.py  The sequence of trace events is unchanged and the last 'step' 
command prints now the cryptic error msg:
   TypeError: 'NoneType' object is not callable
   > /path/to/jump.py(2)gen()->0
   -> for i in range(1):

Applying the last patch fixes both 3.7 and 3.8. I can build a PR from this 
patch. An explanation should be given for the behavior of 3.7 and 3.8 in the 
jump.py case.

--
title: cannot jump from a return after setting f_lineno -> cannot jump from a 
'return' or 'exception' trace event
versions: +Python 3.7, Python 3.8 -Python 3.5
Added file: https://bugs.python.org/file47463/exception.py

___
Python tracker 

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



[issue32647] Undefined references when compiling ctypes on binutils 2.29.1 with gcc -Wl, -z, undefs (Fedora 28)

2018-02-26 Thread Charalampos Stratakis

Charalampos Stratakis  added the comment:

Tested the fix and ctypes is linked successfully with libdl when utilizing the 
strict symbol check.

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



[issue32955] IDLE crashes when trying to save a file

2018-02-26 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

Open IDLE, click Help => About IDLE, look at the tcl/tk version, and report it 
here.

If it is not 8.5.18, follow instructions on
https://www.python.org/download/mac/tcltk/
to update. Ask on python-list if you need help doing so.

--

___
Python tracker 

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



[issue30296] Remove unnecessary tuples, lists, sets, and dicts from Lib

2018-02-26 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



[issue30296] Remove unnecessary tuples, lists, sets, and dicts from Lib

2018-02-26 Thread miss-islington

miss-islington  added the comment:


New changeset f8a3485dcd41a00c5e99c5be6adc67cb2638b366 by Miss Islington (bot) 
in branch '3.7':
Revert unneccessary changes made in bpo-30296 and apply other improvements. 
(GH-2624)
https://github.com/python/cpython/commit/f8a3485dcd41a00c5e99c5be6adc67cb2638b366


--
nosy: +miss-islington

___
Python tracker 

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



[issue32956] python 3 round bug

2018-02-26 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

It works as documented.

"""
For the built-in types supporting round(), values are rounded to the closest 
multiple of 10 to the power minus ndigits; if two multiples are equally close, 
rounding is done toward the even choice (so, for example, both round(0.5) and 
round(-0.5) are 0, and round(1.5) is 2).
"""
https://docs.python.org/3/library/functions.html#round

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



[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Barry A. Warsaw

Change by Barry A. Warsaw :


--
nosy: +barry

___
Python tracker 

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



[issue13897] Move fields relevant to sys.exc_info out of frame into generator/threadstate

2018-02-26 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
status: open -> closed

___
Python tracker 

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



[issue13897] Move fields relevant to sys.exc_info out of frame into generator/threadstate

2018-02-26 Thread Mark Shannon

Mark Shannon  added the comment:

Nothing left to do. This is now obsolete.

--
resolution:  -> out of date
stage: patch review -> resolved
status: pending -> open

___
Python tracker 

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



[issue13790] In str.format an incorrect error message for list, tuple, dict, set

2018-02-26 Thread Mark Lawrence

Change 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



[issue17286] Make subprocess handling text output with universal_newlines more obious

2018-02-26 Thread Mark Lawrence

Change 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



[issue32956] python 3 round bug

2018-02-26 Thread M Hsia

M Hsia  added the comment:

import sys
print(sys.version)

for i in range(10):
test=i+0.5
print (test,round(test,0))

3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)]

0.5 0.0
1.5 2.0
2.5 2.0
3.5 4.0
4.5 4.0
5.5 6.0
6.5 6.0
7.5 8.0
8.5 8.0
9.5 10.0
3.6.3 |Anaconda custom (64-bit)| (default, Nov  8 2017, 15:10:56) [MSC v.1900 
64 bit (AMD64)]
0.5 0.0
1.5 2.0
2.5 2.0
3.5 4.0
4.5 4.0
5.5 6.0
6.5 6.0
7.5 8.0
8.5 8.0
9.5 10.0
-
2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
(0.5, 1.0)
(1.5, 2.0)
(2.5, 3.0)
(3.5, 4.0)
(4.5, 5.0)
(5.5, 6.0)
(6.5, 7.0)
(7.5, 8.0)
(8.5, 9.0)
(9.5, 10.0)

--

___
Python tracker 

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



[issue32957] distutils.command.install checks truthiness of .ext_modules instead of calling .has_ext_modules()

2018-02-26 Thread Korijn Van Golen

Change by Korijn Van Golen :


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

___
Python tracker 

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



[issue32956] python 3 round bug

2018-02-26 Thread M Hsia

New submission from M Hsia :

import sys
print(sys.version)

for i in range(10):
test=i+0.5
print (test,round(test,0))

3.6.3 |Anaconda custom (64-bit)| (default, Nov  8 2017, 15:10:56) [MSC v.1900 
64 bit (AMD64)]
0.5 0.0
1.5 2.0
2.5 2.0
3.5 4.0
4.5 4.0
5.5 6.0
6.5 6.0
7.5 8.0
8.5 8.0
9.5 10.0
-
2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
(0.5, 1.0)
(1.5, 2.0)
(2.5, 3.0)
(3.5, 4.0)
(4.5, 5.0)
(5.5, 6.0)
(6.5, 7.0)
(7.5, 8.0)
(8.5, 9.0)
(9.5, 10.0)

--
messages: 312931
nosy: MJH
priority: normal
severity: normal
status: open
title: python 3 round bug
type: behavior
versions: Python 3.4, 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



[issue32957] distutils.command.install checks truthiness of .ext_modules instead of calling .has_ext_modules()

2018-02-26 Thread Korijn Van Golen

New submission from Korijn Van Golen :

distutils' Distribution class has a method has_ext_modules() that is used to 
determine if any extension modules are included in a distribution. There 
remains a call site in distutils.command.install where 
self.distribution.ext_modules is directly tested for truthiness, rather than 
calling has_ext_modules. This causes inconsistent behavior, e.g. when 
overriding has_ext_modules in a Distribution subclass.

--
components: Distutils
messages: 312932
nosy: Korijn Van Golen, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: distutils.command.install checks truthiness of .ext_modules instead of 
calling .has_ext_modules()
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue15767] add ModuleNotFoundError

2018-02-26 Thread Christoph Groth

Christoph Groth  added the comment:

I'm trying to understand why ModuleNotFoundError was added to 3.6.  The "what's 
new" entry links to this page.

Looking at the discussion, Guido said in 2013: "Right.  Outside importlib there 
shouldn't be a need to distinguish between the cases (especially given that the 
exception works differently than its name suggests).".  Then, three years 
later, he supports the inclusion of the patch, without that any new arguments 
had been given.

Could someone explain (or link to) what happened inbetween?

--
nosy: +cwg

___
Python tracker 

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



[issue30296] Remove unnecessary tuples, lists, sets, and dicts from Lib

2018-02-26 Thread miss-islington

Change by miss-islington :


--
keywords: +patch
pull_requests: +5678

___
Python tracker 

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



[issue30296] Remove unnecessary tuples, lists, sets, and dicts from Lib

2018-02-26 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset 3f2e6f15d64d81633b1fc0b308afc0d6e9026b61 by Serhiy Storchaka in 
branch 'master':
Revert unneccessary changes made in bpo-30296 and apply other improvements. 
(GH-2624)
https://github.com/python/cpython/commit/3f2e6f15d64d81633b1fc0b308afc0d6e9026b61


--

___
Python tracker 

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



[issue18533] Avoid error from repr() of recursive dictview

2018-02-26 Thread miss-islington

miss-islington  added the comment:


New changeset fbf7aac36bd1017bc87964b5d17dce0e101ff2d6 by Miss Islington (bot) 
in branch '3.6':
bpo-18533: Avoid RecursionError from repr() of recursive dictview (GH-4823)
https://github.com/python/cpython/commit/fbf7aac36bd1017bc87964b5d17dce0e101ff2d6


--
nosy: +miss-islington

___
Python tracker 

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



[issue32922] dbm.open() encodes filename with default encoding rather than the filesystem encoding

2018-02-26 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
pull_requests: +5677

___
Python tracker 

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



[issue32922] dbm.open() encodes filename with default encoding rather than the filesystem encoding

2018-02-26 Thread miss-islington

miss-islington  added the comment:


New changeset a9e0b070b3e36701d0139361c769d374c4aacf1a by Miss Islington (bot) 
in branch '3.7':
bpo-32922: dbm.open() now encodes filename with the filesystem encoding. 
(GH-5832)
https://github.com/python/cpython/commit/a9e0b070b3e36701d0139361c769d374c4aacf1a


--
nosy: +miss-islington

___
Python tracker 

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



[issue32955] IDLE crashes when trying to save a file

2018-02-26 Thread zaphod424

New submission from zaphod424 :

when I click the save as button or use the keyboard shortcut, the save window 
appears but if I click the drop down to choose the save location, it crashes, 
using a Mac

--
assignee: terry.reedy
components: IDLE
messages: 312926
nosy: terry.reedy, zaphod424
priority: normal
severity: normal
status: open
title: IDLE crashes when trying to save a file
type: crash
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



[issue32922] dbm.open() encodes filename with default encoding rather than the filesystem encoding

2018-02-26 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5676

___
Python tracker 

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



[issue32896] Error when subclassing a dataclass with a field that uses a defaultfactory

2018-02-26 Thread Eric V. Smith

Change by Eric V. Smith :


--
priority: release blocker -> deferred blocker

___
Python tracker 

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



[issue32922] dbm.open() encodes filename with default encoding rather than the filesystem encoding

2018-02-26 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset 6f600ff1734ca2fdcdd37a809adf8130f0d8cc4e by Serhiy Storchaka in 
branch 'master':
bpo-32922: dbm.open() now encodes filename with the filesystem encoding. 
(GH-5832)
https://github.com/python/cpython/commit/6f600ff1734ca2fdcdd37a809adf8130f0d8cc4e


--

___
Python tracker 

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



[issue32937] Multiprocessing worker functions not terminating with a large number of processes and a manager

2018-02-26 Thread EricG

EricG  added the comment:

If I do:

from queue import Queue

messages = Queue()

No messages are printed. I believe this is expected as a regular Queue cannot 
be shared between processes. It was a problem that the manager was designed to 
solve.

I am using a MacPro running 10.3.2
Python 3.6.4

It would not surprise me if this were an OS specific issue. To reproduce it may 
requiring using a Mac with a high number of cores.

It is trivially reproducible for me.

--

___
Python tracker 

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



[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Arcadiy Ivanov

Arcadiy Ivanov  added the comment:

Sorry about that! I'll be sure to refresh next time before posting a reply.

--

___
Python tracker 

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



[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Eric V. Smith

Eric V. Smith  added the comment:

Arcadiy: Somehow you're dropping Serhiy and me from the nosy list. I've 
re-added us.

--
nosy: +eric.smith, serhiy.storchaka

___
Python tracker 

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



[issue21417] Compression level for zipfile

2018-02-26 Thread bbayles

bbayles  added the comment:

I made a comment about that in the pull request that went unchallenged ([1]), 
but I'm happy to change it.

[1] https://github.com/python/cpython/pull/5385#pullrequestreview-92055354

--

___
Python tracker 

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



[issue31453] Debian Sid/Buster: Cannot enable TLS 1.0/1.1 with PROTOCOL_TLS

2018-02-26 Thread Christian Heimes

Christian Heimes  added the comment:

I have closed the feature newer BPO-32609 in favor of this bug because Ned gave 
this bug a deferred blocker priority.


OpenSSL 1.1 has introduced a new API to set the minimum and maximum supported 
protocol version. The API is easier to use than the old OP_NO_TLSv1 option 
flags, too

https://www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_set_min_proto_version.html

Debian used the new setters to disable TLS 1.0 and 1.1 in testing, #31453. The 
old TLS versions have been enabled again for now. Python must expose the new 
API in case Debian decides to disable them again. Another $DIST has considered 
to implement a virtually the same policy as Debian.

I also like to deprecate the old OP_NO_TLSv1 et al. flags in favor of the new 
API. The option flags are awkward to use and easy to get wrong. For example 
applications must not leave holes in the OP_NO range (e.g. allow TLS 1.0 and 
1.2 but disable 1.1).

--
nosy: +njs

___
Python tracker 

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



[issue32609] Add setter and getter for min/max protocol version

2018-02-26 Thread Christian Heimes

Christian Heimes  added the comment:

bpo-31453 is the Debian issue that made me start to implement the setter and 
getter for min/max protocol version.

--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> Debian Sid/Buster: Cannot enable TLS 1.0/1.1 with PROTOCOL_TLS
title: Add setter and getter for min/max protocol ersion -> Add setter and 
getter for min/max protocol version
versions: +Python 3.8

___
Python tracker 

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



[issue31453] Debian Sid/Buster: Cannot enable TLS 1.0/1.1 with PROTOCOL_TLS

2018-02-26 Thread Christian Heimes

Change by Christian Heimes :


--
pull_requests: +5675

___
Python tracker 

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



[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Arcadiy Ivanov

Arcadiy Ivanov  added the comment:

> Although general-purpose mechanism that would allow pluggable constructs like 
> `sh`, `html`, `sql`

Strike that one, I didn't read into PEP-0501 deep enough before replying. 

Yes, `i"format"` is what I'm talking about.

--

___
Python tracker 

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



[issue32875] Add __exit__() method to event loops

2018-02-26 Thread Andrew Svetlov

Andrew Svetlov  added the comment:

Agree

--

___
Python tracker 

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



[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2018-02-26 Thread Andrew Svetlov

Andrew Svetlov  added the comment:

I'll take a look on the evening

--

___
Python tracker 

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



[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread Andrew Svetlov

Andrew Svetlov  added the comment:

I think PRs could be merged

--

___
Python tracker 

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



[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Arcadiy Ivanov

Arcadiy Ivanov  added the comment:

@eric.smith

Thanks! I was looking for such a general-purpose proposal but could not find 
it. 

Although general-purpose mechanism that would allow pluggable constructs like 
`sh`, `html`, `sql` and the like is awesome and very desirable (especially sh 
in preference of Popen madness), string formatting/concatenation is IMO a 
fundamental concept (hence PEP-498 is in core with specialized opcodes instead 
of being deferred to be a general purpose pluggable PEP-501 implementation).

--

___
Python tracker 

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



[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Arcadiy Ivanov

Arcadiy Ivanov  added the comment:

@serhiy.storchaka Of course a similar pattern can be implemented via a class 
(or even without one as I've shown below). 

But you can clearly notice that in your example:

1) There are tons of boilerplate (as in mine with lambdas).
2) It's going to be slower than a core implementation with specialized objects.
3) It can't be made to cooperate with a FORMAT_VALUE/BUILD_STRING - 
intermediate strings will still be produced.

--
nosy:  -eric.smith, serhiy.storchaka

___
Python tracker 

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



[issue32954] Lazy Literal String Interpolation (PEP-498-based fl-strings)

2018-02-26 Thread Eric V. Smith

Eric V. Smith  added the comment:

See also PEP 501.

--
nosy: +eric.smith, serhiy.storchaka

___
Python tracker 

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



  1   2   >