[issue35938] crash of METADATA file cannot be fixed by reinstall of python

2019-02-08 Thread Feștilă George Cătălin
New submission from Feștilă George Cătălin : The pip install module crash with this error: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'c:\\python364\\lib\\site-packages\\traits-4.6.0.dist-info\\METADATA ' You are using pip version 18.1, however

[issue35939] Remove urllib.parse._splittype from mimetypes.guess_type

2019-02-08 Thread Dong-hee Na
New submission from Dong-hee Na : Since urllib.parse.splittype is deprecated on 3.8. In the future urllib.parse._splittype also should be removed. I found that mimetypes.guess_type uses urllib.parse._splittype and it can be replaced and it also looks like solve the issue mentioned on https://g

[issue35939] Remove urllib.parse._splittype from mimetypes.guess_type

2019-02-08 Thread Dong-hee Na
Change by Dong-hee Na : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue35938] crash of METADATA file cannot be fixed by reinstall of python

2019-02-08 Thread Feștilă George Cătălin
Feștilă George Cătălin added the comment: I delete two folders of traits Using the pip-review --auto this is the output of traits: copying traits\util\tests\__init__.py -> build\lib.win-amd64-3.6\traits\util\t ests running build_ext building 'traits.ctraits' extension creating build\tem

[issue35938] crash of METADATA file cannot be fixed by reinstall of python

2019-02-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: traits is not a part of stdlib and the tracker deals with issues in CPython. I think this is a third party issue or something related to your environment that can be reported to the respective project. -- nosy: +xtreak

[issue35938] crash of METADATA file cannot be fixed by reinstall of python

2019-02-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: hi @xtreak because I don't have a windows vm with me, I can't reproduce this issue, but maybe this issue is related with ensurepip or just with pip. when I have seen this issue, my first reaction was "it's not related to python", but I am not sure. ---

[issue35921] Use ccache by default

2019-02-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi @Raymond I use this script since 1 year for the compilation of Python, https://github.com/python/cpython/pull/11773#issuecomment-461179522 #!/usr/bin/env fish set number_of_cpu (python3 -c "import os; print(os.sysconf('SC_NPROCESSORS_ONLN'))") ./config

[issue35933] python doc does not say that the state kwarg in Pickler.save_reduce can be a tuple (and not only a dict)

2019-02-08 Thread Pierre Glaser
Pierre Glaser added the comment: Thanks Antoine and Raymond for the feedback. Indeed, a subclass of a slotted class can have a dict: I enriched the script, pickling_depickling instances of such subclasses, with the length-2 tuple __getstate__ method, and made sure their attributes were prope

[issue35933] python doc does not say that the state kwarg in Pickler.save_reduce can be a tuple (and not only a dict)

2019-02-08 Thread Pierre Glaser
Change by Pierre Glaser : Removed file: https://bugs.python.org/file48113/test_slots.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue28488] shutil.make_archive (xxx, zip, root_dir) is adding './' entry to archive which is wrong

2019-02-08 Thread Hinayf Wikileakean
Hinayf Wikileakean added the comment: There is a similar bug/issue for 'tar' archives. -- nosy: +Hinayf Wikileakean ___ Python tracker ___

[issue35933] python doc does not say that the state kwarg in Pickler.save_reduce can be a tuple (and not only a dict)

2019-02-08 Thread Pierre Glaser
Change by Pierre Glaser : Added file: https://bugs.python.org/file48114/test_slots.py ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : -- title: Crash - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd -> Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd ___ Python tracker _

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Bangert added the comment: I updated Pandas with the same result. I created new environments. When I load Pandas I get the same result and behaiviour. Permanent crashes of the python.exe. -- ___ Python tracker

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi Bangert, thanks for reporting the issue. we need more information to reproduce the bug. Can you post the requirement.txt file as a text file rather than a screenshot and the step to reproduce the crash starting from an empty project? Were you able to reprod

[issue35938] crash of METADATA file cannot be fixed by reinstall of python

