[issue29822] inspect.isabstract does not work on abstract base classes during __init_subclass__

2017-06-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you for your contribution Nate.

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



[issue29822] inspect.isabstract does not work on abstract base classes during __init_subclass__

2017-06-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 09b6c0c71ea944f7e8b46998f3ebaf5b9fbe15f6 by Serhiy Storchaka 
(Nate) in branch '3.6':
[3.6] bpo-29822: make inspect.isabstract() work during __init_subclass__ (#1979)
https://github.com/python/cpython/commit/09b6c0c71ea944f7e8b46998f3ebaf5b9fbe15f6


--

___
Python tracker 

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



[issue29581] __init_subclass__ causes TypeError when used with standard library metaclasses (such as ABCMeta)

2017-06-06 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 6fb12b5c43945f61f3da82e33eafb4ddae2296ee by Mariatta (Nate) in 
branch '3.6':
bpo-29581: bpo-29581: Make ABCMeta.__new__ pass **kwargs to type.__new__ 
(GH-527) (GH-1282)
https://github.com/python/cpython/commit/6fb12b5c43945f61f3da82e33eafb4ddae2296ee


--
nosy: +Mariatta

___
Python tracker 

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



[issue29822] inspect.isabstract does not work on abstract base classes during __init_subclass__

2017-06-06 Thread Nate Soares

Changes by Nate Soares :


--
pull_requests: +2045

___
Python tracker 

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



[issue30368] [2.7] OpenSSL compilation fails on AMD64 Windows7 SP1 VS9.0 2.7

2017-06-06 Thread Jeremy Kloth

Jeremy Kloth added the comment:

Just a status check, as I would like to see my buildbot go green again.  (This 
along with the PR on issue30339).

--

___
Python tracker 

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



[issue30339] test_multiprocessing_main_handling: "RuntimeError: Timed out waiting for results" on x86 Windows7 3.x

2017-06-06 Thread Jeremy Kloth

Jeremy Kloth added the comment:

Added PR1978 that resolves this issue on my buildbot at least.  Note that it is 
against 3.5 as that is the branch that has the issue, it seems.

I'm guessing improvements in startup time on newer Pythons is why it doesn't 
occur for them.

--

___
Python tracker 

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



[issue30339] test_multiprocessing_main_handling: "RuntimeError: Timed out waiting for results" on x86 Windows7 3.x

2017-06-06 Thread Jeremy Kloth

Changes by Jeremy Kloth :


--
pull_requests: +2044

___
Python tracker 

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



[issue10746] ctypes c_long & c_bool have incorrect PEP-3118 type codes

2017-06-06 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
assignee: theller -> 
stage:  -> patch review
versions: +Python 2.7, Python 3.6, Python 3.7 -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



[issue27321] Email parser creates a message object that can't be flattened

2017-06-06 Thread Johannes Löthberg

Changes by Johannes Löthberg :


--
pull_requests: +2043

___
Python tracker 

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



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread Nils Lindemann

Nils Lindemann added the comment:

ok

--
status: open -> closed

___
Python tracker 

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



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread Nils Lindemann

Nils Lindemann added the comment:

I am not sure if the py package i found on PyPi is what you meant, but if you 
mean the py launcher (the py.exe in the windows dir), yes, i have that.

My system was indeed misconfigured as you correctly guessed, i had the .py 
filetype pointing to a Python version 3.5. I have now uninstalled everything, 
manually cleaned up the registry, reinstalled Python 3.6 and now everything 
works. Sorry, my mistake.

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

___
Python tracker 

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



[issue26103] Contradiction in definition of "data descriptor" between (dotted lookup behavior/datamodel documentation) and (inspect lib/descriptor how-to)

2017-06-06 Thread Aaron Hall

Aaron Hall added the comment:

> Please also add yourself to Misc/ACKS.

Done!

--

___
Python tracker 

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



[issue29596] Unfinished sentence in howto/clinic.rst

2017-06-06 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:

Thanks everyone :)

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



[issue29596] Unfinished sentence in howto/clinic.rst

2017-06-06 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset ee9de30aa0dbcfd848e4200944674a084d963588 by Mariatta (gfyoung) in 
branch '3.5':
bpo-29596: Improve clinic howto documentation (GH-1710) (GH-1975)
https://github.com/python/cpython/commit/ee9de30aa0dbcfd848e4200944674a084d963588


--

___
Python tracker 

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



[issue30177] pathlib.resolve(strict=False) only includes first child

2017-06-06 Thread Antoine Pietri

Antoine Pietri added the comment:

The code has been reviewed by (the other) Antoine, I guess there is now 
everything needed to merge it?

--

___
Python tracker 

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



[issue29596] Unfinished sentence in howto/clinic.rst

