[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

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

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

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

[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

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

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

[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

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

[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

[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

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

[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

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

[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

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

[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

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

[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

[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

[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

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

[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

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

[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

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

[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

[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

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

[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

[issue30583] docs mention datetuil presumably it should be dateutil

2017-06-06 Thread wim glenn
Changes by wim glenn : -- pull_requests: +2040 ___ Python tracker ___ ___

[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

[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

[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

[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

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

[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

[issue30583] docs mention datetuil presumably it should be dateutil

2017-06-06 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: -> backport needed ___ Python tracker ___

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

[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

[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

[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

[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

[issue27867] various issues due to misuse of PySlice_GetIndicesEx

2017-06-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2039 ___ Python tracker ___ ___

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

[issue30583] docs mention datetuil presumably it should be dateutil

2017-06-06 Thread wim glenn
Changes by wim glenn : -- type: -> enhancement ___ Python tracker ___ ___

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

[issue30583] docs mention datetuil presumably it should be dateutil

2017-06-06 Thread wim glenn
Changes by wim glenn : -- pull_requests: +2038 ___ Python tracker ___ ___

[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

[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

[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

[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

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

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

[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

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

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

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

[issue30567] Leak in sys.getwindowsversion

2017-06-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2037 ___ Python tracker ___ ___

[issue30567] Leak in sys.getwindowsversion

2017-06-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2036 ___ Python tracker ___ ___

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

[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

[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

[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

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

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

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

[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

[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

[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

[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

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

[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

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

[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

[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

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

[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

[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

[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

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

[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

[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: """

[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

[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

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

[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

[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

[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

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

2017-06-06 Thread Philip Ridout
Changes by Philip Ridout : -- nosy: +Philip Ridout ___ Python tracker ___ ___

[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

[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

[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

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

[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

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

[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

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

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

[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

  1   2   >