2019-02-08 Thread Steven D'Aprano
Steven D'Aprano added the comment: That's not a crash. You are trying to install a package using pip, pip sees that it is missing the METADATA file and reports a problem. That is working correctly, not a crash. There is no way for us to know how the metadata file got deleted. Maybe you dele

[issue35904] Add statistics.fmean(seq)

2019-02-08 Thread Steven D'Aprano
Steven D'Aprano added the comment: Oh, I seem to have accidentally reverted the change of title. Sorry, that was definitely not intended and I don't know how it happened. But now that it has, I'm not going to change it until we have a decision on a name. --

[issue35937] Add instancemethod to types.py

2019-02-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: Could you expand on why instancemethod is amazing, other than that's it is apparently fast at something. -- nosy: +ronaldoussoren ___ Python tracker __

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Added file: https://bugs.python.org/file48115/Conda-Algos-Joint-Crash-04.jpg ___ Python tracker ___ ___ Python-bugs-list

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Added file: https://bugs.python.org/file48116/Conda-Algos-Joint-Crash-05.jpg ___ Python tracker ___ ___ Python-bugs-list

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Added file: https://bugs.python.org/file48117/requirements.txt ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Removed file: https://bugs.python.org/file48117/requirements.txt ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Added file: https://bugs.python.org/file48119/requirementsWin10-Educ-1809-x64-German.txt ___ Python tracker ___ ___ Pyt

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Added file: https://bugs.python.org/file48118/requirementsWin7-Prof-SP1-x64-English.txt ___ Python tracker ___ ___ Pyth

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Added file: https://bugs.python.org/file48120/Conda-Algos-Joint-Crash-06.jpg ___ Python tracker ___ ___ Python-bugs-list

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Bangert added the comment: 1. In Win7 the crash happens on every change in code, even in the webroot of tensorboard. 2. In Win10 there is !no! crash -- ___ Python tracker __

[issue35937] Add instancemethod to types.py

2019-02-08 Thread Steven D'Aprano
Steven D'Aprano added the comment: I presume you aren't referring to this: from types import MethodType > There really isn't anything else to say about it How about starting with why you want this and what you will do with it? According to this post on StackOverflow: https://stackoverflow.

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Removed file: https://bugs.python.org/file48120/Conda-Algos-Joint-Crash-06.jpg ___ Python tracker ___ ___ Python-bugs-li

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Removed file: https://bugs.python.org/file48116/Conda-Algos-Joint-Crash-05.jpg ___ Python tracker ___ ___ Python-bugs-li

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Added file: https://bugs.python.org/file48121/Conda-Algos-Joint-Crash-Win7-RWTH-SAP1.jpg ___ Python tracker ___ ___ Pyt

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Added file: https://bugs.python.org/file48122/Conda-Algos-Joint-NoCrash-Win10-RWTH-SAP2.jpg ___ Python tracker ___ ___

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Removed file: https://bugs.python.org/file48122/Conda-Algos-Joint-NoCrash-Win10-RWTH-SAP2.jpg ___ Python tracker ___ __

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Removed file: https://bugs.python.org/file48115/Conda-Algos-Joint-Crash-04.jpg ___ Python tracker ___ ___ Python-bugs-li

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Added file: https://bugs.python.org/file48123/Conda-Algos-Joint-Crash-Event-Win7-RWTH-SAP1.jpg ___ Python tracker ___ _

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Removed file: https://bugs.python.org/file48121/Conda-Algos-Joint-Crash-Win7-RWTH-SAP1.jpg ___ Python tracker ___ ___ P

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Added file: https://bugs.python.org/file48125/Conda-Algos-Joint-Crash-Silent-Event-Win10-RWTH-SAP2.jpg ___ Python tracker ___ _

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Added file: https://bugs.python.org/file48124/Conda-Algos-Joint-Crash-Popup-Win7-RWTH-SAP1.jpg ___ Python tracker ___ _

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Change by Bangert : Added file: https://bugs.python.org/file48126/Conda-Algos-Joint-Crash-Silent-Project-Win10-RWTH-SAP2.jpg ___ Python tracker ___ ___

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Bangert
Bangert added the comment: Correction - I did not see the popup in Win10 for it is a silent crash without popup so: 1. Win 7 crashes with popup 2. Win10 crashes silently -- Added file: https://bugs.python.org/file48127/Crash-Popup-Win7-RWTH-SAP1.jpg