2017-06-06 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 063f0b358331322d84f85008e6c01f80ff321fd6 by Mariatta (gfyoung) in 
branch '3.6':
bpo-29596: Improve clinic howto documentation (GH-1710) (GH-1976)
https://github.com/python/cpython/commit/063f0b358331322d84f85008e6c01f80ff321fd6


--

___
Python tracker 

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



[issue30290] IDLE: add tests for help_about.py

2017-06-06 Thread Terry J. Reedy

Terry J. Reedy added the comment:

A follow-up to my brief remarks about revamping About IDLE, in msg294298:  
idle-dev is subscription-required public forum for discussion of idle design 
issues.  It has been dormant for a year and a half, but I would like to revive 
it to get broader user input.   By coincidence, the first new post (held since 
April because the author is not subscribed) is a suggestion for AboutIDLE.  In 
my second response, I listed 9 possible or definite changes.  I would like that 
to be where we plan a future 'Modernize About IDLE' issue.

--

___
Python tracker 

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



[issue30557] faulthandler does not correctly filter fatal exceptions on Windows

2017-06-06 Thread Steve Dower

Changes by Steve Dower :


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



[issue30557] faulthandler does not correctly filter fatal exceptions on Windows

2017-06-06 Thread Steve Dower

Steve Dower added the comment:


New changeset 2bafc0dccac2390a52670ba289878318b6ea0293 by Steve Dower in branch 
'3.6':
[3.6] bpo-30557: faulthandler now correctly filters and displays exception … 
(#1960)
https://github.com/python/cpython/commit/2bafc0dccac2390a52670ba289878318b6ea0293


--

___
Python tracker 

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



[issue29596] Unfinished sentence in howto/clinic.rst

2017-06-06 Thread G Young

Changes by G Young :


--
pull_requests: +2042

___
Python tracker 

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



[issue29596] Unfinished sentence in howto/clinic.rst

2017-06-06 Thread G Young

Changes by G Young :


--
pull_requests: +2041

___
Python tracker 

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



[issue30576] http.server should support HTTP compression (gzip)

2017-06-06 Thread Pierre Quentel

Pierre Quentel added the comment:

I propose this as a minor improvement to the built-in server, like the support 
of browser cache that will be included in Python 3.7 (issue #29654, PR #298). I 
understand that the server is not supposed to be full-featured, but HTTP 
compression is widespread, reduces network load and is easy to implement (the 
code will be very similar to SimpleXMLRPCRequestHandler).

Content-Encoding is used because it's the most simple to implement. Chunked 
transfer for large amount of data seems to me to be out of the scope of the 
built-in server.

Content-Length is set to the length of the compressed data. I don't understand 
your question about persistent connections : the proposal covers a single 
request / response sequence, it doesn't depend on the underlying TCP connection 
being reused or not.

>From what I understand, issue #1508475 refers to the http client, not server ; 
>and #4733 refers to another meaning of encoding (conversion from characters to 
>bytes with a charset such as utf-8), not to HTTP compression, which 
>unfortunately also uses "encoding" in headers names.

--

___
Python tracker 

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



[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2017-06-06 Thread Mikhail

Mikhail added the comment:

I rebuilt my python-3.6.1 with the path 
(https://github.com/python/cpython/commit/d05f7fdf6cf77724bd3064fb5a0846ef5cfe0c88)
 and tried debugging again -- same problem:

% gdb7121 /opt/bin/python3.6
...
(gdb) r SCRIPT.py
Thread 1 received signal SIGSEGV, Segmentation fault.
...
(gdb) py-bt
Python Exception  Variable 'func_obj' not found.: 
Error occurred in Python command: Variable 'func_obj' not found.

--
nosy: +mi

___
Python tracker 

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



[issue29929] Eliminate implicit __main__ relative imports

2017-06-06 Thread Ronald Oussoren

Ronald Oussoren added the comment:

If only someone had access to the time machine keys to fix this 20 year ago 
:-(. Anything beyond that last option (recognising that the script tries to 
import itself under another name) is bound to run into odd issues or backward 
compatibility concerns.

Just recognising a reimport of __main__ should avoid a lot of confusion though, 
from what I've seen in discussions most cases of unintentional shadowing of the 
stdlib is caused by folks naming a exploratory script the same as a stdlib 
module (e.g. naming a script "socket.py" when experimenting with sockets).

W.r.t. "from . import ..." and scripts: installing using entry points isn't a 
problem, but installing using plain distutils still is as is the even more 
low-tech option of just copying files to the right location (maybe using a 
Makefile).  But that issue is moot now that Guido has stated he doesn't like 
the idea.

--

___
Python tracker 

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



[issue30463] Add __slots__ to ABC convenience class

2017-06-06 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
components: +Library (Lib)
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
type:  -> enhancement
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



[issue30463] Add __slots__ to ABC convenience class

2017-06-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset ff48739ed0a3f366c4d56d3c86a37cbdeec600de by Serhiy Storchaka 
(Aaron Hall, MBA) in branch 'master':
bpo-30463: Add an empty __slots__ to abc.ABC.
https://github.com/python/cpython/commit/ff48739ed0a3f366c4d56d3c86a37cbdeec600de


--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue30583] docs mention datetuil presumably it should be dateutil

2017-06-06 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:

Thanks wim glenn :)

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



[issue30583] docs mention datetuil presumably it should be dateutil

2017-06-06 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset b25b7254d909697bb7f3aa893b740cb650547cb6 by Mariatta (wim glenn) 
in branch '3.6':
bpo-30583: Fix typo in datetime dateutil documentation (GH-1972) (GH-1974)
https://github.com/python/cpython/commit/b25b7254d909697bb7f3aa893b740cb650547cb6


--

___
Python tracker 

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



[issue29596] Unfinished sentence in howto/clinic.rst

2017-06-06 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset ec19ba210bba2c3097232a05d7dbe093beb5f833 by Mariatta (gfyoung) in 
branch 'master':
bpo-29596: Improve clinic howto documentation (GH-1710)
https://github.com/python/cpython/commit/ec19ba210bba2c3097232a05d7dbe093beb5f833


--
nosy: +Mariatta

___
Python tracker 

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



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread R. David Murray

R. David Murray added the comment:

It gets installed along with python3, I believe.  If you google for 'python py' 
you should see the pypi package version in the top hits.

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



[issue30583] docs mention datetuil presumably it should be dateutil

2017-06-06 Thread wim glenn

Changes by wim glenn :


--
pull_requests: +2040

___
Python tracker 

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



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread Nils Lindemann

Nils Lindemann added the comment:

What would that be? If i google 'py helper command' i get no good results.

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

___
Python tracker 

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



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread R. David Murray

R. David Murray added the comment:

If you just type 'server.py' it will use whichever interpreter is associated 
with .py files, which might not be python3.  You may want to learn about the 
'py' helper command.

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



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread Nils Lindemann

Nils Lindemann added the comment:

I just found out that the example works in idle and if i do in a console:

python server.py

but not if i do just:

server.py

What is the secret behind this?

--

___
Python tracker 

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



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread Nils Lindemann

Nils Lindemann added the comment:

I tried a few online python 3 interpreters.

These give the same exception:

http://www.learnpython.org/en/Hello%2C_World%21
http://rextester.com/l/python3_online_compiler
http://ideone.com/pIMilt
http://www.tutorialspoint.com/execute_python3_online.php

And this one worked:

https://repl.it/languages/python3

the example i tried was:

from wsgiref.simple_server import make_server, demo_app
with make_server('', 8000, demo_app) as httpd:
print("Serving HTTP on port 8000...")
httpd.serve_forever()

My Python installation is a default x64 installation. No changes were made 
during installation, except installation path, which has no spaces in it. I 
have no third part modules installed which could interfer. I have also a Python 
2.7 installed but it is not on my path.

--

___
Python tracker 

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



[issue26103] Contradiction in definition of "data descriptor" between (dotted lookup behavior/datamodel documentation) and (inspect lib/descriptor how-to)

2017-06-06 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:

Please also add yourself to Misc/ACKS.

--
nosy: +Mariatta

___
Python tracker 

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



[issue26103] Contradiction in definition of "data descriptor" between (dotted lookup behavior/datamodel documentation) and (inspect lib/descriptor how-to)

2017-06-06 Thread Aaron Hall

Aaron Hall added the comment:

Added news, working on tests

--

___
Python tracker 

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



[issue30583] docs mention datetuil presumably it should be dateutil

2017-06-06 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
stage:  -> backport needed

___
Python tracker 

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



[issue30583] docs mention datetuil presumably it should be dateutil

2017-06-06 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 53f2af16551eb3a080da313257603c31ef8b93b4 by Mariatta (wim glenn) 
in branch 'master':
bpo-30583: Fix typo in datetime dateutil documentation (GH-1972)
https://github.com/python/cpython/commit/53f2af16551eb3a080da313257603c31ef8b93b4


--
nosy: +Mariatta

___
Python tracker 

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



[issue27867] various issues due to misuse of PySlice_GetIndicesEx

2017-06-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

PR 1973 adds a porting guide. This should be the last commit for this issue. 
Please make a review and suggest better wording.

--

___
Python tracker 

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



[issue30557] faulthandler does not correctly filter fatal exceptions on Windows

2017-06-06 Thread Steve Dower

Steve Dower added the comment:

My backport wasn't merged, so I cherrypicked Victor's fix into that PR. Once 
the buildbots are green again, I'll merge it.

--

___
Python tracker 

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



[issue25444] Py Launch Icon

2017-06-06 Thread Steve Dower

Steve Dower added the comment:

Interestingly, when we were reviewing the icons before contributing them, the 
rocket was flagged as a potential problem.

We made some tweaks to make it look more like a space shuttle, which we believe 
most accurately captures the metaphor of "launch" in the most cultures without 
causing offence :)

--

___
Python tracker 

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



[issue30388] ndbm can't iterate through values on OS X

2017-06-06 Thread Forest Gregg

Forest Gregg added the comment:

>From one user who had problems under both 3.5 and 3.6

otool -L $(python3.5 -c 'import _dbm;print(_dbm.__file__)')

/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload/_dbm.cpython-35m-darwin.so:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 125.2.0)