[issue35904] Add statistics.fmean(seq)

2019-02-08 Thread Mark Dickinson
Mark Dickinson added the comment: No further bikeshedding on the name from me; +1 on whatever you decide on. :-) -- ___ Python tracker ___

[issue35937] Add instancemethod to types.py

2019-02-08 Thread Cheryl Sabella
Cheryl Sabella added the comment: Also see issue 11776 about documenting the signatures. -- nosy: +cheryl.sabella ___ Python tracker ___ __

[issue21109] tarfile: Traversal attack vulnerability

2019-02-08 Thread uhei3nn9
uhei3nn9 added the comment: Is there any update on this? Will this be fixed in the next release? Having a code execution vulnerability (yes it is!) in python for 5 years does not really spark confidence... -- nosy: +uhei3nn9 ___ Python tracker

[issue23607] Inconsistency in datetime.utcfromtimestamp(Decimal)

2019-02-08 Thread Steven Davidson
Change by Steven Davidson : -- nosy: +Steven Davidson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue24087] Documentation doesn't explain the term "coroutine" (PEP 342)

2019-02-08 Thread Cheryl Sabella
Cheryl Sabella added the comment: While some of the proposed changes in this issue have been applied to the documentation under other issues, other changes have not been applied. Is it still desirable to incorporate the other changes (such as native coroutine) or have the existing doc chang

[issue22228] Adapt bash readline operate-and-get-next function

2019-02-08 Thread Lele Gaifax
Lele Gaifax added the comment: I rebased my work on current master of the cpython git repository, cherry picking the changes from the old branch (that was based on a at the time unofficial git mirror of the mercurial repository). To avoid any ambiguity I called it "issue8_3", so it is n

[issue17164] MozillaCookieJar does not handle session cookies

2019-02-08 Thread Ramy Abdel-Azim
Ramy Abdel-Azim added the comment: Hi, Is there any update on this ticket? I would love to use Requests instead of writing a curl command and running it from the command line out of my script but I need this functionality to pull the cookies.txt file in. Thanks! _Ramy -- nosy: +Ram

[issue24087] Documentation doesn't explain the term "coroutine" (PEP 342)

2019-02-08 Thread Paul Moore
Paul Moore added the comment: I'm OK that the basic glossary item is now covered. I don't know about any of the other issues Martin mentioned. I've closed the issue as my original comment is addressed, but if Martin wants to reopen it to address his concerns, I'm OK with him doing that. ---

[issue35940] multiprocessing manager tests fail in the Refleaks buildbots

2019-02-08 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : After PR11772, some buildbots with refleak checks fail because the tests modify the environment (leaking processes or threads or files ...). Some of the failures: https://buildbot.python.org/all/#builders/80/builds/506 ttps://buildbot.python.org/all

[issue35941] ssl.enum_certificates() regression

2019-02-08 Thread Michael Schlenker
New submission from Michael Schlenker : The introduction of the ReadOnly flag in the ssl.enum_certificates() function implementation has introduced a regression. The old version returned certificates for both the current user and the local system, the new function only enumerates system wide

[issue35941] ssl.enum_certificates() regression

2019-02-08 Thread Christian Heimes
Christian Heimes added the comment: I guess the flags are wrong. https://hg.python.org/cpython/rev/d6474257ef38 changed flags to CERT_SYSTEM_STORE_LOCAL_MACHINE. To get local user certs, the flag should probably be CERT_SYSTEM_STORE_CURRENT_USER. -- assignee: christian.heimes -> stev

[issue35941] ssl.enum_certificates() regression

2019-02-08 Thread Christian Heimes
Change by Christian Heimes : -- versions: -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue32417] fromutc does not respect datetime subclasses

2019-02-08 Thread Paul Ganssle
Change by Paul Ganssle : -- pull_requests: +11790 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue35364] Datetime “fromtimestamp()” ignores inheritance if timezone is not None

2019-02-08 Thread Paul Ganssle
Change by Paul Ganssle : -- pull_requests: +11794 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32417] fromutc does not respect datetime subclasses

2019-02-08 Thread Paul Ganssle
Change by Paul Ganssle : -- pull_requests: +11790, 11791, 11792 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue32417] fromutc does not respect datetime subclasses

2019-02-08 Thread Paul Ganssle
Change by Paul Ganssle : -- pull_requests: +11790, 11791 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue35364] Datetime “fromtimestamp()” ignores inheritance if timezone is not None

2019-02-08 Thread Paul Ganssle
Change by Paul Ganssle : -- pull_requests: +11794, 11795 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue32417] fromutc does not respect datetime subclasses

2019-02-08 Thread Paul Ganssle
Change by Paul Ganssle : -- pull_requests: +11790, 11791, 11792, 11793 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue35935] threading.Event().wait() not interruptable with Ctrl-C on Windows

2019-02-08 Thread Steve Dower
Steve Dower added the comment: I'm not sure it's quite as simple as calling sys.exit, but it would be a great project to bring universal cancellation support to all (regularly) blocking functions. Asyncio has suffered from this as well. Part of the problem is that POSIX APIs often don't supp

[issue35941] ssl.enum_certificates() regression

2019-02-08 Thread Michael Schlenker
Michael Schlenker added the comment: It probably is even worse. The flag seems to specifiy the physical locations, and just using CERT_SYSTEM_STORE_LOCAL_SYSTEM probably misses the certificates distributed by Group Policy or AD too, in addition to the stores for the current user. See https

[issue32417] fromutc does not respect datetime subclasses

2019-02-08 Thread Paul Ganssle
Paul Ganssle added the comment: Hm, when I made the "What's new" issue, it added the same PR to the "Pull requests" 4 times instead of once, and in the history it seems like it *tried* to actually add PR 11790, 11791, 11792 and 11793 (only the first one exists at the moment). Not sure why th

[issue17164] MozillaCookieJar does not handle session cookies

2019-02-08 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- nosy: +remi.lapeyre ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue32417] fromutc does not respect datetime subclasses

2019-02-08 Thread Paul Ganssle
Paul Ganssle added the comment: Ah, sorry for the noise, this is a known issue: https://github.com/python/bugs.python.org/issues/12 -- ___ Python tracker ___

[issue30782] Allow limiting the number of concurrent tasks in asyncio.as_completed

2019-02-08 Thread glin
glin added the comment: @Andrew Svetlov: I was surprised when you wrote "as_completed() is low-level API.", so I wondered what is high level API and I googled it and first that came was official doc: https://docs.python.org/3/library/asyncio-api-index.html Where it's written that it's high

[issue35364] Datetime “fromtimestamp()” ignores inheritance if timezone is not None

2019-02-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d9503c307a8b6a7b73f6344183602ffb014d3356 by Łukasz Langa (Paul Ganssle) in branch 'master': Add What's New entry for date subclass behavior (#11790) https://github.com/python/cpython/commit/d9503c307a8b6a7b73f6344183602ffb014d3356 -- nosy

[issue32417] fromutc does not respect datetime subclasses

2019-02-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d9503c307a8b6a7b73f6344183602ffb014d3356 by Łukasz Langa (Paul Ganssle) in branch 'master': Add What's New entry for date subclass behavior (#11790) https://github.com/python/cpython/commit/d9503c307a8b6a7b73f6344183602ffb014d3356 -- nosy

[issue35922] robotparser crawl_delay and request_rate do not work with no matching entry

2019-02-08 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- keywords: +patch pull_requests: +11796 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue35922] robotparser crawl_delay and request_rate do not work with no matching entry