otool -L $(python3.6 -c 'import _dbm;print(_dbm.__file__)')

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_
dbm.cpython-36m-darwin.so:

/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
125.2.0)

--

___
Python tracker 

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



[issue27867] various issues due to misuse of PySlice_GetIndicesEx

2017-06-06 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +2039

___
Python tracker 

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



[issue30557] faulthandler does not correctly filter fatal exceptions on Windows

2017-06-06 Thread Steve Dower

Steve Dower added the comment:


New changeset 6a1d84e2b37291b7e3bc5ddad14a60aed430e404 by Steve Dower (Victor 
Stinner) in branch 'master':
bpo-30557: Fix test_faulthandler (#1969)
https://github.com/python/cpython/commit/6a1d84e2b37291b7e3bc5ddad14a60aed430e404


--

___
Python tracker 

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



[issue30583] docs mention datetuil presumably it should be dateutil

2017-06-06 Thread wim glenn

Changes by wim glenn :


--
type:  -> enhancement

___
Python tracker 

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



[issue30583] docs mention datetuil presumably it should be dateutil

2017-06-06 Thread wim glenn

Changes by wim glenn :


--
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python

___
Python tracker 

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



[issue30583] docs mention datetuil presumably it should be dateutil

2017-06-06 Thread wim glenn

Changes by wim glenn :


--
pull_requests: +2038

___
Python tracker 

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



[issue30583] docs mention datetuil presumably it should be dateutil

2017-06-06 Thread wim glenn

New submission from wim glenn:

Typo from 
https://github.com/python/cpython/commit/94c8a3f91fbba72845706853d28bd5af8fc11875#diff-5a85d656ffad06e86bee33767ae24f33R1852
 went unnoticed and is present in official docs 

https://docs.python.org/3.6/library/datetime.html#tzinfo-objects 

https://docs.python.org/3.7/library/datetime.html#tzinfo-objects

--
messages: 295279
nosy: wim.glenn
priority: normal
severity: normal
status: open
title: docs mention datetuil presumably it should be dateutil
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



[issue30562] SSL socket does not respect SO_RCVTIME0 timeouts

2017-06-06 Thread Christian Heimes

Christian Heimes added the comment:

SO_RCVTIME0 works only with operating system level sockets. A SSLSocket is not 
an OS level. It's a high level abstraction layer that wraps either a file 
descriptor or a memory BIO. A read operation on a SSLSocket can perform write, 
a write operation can perform read. For the initial handshake, it will do both.

This means that SO_RCVTIME0 is not supported. Either you have to use the 
SSLSocket's timeout feature or do your own socket io and use a memory BIO. The 
internal timeout feature is build around select()/poll() syscall and low level 
OpenSSL calls.

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



[issue30566] punycode codec raises IndexError in decode_generalized_number()

2017-06-06 Thread R. David Murray

R. David Murray added the comment:

You don't need an eternal package, just decoding b'xn--w&' with punycode will 
produce the traceback.

--

___
Python tracker 

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



[issue30567] Leak in sys.getwindowsversion

2017-06-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you for your patch Segev!

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



[issue30567] Leak in sys.getwindowsversion

2017-06-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 86f8f1f05cd5822b4a4031b90cfdbe5fa1b1159e by Serhiy Storchaka in 
branch '3.5':
[3.5] bpo-30567: Fix refleak in sys.getwindowsversion (GH-1940) (#1971)
https://github.com/python/cpython/commit/86f8f1f05cd5822b4a4031b90cfdbe5fa1b1159e


--

___
Python tracker 

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



[issue30567] Leak in sys.getwindowsversion

2017-06-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 68e5af89d46db6250a0fa7fe4249c66f866faff8 by Serhiy Storchaka in 
branch '3.6':
[3.6] bpo-30567: Fix refleak in sys.getwindowsversion (GH-1940) (#1970)
https://github.com/python/cpython/commit/68e5af89d46db6250a0fa7fe4249c66f866faff8


--

___
Python tracker 

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



[issue23787] sum() function docstring lists arguments incorrectly

2017-06-06 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:

Raymond's patch has been applied to 2.7 branch.
Thanks :)

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



[issue23787] sum() function docstring lists arguments incorrectly

2017-06-06 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 536209ef92f16ea8823209a3c4b8763c0ec5d4bc by Mariatta in branch 
'2.7':
bpo-23787: Change sum() docstring from sequence to iterable (GH-1859)
https://github.com/python/cpython/commit/536209ef92f16ea8823209a3c4b8763c0ec5d4bc


--

___
Python tracker 

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



[issue30581] os.cpu_count() returns wrong number of processors on system with > 64 logical processors

2017-06-06 Thread Giampaolo Rodola'

Changes by Giampaolo Rodola' :


--
nosy: +giampaolo.rodola

___
Python tracker 

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



[issue30557] faulthandler does not correctly filter fatal exceptions on Windows

2017-06-06 Thread STINNER Victor

STINNER Victor added the comment:

It seems like all 3.x Windows buildbots are red... except of x86 Windows7 3.x.

Only on Windows older than 7 SP 1, so on Windows 7 for buildbots, the bit is 
cleared.

I created https://github.com/python/cpython/pull/1969 to try to fix buildbots.

--

___
Python tracker 

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



[issue30567] Leak in sys.getwindowsversion

2017-06-06 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +2037

___
Python tracker 

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



[issue30567] Leak in sys.getwindowsversion

2017-06-06 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +2036

___
Python tracker 

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



[issue30557] faulthandler does not correctly filter fatal exceptions on Windows

2017-06-06 Thread STINNER Victor

Changes by STINNER Victor :


--
pull_requests: +2035

___
Python tracker 

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



[issue30303] IDLE: Add _utest to textview and add textview tests

2017-06-06 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset e1a60d903276da10d1ac098e59103f4a72bef08e by terryjreedy 
(Mariatta) in branch '3.6':
[3.6] bpo-30303: IDLE: Add _utest argument to textview (GH-1499) (#1916)
https://github.com/python/cpython/commit/e1a60d903276da10d1ac098e59103f4a72bef08e


--

___
Python tracker 

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



[issue30534] error message for incorrect call degraded in 3.7

2017-06-06 Thread Serhiy Storchaka

Changes 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



[issue25324] Importing tokenize modifies token

2017-06-06 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
versions: +Python 3.7 -Python 2.7, 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



[issue30566] punycode codec raises IndexError in decode_generalized_number()

2017-06-06 Thread Vikram Hegde

Vikram Hegde added the comment:

I have a patch for this problem but my contributor agreement has not been 
accepted yet, so I can't do a pull request.

Use the python package tldextract to trigger the bug. Here is a sample

Python 3.6.0 |Anaconda 4.3.1 (64-bit)| (default, Dec 23 2016, 12:22:00) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tldextract
>>> tldextract.extract("xn--w&")
Traceback (most recent call last):
  File 
"/home/vikram-work/anaconda3/envs/pefeatextract-debug/lib/python3.6/encodings/punycode.py",
 line 207, in decode
res = punycode_decode(input, errors)
  File 
"/home/vikram-work/anaconda3/envs/pefeatextract-debug/lib/python3.6/encodings/punycode.py",
 line 194, in punycode_decode
return insertion_sort(base, extended, errors)
  File 
"/home/vikram-work/anaconda3/envs/pefeatextract-debug/lib/python3.6/encodings/punycode.py",
 line 165, in insertion_sort
bias, errors)
  File 
"/home/vikram-work/anaconda3/envs/pefeatextract-debug/lib/python3.6/encodings/punycode.py",
 line 146, in decode_generalized_number
% extended[extpos])
IndexError: string index out of range

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "", line 1, in 
  File 
"/home/vikram-work/anaconda3/envs/pefeatextract-debug/lib/python3.6/site-packages/tldextract/tldextract.py",
 line 358, in extract
return TLD_EXTRACTOR(url)
  File 
"/home/vikram-work/anaconda3/envs/pefeatextract-debug/lib/python3.6/site-packages/tldextract/tldextract.py",
 line 237, in __call__
translations = [decode_punycode(label).lower() for label in labels]
  File 
"/home/vikram-work/anaconda3/envs/pefeatextract-debug/lib/python3.6/site-packages/tldextract/tldextract.py",
 line 237, in 
translations = [decode_punycode(label).lower() for label in labels]
  File 
"/home/vikram-work/anaconda3/envs/pefeatextract-debug/lib/python3.6/site-packages/tldextract/tldextract.py",
 line 232, in decode_punycode
return idna.decode(label.encode('ascii'))
  File 
"/home/vikram-work/anaconda3/envs/pefeatextract-debug/lib/python3.6/site-packages/idna/core.py",
 line 384, in decode
result.append(ulabel(label))
  File 
"/home/vikram-work/anaconda3/envs/pefeatextract-debug/lib/python3.6/site-packages/idna/core.py",
 line 302, in ulabel
label = label.decode('punycode')
IndexError: decoding with 'punycode' codec failed (IndexError: string index out 
of range)
>>>

--
nosy: +Vikram Hegde

___
Python tracker 

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



[issue30534] error message for incorrect call degraded in 3.7

2017-06-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 5eb788bf7f54a8e04429e18fc332db858edd64b6 by Serhiy Storchaka in 
branch 'master':
bpo-30534: Fixed error messages when pass keyword arguments (#1901)
https://github.com/python/cpython/commit/5eb788bf7f54a8e04429e18fc332db858edd64b6


--

___
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

2017-06-06 Thread Guido van Rossum

Changes by Guido van Rossum :


--
nosy:  -gvanrossum

___
Python tracker 

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



[issue30582] Incorrect propagation in logging.wheb creating lighters in a certain order

2017-06-06 Thread Vinay Sajip

Vinay Sajip added the comment:

You haven't clearly stated what you expect to happen vs. what happens. I don't 
believe there is a bug here:

$ python3.6
Python 3.6.1+ (heads/3.6:2ee91c8, May 28 2017, 14:14:12) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import logging
>>> log_c = logging.getLogger('a.b.c')
>>> log_a = logging.getLogger('a')
>>> log_c.error('spam')
spam
>>> 

This behaviour is as expected.

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



[issue25324] Importing tokenize modifies token

2017-06-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 5cefb6cfdd089d237ba6724bb5311ee4f04be59f by Serhiy Storchaka in 
branch 'master':
bpo-25324: Move the description of tokenize tokens to token.rst. (#1911)
https://github.com/python/cpython/commit/5cefb6cfdd089d237ba6724bb5311ee4f04be59f


--

___
Python tracker 

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



[issue30520] loggers can't be pickled

2017-06-06 Thread Vinay Sajip

Changes by Vinay Sajip :


--
assignee:  -> vinay.sajip
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



[issue27838] test_os.test_chown() failure on koobs-freebsd-{current, 9}

2017-06-06 Thread STINNER Victor

STINNER Victor added the comment:

New failure on AMD64 FreeBSD CURRENT Debug 3.5.

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Debug%203.5/builds/112/steps/test/logs/stdio

==
ERROR: test_chown (test.test_os.ChownFileTests)
--
Traceback (most recent call last):
  File 
"/usr/home/buildbot/python/3.5.koobs-freebsd-current/build/Lib/test/test_os.py",
 line 1209, in test_chown
os.chown(support.TESTFN, uid, gid_1)
PermissionError: [Errno 1] Operation not permitted: '@test_10547_tmp'

--

___
Python tracker 

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



[issue30520] loggers can't be pickled

2017-06-06 Thread Vinay Sajip

Vinay Sajip added the comment:


New changeset 6260d9f2039976372e0896d517b3c06e606eb169 by Vinay Sajip in branch 
'master':
bpo-30520: Implemented pickling for loggers. (#1956)
https://github.com/python/cpython/commit/6260d9f2039976372e0896d517b3c06e606eb169


--

___
Python tracker 

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



[issue30319] ConnectionResetError: [Errno 54] Connection reset by peer in socket.close on FreeBSD, Py 3.6

2017-06-06 Thread STINNER Victor

STINNER Victor added the comment:

Before discussing revert, I would like experimenting fixing calls to
sock.close(). How much changes do we need to ignore exeptions on
sock.close()?

--

___
Python tracker 

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



[issue29569] threading.Timer class: Continue periodical execution till action returns True

2017-06-06 Thread slytomcat

slytomcat added the comment:

done

2017-06-06 14:28 GMT+03:00 Cheryl Sabella :

>
> Cheryl Sabella added the comment:
>
> This bug report has been closed, but the PR is still open.  Please close
> the PR.  Thank you.
>
> --
> nosy: +csabella
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

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



[issue30582] Incorrect propagation in logging.wheb creating lighters in a certain order

2017-06-06 Thread Ned Deily

Changes by Ned Deily :


--
nosy: +vinay.sajip

___
Python tracker 

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



[issue30582] Incorrect propagation in logging.wheb creating lighters in a certain order

2017-06-06 Thread Tal Kogan

New submission from Tal Kogan:

Creating a logger at level 3 and below and then creating a logger at level 1 
will not correctly set the parent logger for the 3rd level logger. 

import logging
log_c = logging.getLogger('a.b.c')
log_a = logging.getLogger('a')
log_c.error("spam") # Doesn't showa

--
components: Library (Lib)
messages: 295262
nosy: Tal Kogan
priority: normal
severity: normal
status: open
title: Incorrect propagation in logging.wheb creating lighters in a certain 
order
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



[issue25444] Py Launch Icon

2017-06-06 Thread Eryk Sun

Eryk Sun added the comment:

The new launcher icon still has a rocket on it, which I especially like because 
it's easily distinguished when using the GUI to associate .py[w] scripts. 
However, it's not the icon used for .py[w] files, so it's rarely seen.

--
nosy: +eryksun
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> Add pyd icon for 3.6

___
Python tracker 

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



[issue24744] Lack of type checks in pkgutil.walk_packages and friends

2017-06-06 Thread R. David Murray

R. David Murray added the comment:

In thinking about merging this, I realize something I should have thought about 
earlier: we are proposing to raise an error where none was previously raised.  
Now, any code that would hit this would be broken, but nonetheless, by our 
backward compatibility policy we should do this only in 3.7, and we should add 
a note to the porting section of What's New.  And the PR needs a news entry.

--
components: +Library (Lib) -Interpreter Core
type:  -> behavior
versions: +Python 3.7 -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



[issue30095] HTMLCalendar allow custom classes

2017-06-06 Thread Walter Dörwald

Walter Dörwald added the comment:

Closing the issue. The patch has been merged.

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



[issue30581] os.cpu_count() returns wrong number of processors on system with > 64 logical processors

2017-06-06 Thread robbuckley

robbuckley added the comment:

yes, i believe its reporting the number of processors in the current group 
only, not across all groups.

attached output of windows sysinternals/coreinfo showing 2 processor groups

see https://github.com/giampaolo/psutil/issues/771 for some further disucssion 
of this topic

the maintainer of psutil asked me to raise this bug, also had a quick check on 
#python IRC. Its my first bug on bugs.python.org so if you need more info just 
let me know

--
Added file: http://bugs.python.org/file46928/ci.txt

___
Python tracker 

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



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread R. David Murray

R. David Murray added the comment:

Either that or you aren't really running the make_server from 
wsgiref.simple_server.

--

___
Python tracker 

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



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread R. David Murray

R. David Murray added the comment:

something is wrong in your setup then.  I suspect you have a mismatch between 
the python version you think you are running the one you are actually running, 
and/or which library code it is accessing.

--
nosy: +r.david.murray

___
Python tracker 

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



[issue30581] os.cpu_count() returns wrong number of processors on system with > 64 logical processors

2017-06-06 Thread STINNER Victor

STINNER Victor added the comment:

On Windows, os.cpu_count() is currently implemented with:

"GetSystemInfo(); return sysinfo.dwNumberOfProcessors;"

https://msdn.microsoft.com/en-us/library/windows/desktop/ms724958(v=vs.85).aspx

It seems to return the number of *logical* CPUs:

"""
dwNumberOfProcessors

The number of logical processors in the current group.

Note: For information about the physical processors shared by logical 
processors, call GetLogicalProcessorInformationEx with the RelationshipType 
parameter set to RelationProcessorPackage (3).
"""

It seems like you have two physical CPU packages. Maybe the function only 
returns infos from the first package?

--
nosy: +haypo

___
Python tracker 

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



[issue30581] os.cpu_count() returns wrong number of processors on system with > 64 logical processors

2017-06-06 Thread robbuckley

New submission from robbuckley:

os.cpu_count() seems to report incorrect values on windows systems with >64 
logical processors

tried it on 2 similar systems, both running windows 7 / 10 with python 3.6.1 
64bit (anaconda):

platform1 - 2x Xeon E5-2698v4. 20 cores/CPU = total 80 logical cpus with 
hyperthreading
platform2 - 2x Xeon E5-2697v3. 14 cores/CPU = total 56 logical cpus with 
hyperthreading

os.cpu_count() reports 40 cores on platform1 and 56 on platform2

I would expect 80 and 56 respectively. 

I suppose this is because the windows api call used is not aware of processor 
groups, and reports only the number of processors in the current processor 
group ( eg GetSystemInfo vs GetMaximumProcessorCount )

--
components: Windows
messages: 295254
nosy: paul.moore, robbuckley, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
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



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread Nils Lindemann

New submission from Nils Lindemann:

All examples on

https://docs.python.org/3/library/wsgiref.html

raise this exception:

Traceback (most recent call last):
  File "C:\Code\test\server.py", line 110, in 
with make_server('', 8000, simple_app) as httpd:
AttributeError: __exit__

Tested with

Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit 
(AMD64)] on win32

--
messages: 295253
nosy: Nils-Hero
priority: normal
severity: normal
status: open
title: WSGI examples raise AttributeError: __exit__
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



[issue25444] Py Launch Icon

2017-06-06 Thread Nils Lindemann

Nils Lindemann added the comment:

Two years later: To the dude who removed the rocket from the icons in 3.6: I 
LOVE YOU!

--

___
Python tracker 

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



[issue29569] threading.Timer class: Continue periodical execution till action returns True

2017-06-06 Thread Cheryl Sabella

Cheryl Sabella added the comment:

This bug report has been closed, but the PR is still open.  Please close the 
PR.  Thank you.

--
nosy: +csabella

___
Python tracker 

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



[issue30542] [EASY] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references

2017-06-06 Thread Louie Lu

Louie Lu added the comment:

Briefly speaking, I think this is not a *easy* issue. There is two things need 
to concern in this issue. 

First, it that the test case is *randomize*, lineno 282 randomly choice 10 file 
to test. So you will need to stabilize this first.

Second, the minimize range is inside `self.check_roundtrip`'s `compile`, the 
main reason that this issue can not be *easy issue* is at here, test_unparse 
read the test file and put it into compile, so generally, you can't find the 
bug inside the compile function, is the result after compile it. So the main 
ref leak is in other test files, not this one.

--

___
Python tracker 

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



[issue29403] mock's autospec's behavior on method-bound builtin functions is broken

2017-06-06 Thread Cheryl Sabella

Cheryl Sabella added the comment:

This PR appears to have been approved, perhaps pending input from michael.foord?

--
nosy: +csabella

___
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

2017-06-06 Thread Philip Ridout

Changes by Philip Ridout :


--
nosy: +Philip Ridout

___
Python tracker 

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



[issue30579] Allow traceback objects to be instantiated/mutated/annotated

2017-06-06 Thread Nick Coghlan

Nick Coghlan added the comment:

Aye, if you need full post-mortem debugging support, then updating the public 
API of the actual traceback objects based on the current ctypes-based 
workaround does seem like a better path forward.

TracebackException and friends would more come into play for the "make 
traceback printing easier to customise" part of your presentation.

--

___
Python tracker 

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



[issue10746] ctypes c_long & c_bool have incorrect PEP-3118 type codes

2017-06-06 Thread Cheryl Sabella

Cheryl Sabella added the comment:

Added the names from the experts list to this ticket.

--
nosy: +amaury.forgeotdarc, belopolsky, csabella, meador.inge

___
Python tracker 

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



[issue27494] 2to3 parser failure caused by a comma after a generator expression

2017-06-06 Thread Cheryl Sabella

Cheryl Sabella added the comment:

Adding benjamin.peterson as he is listed as the expert for 2to3.

--
nosy: +benjamin.peterson, csabella

___
Python tracker 

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



[issue30095] HTMLCalendar allow custom classes

2017-06-06 Thread Walter Dörwald

Walter Dörwald added the comment:


New changeset 8b7a4cc40e9b2f34da94efb75b158da762624015 by Walter Dörwald (Oz N 
Tiram) in branch 'master':
bpo-30095: Make CSS classes used by calendar.HTMLCalendar customizable (GH-1439)
https://github.com/python/cpython/commit/8b7a4cc40e9b2f34da94efb75b158da762624015


--

___
Python tracker 

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



[issue30571] Add integer formatting code for fixed-width signed arithmetic (2's complement)

2017-06-06 Thread Cheryl Sabella

Changes by Cheryl Sabella :


--
nosy: +csabella

___
Python tracker 

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



[issue30529] Incorrect error messages for invalid whitespaces in f-string subexpressions

2017-06-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Could you please look at the patch Eric?

--

___
Python tracker 

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



[issue29051] Improve error reporting involving f-strings (PEP 498)

2017-06-06 Thread Liran Nuna

Changes by Liran Nuna :


--
nosy: +Liran Nuna

___
Python tracker 

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



[issue30510] c_bool type not supported for BigEndianStructure on little-endian machine

2017-06-06 Thread Hassan El Karouni

Changes by Hassan El Karouni :


Added file: http://bugs.python.org/file46927/__init__.py

___
Python tracker 

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



[issue30510] c_bool type not supported for BigEndianStructure on little-endian machine

2017-06-06 Thread Hassan El Karouni

Changes by Hassan El Karouni :


Added file: http://bugs.python.org/file46926/c_bool_bug.py

___
Python tracker 

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



[issue26103] Contradiction in definition of "data descriptor" between (dotted lookup behavior/datamodel documentation) and (inspect lib/descriptor how-to)

2017-06-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

This isn't just a documentation issue since it fixes 
inspect.isdatadescriptor(). I confirm that the new implementation better 
matches the C code. LGTM, but needed tests for inspect.isdatadescriptor() and a 
Misc/NEWS entry.

--
assignee: docs@python -> 
nosy: +serhiy.storchaka
stage: needs patch -> patch review
versions: +Python 2.7, Python 3.7

___
Python tracker 

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



  1   2   >