2019-02-08 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Thanks for your report Joseph, I opened a new PR to fix this. -- nosy: +orsenthil ___ Python tracker ___ ___

[issue35939] Remove urllib.parse._splittype from mimetypes.guess_type

2019-02-08 Thread SilentGhost
Change by SilentGhost : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue35936] Give modulefinder some much-needed updates.

2019-02-08 Thread SilentGhost
Change by SilentGhost : -- nosy: +jvr ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue35942] posixmodule.c:path_converter() returns an invalid exception message for broken PathLike objects

2019-02-08 Thread Łukasz Langa
New submission from Łukasz Langa : >>> class K: ... def __fspath__(self): ... return 1 ... >>> import os >>> os.stat(K()) Traceback (most recent call last): File "", line 1, in TypeError: stat: path should be string, bytes, os.PathLike or integer, not int This error message is internal

[issue17164] MozillaCookieJar does not handle session cookies

2019-02-08 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- pull_requests: +11797 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue17164] MozillaCookieJar does not handle session cookies

2019-02-08 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- pull_requests: +11797, 11798 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17164] MozillaCookieJar does not handle session cookies

2019-02-08 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- pull_requests: +11797, 11798, 11799 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list m

[issue17164] MozillaCookieJar does not handle session cookies

2019-02-08 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi Ramy, thanks for bumping the issue. The solution suggested by Piotr Dobrogost is backward compatible and I think it's the right thing to do. I opened a new PR thanks to the patch of Jérémie Detrey. -- versions: +Python 3.7, Python 3.8 -Python 3.4, P

[issue35886] Move PyInterpreterState into Include/internal/pycore_pystate.h

2019-02-08 Thread Eric Snow
Change by Eric Snow : -- pull_requests: -11625 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue35886] Move PyInterpreterState into Include/internal/pycore_pystate.h

2019-02-08 Thread Eric Snow
Change by Eric Snow : -- pull_requests: -11624 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue34572] C unpickling bypasses import thread safety

2019-02-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: I agree that more generally PyImport_GetModule() should be fixed. But it should be done carefully so as to not to lose the performance benefit of doing it. I think we should open a separate issue about that. PS: one possibility is to reuse the optimization

[issue35943] PyImport_GetModule() can return partially-initialized module

2019-02-08 Thread Antoine Pitrou
New submission from Antoine Pitrou : PyImport_GetModule() returns whatever is in sys.modules, even if the module is still importing and therefore only partially initialized. One possibility is to reuse the optimization already done in PyImport_ImportModuleLevelObject(): /* Optimizati

[issue34572] C unpickling bypasses import thread safety

2019-02-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Opened issue35943 for PyImport_GetModule(). -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue34572] C unpickling bypasses import thread safety

2019-02-08 Thread Eric Snow
Eric Snow added the comment: Thanks, Antoine. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue35943] PyImport_GetModule() can return partially-initialized module

2019-02-08 Thread Eric Snow
Eric Snow added the comment: Yeah, that makes sense. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue35943] PyImport_GetModule() can return partially-initialized module

2019-02-08 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue35904] Add statistics.fmean(seq)

2019-02-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 from me as well. I like your count() solution because 1) it gives the same answer for both an iterator and for an iterable 2) it preserves the memory friendly characteristics of iterators, 3), it is still reasonably fast, and 4) the function signature

[issue35889] sqlite3.Row doesn't have useful repr

2019-02-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Enhancements only go into future versions. This would have the same pluses and minuses as printing dicts in full. I don't know the general feeling about expanding the classes printed out like this, or whether Gerhard is still active. If you don't get respo

[issue35903] Build of posixshmem.c should probe for required OS functions

2019-02-08 Thread Neil Schemenauer
Neil Schemenauer added the comment: New changeset 5741c45acf9b0ce22ff0dbf56322fe0ff16cfcfc by Neil Schemenauer in branch 'master': bpo-35903: Use autoconfig to probe for shm_open() and shm_unlink(). (#11765) https://github.com/python/cpython/commit/5741c45acf9b0ce22ff0dbf56322fe0ff16cfcfc -

[issue35903] Build of posixshmem.c should probe for required OS functions

2019-02-08 Thread Neil Schemenauer
Change by Neil Schemenauer : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35943] PyImport_GetModule() can return partially-initialized module

2019-02-08 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue35927] Intra-package References Documentation Incomplete

2019-02-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.6 only gets security patches. I cannot comment on relative imports as I never use them, but the absolute imports should work and do for me. I just added to idlelib.idle_test a file a.py containing 'from idlelib.idle_test import htest' and it works find.

[issue35927] Intra-package References Documentation Incomplete

2019-02-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: When reporting problems, copy and paste into the report the complete exception traceback and error message. For import problems, also copy and paste sys.path. If you disagree that this should be closed, please do so. -- ___

[issue35875] Crash by Pandas - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-08 Thread Eryk Sun
Eryk Sun added the comment: The access violation (exception code 0xC005) occurs in algos.cp36-win_amd64.pyd, which is a Pandas extension module, so I'm closing this issue as third party. You can open an issue with the Pandas project at their GitHub repo: https://github.com/pandas-dev/pa

[issue35944] Python 3.7 install error

2019-02-08 Thread princebaridi
New submission from princebaridi : win10 x64 bit machine. looks like msi installer error/ -- components: Installation files: Python 3.7.2 (64-bit)_20190208145004_000_core_JustForMe.log messages: 335107 nosy: lasonjack priority: normal severity: normal status: open title: Python 3.7 inst

[issue35944] Python 3.7 install error

2019-02-08 Thread Zachary Ware
Change by Zachary Ware : -- assignee: -> steve.dower components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

[issue35945] Cannot distinguish between subtask cancellation and running task cancellation

2019-02-08 Thread Nic Watson
New submission from Nic Watson : Goal: to distinguish inside a CancelledError exception handler whether the current running task is being cancelled, or another task that the current task is pending on was cancelled. Example: import asyncio async def task2func(): await asyncio.sleep(2)

[issue35945] Cannot distinguish between subtask cancellation and running task cancellation

2019-02-08 Thread epiphyte
Change by epiphyte : -- nosy: +epiphyte ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue35944] Python 3.7 install error

2019-02-08 Thread Steve Dower
Steve Dower added the comment: That looks like an incomplete log. Do you have the log file without "000_core_JustForMe" at the end of the name? -- ___ Python tracker ___

[issue35944] Python 3.7 install error

2019-02-08 Thread princebaridi
princebaridi added the comment: sure sorry -- Added file: https://bugs.python.org/file48129/Python 3.7.2 (64-bit)_20190208145004.log ___ Python tracker ___ __

[issue35944] Python 3.7 install error

2019-02-08 Thread Steve Dower
Steve Dower added the comment: It seems to think the install has been deleted between extracting/verifying it and launching the installer. Do you have any antivirus running that you could disable? Those can sometimes interfere like this. -- ___ P

[issue35946] Ambiguous documentation for assert_called_with()

2019-02-08 Thread Mark Forrer
New submission from Mark Forrer : The documentation for assert_called_with() is ambiguous with regard to the fact that the method only checks the most recent call. This behavior for assert_called_with() is only documented under assert_any_call(), which users are unlikely to read when making

[issue35946] Ambiguous documentation for assert_called_with()

2019-02-08 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- keywords: +patch pull_requests: +11800 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue35946] Ambiguous documentation for assert_called_with()

2019-02-08 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- keywords: +patch, patch, patch pull_requests: +11800, 11801, 11802 stage: -> patch review ___ Python tracker ___ ___

[issue35946] Ambiguous documentation for assert_called_with()

2019-02-08 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- keywords: +patch, patch pull_requests: +11800, 11801 stage: -> patch review ___ Python tracker ___ ___ P

  1   2   >