[issue40122] The implementation and documentation of "dis.findlables" don't match

2020-03-31 Thread laike9m
laike9m added the comment: I've created a PR to fix documentation. https://github.com/python/cpython/pull/19274 I'll create a new issue for making the function accept a code object. -- ___ Python tracker

[issue40122] The implementation and documentation of "dis.findlables" don't match

2020-03-31 Thread laike9m
Change by laike9m : -- keywords: +patch pull_requests: +18629 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/19274 ___ Python tracker

[issue37207] Use PEP 590 vectorcall to speed up calls to range(), list() and dict()

2020-03-31 Thread Dong-hee Na
Dong-hee Na added the comment: @vstinner @petr.viktorin I 'd like to experiment dict vector call and finalize the work. Can I proceed it? -- ___ Python tracker ___

[issue40128] IDLE Show completions pop-up not working on macOS

2020-03-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: My first though was that the 'guy' had executed 'import math' and you had not. (See the IDLE doc at https://docs.python.org/3/library/idle.html or, within IDLE, Help => IDLE Help, "Editing and navigations" section, "completions' subsection, 2nd to last

[issue40071] test__xxsubinterpreters leaked [1, 1, 1] references: test_ids_global()

2020-03-31 Thread Paulo Henrique Silva
Paulo Henrique Silva added the comment: As discussed on PR19172, this module uses a global state in functions that do not receive a PyModule* and right now converting such cases to per-module state is not trivial. I will wait for PEP-573 implementation that will hopefully make this easier.

[issue40071] test__xxsubinterpreters leaked [1, 1, 1] references: test_ids_global()

2020-03-31 Thread Paulo Henrique Silva
Change by Paulo Henrique Silva : -- pull_requests: +18628 pull_request: https://github.com/python/cpython/pull/19273 ___ Python tracker ___

Re: about to resolve problem in installation

2020-03-31 Thread boB Stepp
On Tue, Mar 31, 2020 at 12:02 PM Kapuganti Rakesh wrote: > I have already search in my pc but it is showing nothing and later i > searched python and started that app.After some it showing > I am getting confuse over this. pls help me If you press your Windows key (or click on the Windows

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-03-31 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset ba8a2bcebfdb41acafea9a195e45e9d177dc216f by Benjamin Peterson in branch '2.7': [2.7] closes bpo-40125: Update multissltests.py to use OpenSSL 1.1.1f. (GH-19251)

[plum-py 0.3.0] Pack/Unpack Memory

2020-03-31 Thread Dan Gass
I am please to announce the availability of beta release 0.3.0 of the "plum-py" package. This package provides classes and utility functions to efficiently pack and unpack bytes similar to what the standard library `struct` module offers. This package expands significantly on that capability with

[issue40113] Turtle demo

2020-03-31 Thread Steven D'Aprano
Steven D'Aprano added the comment: > the program is supposed to draw a function like y=sin(x) but is drawing > y=abs(sin(x)). It would have been nice if you had described the problem this way from your initial bug report, instead of saying that the turtle was moving backwards. I understood

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset afeaea2d6e346f627b24cc9e84e2986a7266a70e by Victor Stinner in branch 'master': bpo-40094: Add missing import to wait_process() (GH-19268) https://github.com/python/cpython/commit/afeaea2d6e346f627b24cc9e84e2986a7266a70e --

[issue27635] pickle documentation says that unpickling may not call __new__

2020-03-31 Thread Furkan Onder
Furkan Onder added the comment: There is still an mistake in the document. I sent a pr to fix it. -- ___ Python tracker ___ ___

[issue27635] pickle documentation says that unpickling may not call __new__

2020-03-31 Thread Furkan Onder
Change by Furkan Onder : -- keywords: +patch nosy: +furkanonder nosy_count: 4.0 -> 5.0 pull_requests: +18626 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/19269 ___ Python tracker

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18625 pull_request: https://github.com/python/cpython/pull/19268 ___ Python tracker ___

[issue40110] multiprocessing.Pool.imap() should be lazy

2020-03-31 Thread Tim Peters
Tim Peters added the comment: "Lazy" has several possible aspects, of which Pool.imap() satisfies some: - Its iterable argument is materialized one object at a time. - It delivers results one at a time. So, for example, if `worker` is a function that takes a single int, then pool =

[issue35815] Able to instantiate a subclass with abstract methods from __init_subclass__ of the ABC

2020-03-31 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: __init_subclass__ is called way before (in the type_new, when type is in the process of getting created) the object's __new__ (object_new) (which raises that TypeError). -- ___ Python tracker

[issue35815] Able to instantiate a subclass with abstract methods from __init_subclass__ of the ABC

2020-03-31 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- Removed message: https://bugs.python.org/msg334467 ___ Python tracker ___ ___ Python-bugs-list

[issue25878] CPython on Windows builds with /W3, not /W4

2020-03-31 Thread Alexander Riccio
Alexander Riccio added the comment: Ok, so a draft of this produces 34 warnings, but makes way more changes to the .vcxproj and .filters files than I think it should: https://github.com/ariccio/cpython/commit/60152aa065a3ad861f0359a8ada7f2fbc83a3933 Before I submit a PR, I think I should

[issue40121] socket module missing audit events

2020-03-31 Thread Steve Dower
Steve Dower added the comment: Thanks, Victor! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40121] socket module missing audit events

2020-03-31 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +18624 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/19267 ___ Python tracker ___

[issue40131] Zipapp example has parameters in the wrong order

2020-03-31 Thread Leron Gray
New submission from Leron Gray : The second example listed here for zipapp has the parameters in the wrong order. https://docs.python.org/3/library/zipapp.html?highlight=zipapp#examples It should be create_archive("myapp", "myapp.pyz") since the parameters are (source, target). The

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6b982c22e5fdbfecc24e440515b63f7253f695c4 by Victor Stinner in branch 'master': bpo-40094: Add run_command() to setup.py (GH-19266) https://github.com/python/cpython/commit/6b982c22e5fdbfecc24e440515b63f7253f695c4 --

[issue39812] Avoid daemon threads in concurrent.futures

2020-03-31 Thread Kyle Stanley
Kyle Stanley added the comment: I'm currently busy today, but I'll have some time to explore a few different potential solutions tomorrow. If I can't find anything to fix it by the end of the day, I'll prepare a PR to revert PR-19149, and re-apply it later (after more thoroughly testing to

[issue40110] multiprocessing.Pool.imap() should be lazy

2020-03-31 Thread Raymond Hettinger
Change by Raymond Hettinger : -- components: +Library (Lib) nosy: +rhettinger type: -> enhancement versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue12735] request full Unicode collation support in std python library

2020-03-31 Thread Ahmad Azizi
Ahmad Azizi added the comment: Remember, sorting standard Persian(Farsi) characters does not work properly with current implementation of Python 3.x As the result, python is probably unable to sort properly in some other languages. Here is correct order of alphabet in Persian: "آ","ا",

[issue40129] Add test classes for custom __index__, __int__, __float__ and __complex__

2020-03-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think this makes the world better. It just makes it more intertwined. Currently, I can read the test code in isolation and understand it. But with the proposed PR, a person now needs to know more of what is in test_support. I really like

[issue31160] Enhance support.reap_children()

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 16d75675d2ad2454f6dfbf333c94e6237df36018 by Victor Stinner in branch 'master': bpo-31160: Fix race condition in test_os.PtyTests (GH-19263) https://github.com/python/cpython/commit/16d75675d2ad2454f6dfbf333c94e6237df36018 --

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 16d75675d2ad2454f6dfbf333c94e6237df36018 by Victor Stinner in branch 'master': bpo-31160: Fix race condition in test_os.PtyTests (GH-19263) https://github.com/python/cpython/commit/16d75675d2ad2454f6dfbf333c94e6237df36018 --

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18623 pull_request: https://github.com/python/cpython/pull/19266 ___ Python tracker ___

Re: error in importing

2020-03-31 Thread DL Neil via Python-list
On 31/03/20 11:23 PM, Jami Yaswanth wrote: i am not able to use the libraries that are installed using "pip install pandas" Welcome to Python! Are you aware of the Python-Tutor Discussion List? (https://mail.python.org/mailman/listinfo/tutor) Please describe how you installed these

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 40bfdb1594189f3c0238e5d2098dc3abf114e200 by Victor Stinner in branch 'master': bpo-40094: Add _bootsubprocess._waitstatus_to_exitcode (GH-19264) https://github.com/python/cpython/commit/40bfdb1594189f3c0238e5d2098dc3abf114e200 --

[issue40098] dir() does not return the list of valid attributes for the object

2020-03-31 Thread Guido van Rossum
Guido van Rossum added the comment: At least for overriding __dict__, I would presume there would be a matching override for __getattribute__ (not __getattr__). Ditto for __class__, e.g. look at GenericAlias in the pep585 implementation PR. (Here __class__ is not in the list of exceptions

[issue37733] Fail to build _curses module of Python 3.7.4 on AIX 7.1 using gcc

2020-03-31 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40130] Remove _PyUnicode_AsKind from private C API

2020-03-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +18622 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19265 ___ Python tracker

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18621 pull_request: https://github.com/python/cpython/pull/19264 ___ Python tracker ___

[issue40130] Remove _PyUnicode_AsKind from private C API

2020-03-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : _PyUnicode_AsKind is exposed as private C API. It is only used in unicodeobject.c, where it is defined. Its name starts with an underscore, it is not documented and not included in PC/python3.def (therefore is not exported on Windows). Seems it is not

[issue40098] dir() does not return the list of valid attributes for the object

2020-03-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If using __class__ and __dict__ attribuites is a feature, it does not work for __getattr__(). I think it is confusing if __dir__() and __getattr__() are not consistent. I'll try to deal with unittes.mock and then will look how this will work with other

[issue40120] Undefined C behavior going beyond end of struct via a [1] arrays.

2020-03-31 Thread Gregory P. Smith
Gregory P. Smith added the comment: Isn't the only actual way for a C .h file to be compatible with C++ via extern "C" { } which all of our non-meta include files appear to have already? -- ___ Python tracker

[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: > Fixed by > https://github.com/python/cpython/commit/a9f9687a7ce25e7c0c89f88f52db323104668ae0 Ooops, sorry. Only PR 19200 is fixed by this commit. But this issue is made of 3 bugs. I prefer to leave it open until the 3 bugs are fixed. --

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18620 pull_request: https://github.com/python/cpython/pull/19263 ___ Python tracker ___

[issue31160] Enhance support.reap_children()

2020-03-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18619 pull_request: https://github.com/python/cpython/pull/19263 ___ Python tracker ___

[issue40129] Add test classes for custom __index__, __int__, __float__ and __complex__

2020-03-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +18618 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19262 ___ Python tracker

[issue40098] dir() does not return the list of valid attributes for the object

2020-03-31 Thread Guido van Rossum
Guido van Rossum added the comment: Vedran, please stay on topic for this issue. FWIW I agree that it would be best if dir() showed only those dunders that are significant. E.g. __eq__ should only be shown if it is overridden by a subclass. Serhiy did you see my feedback on 3 and 4?

[issue40129] Add test classes for custom __index__, __int__, __float__ and __complex__

2020-03-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : There are many tests for int-like objects (which implement custom __index__ or __int__ methods) in different files. There are less tests for float-like objects (with the __float__ method). There are even tests for complex-like (with the __complex__

[issue40020] growable_comment_array_add leaks, causes crash

2020-03-31 Thread Alexander Riccio
Alexander Riccio added the comment: Sure, should I open a new issue? -- nosy: -vstinner resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue29418] inspect.isroutine does not return True for some bound builtin methods

2020-03-31 Thread Hakan
Change by Hakan : -- keywords: +patch nosy: +hakancelik nosy_count: 3.0 -> 4.0 pull_requests: +18617 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19261 ___ Python tracker

[issue40098] dir() does not return the list of valid attributes for the object

2020-03-31 Thread Vedran Čačić
Vedran Čačić added the comment: Guido: First, wow! Second, now it's even more glaring that list[str] has repr 'list[str]', while list doesn't have a repr 'list'. :-( Is it possible that the time for _that_ change will also come some day? :-) Third, my problem with dir is not dunders, but

[issue40098] dir() does not return the list of valid attributes for the object

2020-03-31 Thread Guido van Rossum
Guido van Rossum added the comment: For me, one of the most annoying things about dir() is that it gives all the dunders. There are many dunders that are just always there (__class__, mostly __dict__, __doc__, __name__ etc.). I wish it would just not give dunders that are inherited from

[issue39943] Meta: Clean up various issues in C internals

2020-03-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2c003eff8fef430f1876adf88e466bcfcbd0cc9e by Serhiy Storchaka in branch 'master': bpo-39943: Clean up marshal.c. (GH-19236) https://github.com/python/cpython/commit/2c003eff8fef430f1876adf88e466bcfcbd0cc9e --

[issue40098] dir() does not return the list of valid attributes for the object

2020-03-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 5. dir(module) does not contain module type attributes (in contrary to dir() for regular object). >>> import keyword >>> dir(keyword) ['__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__',

[issue40098] dir() does not return the list of valid attributes for the object

2020-03-31 Thread Guido van Rossum
Guido van Rossum added the comment: > >>> t = list[int] > > A few years ago, I tried to explain to you that it's much more intuitive > to use builtin types instead of their alter egos from typing (List etc.) > for [] operator, you said it's not important. It's funny that you've > implicitly

[issue40120] Undefined C behavior going beyond end of struct via a [1] arrays.

2020-03-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I concur with Sam that we should keep compatibility with C++ in header files. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: Fixed by https://github.com/python/cpython/commit/a9f9687a7ce25e7c0c89f88f52db323104668ae0 -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset a9f9687a7ce25e7c0c89f88f52db323104668ae0 by Victor Stinner in branch 'master': bpo-40094: Enhance threading tests (GH-19260) https://github.com/python/cpython/commit/a9f9687a7ce25e7c0c89f88f52db323104668ae0 --

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 27c6231f5827fe17c6cb6f097391931f30b511ec by Victor Stinner in branch 'master': bpo-40094: Enhance fork and wait tests (GH-19259) https://github.com/python/cpython/commit/27c6231f5827fe17c6cb6f097391931f30b511ec --

[issue40098] dir() does not return the list of valid attributes for the object

2020-03-31 Thread Vedran Čačić
Vedran Čačić added the comment: Guido wrote: >>> t = list[int] A few years ago, I tried to explain to you that it's much more intuitive to use builtin types instead of their alter egos from typing (List etc.) for [] operator, you said it's not important. It's funny that you've implicitly

[issue40120] Undefined C behavior going beyond end of struct via a [1] arrays.

2020-03-31 Thread Gregory P. Smith
Change by Gregory P. Smith : -- title: Undefined C behavior going beyond end of struct via a char[1]. -> Undefined C behavior going beyond end of struct via a [1] arrays. ___ Python tracker

[issue40120] Undefined C behavior going beyond end of struct via a [1] arrays.

2020-03-31 Thread Gregory P. Smith
Change by Gregory P. Smith : -- stage: patch review -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40120] Undefined C behavior going beyond end of struct via a char[1].

2020-03-31 Thread Gregory P. Smith
Gregory P. Smith added the comment: """ The [1] thing is used in more places: PyObject *f_localsplus[1]; in PyFrameObject PyObject *ob_item[1]; in PyTupleObject void *elements[1]; in asdl_seq and int elements[1];` in asdl_int_seq digit ob_digit[1]; in PyLongObject Py_ssize_t ob_array[1];

Re: dynamic import of dynamically created modules failes

2020-03-31 Thread Peter Otten
Dieter Maurer wrote: > Stephan Lukits wrote at 2020-3-31 17:44 +0300: >>background: >> >>- a daemon creates package p1 (e.g. directory with __init__.py-file) and >>in p1 a module m1 is created. >> >>- Then the daemon wants to import from m1, which functions (so far all >>the time). >> >>- Then a

[Solved] Re: dynamic import of dynamically created modules failes

2020-03-31 Thread Stephan Lukits
On 3/31/20 8:00 PM, Dieter Maurer wrote: Stephan Lukits wrote at 2020-3-31 17:44 +0300: background: - a daemon creates package p1 (e.g. directory with __init__.py-file) and in p1 a module m1 is created. - Then the daemon wants to import from m1, which functions (so far all the time). -

Re: dynamic import of dynamically created modules failes

2020-03-31 Thread Stephan Lukits
On 3/31/20 9:01 PM, Pieter van Oostrum wrote: "Dieter Maurer" writes: Stephan Lukits wrote at 2020-3-31 17:44 +0300: background: - a daemon creates package p1 (e.g. directory with __init__.py-file) and in p1 a module m1 is created. - Then the daemon wants to import from m1, which

Re: dynamic import of dynamically created modules failes

2020-03-31 Thread Pieter van Oostrum
Pieter van Oostrum writes: > > The first import creates a file __pycache__ in the directory p1. That should be 'a directory __pycache__' > To remove it use rmtree(path.join(P1,'__pycache__')) > Then the second import will succeed. > -- > Pieter van Oostrum > www: http://pieter.vanoostrum.org/ >

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18616 pull_request: https://github.com/python/cpython/pull/19260 ___ Python tracker ___

Re: how to specify trusted hosts in windows config file

2020-03-31 Thread Chris Angelico
On Wed, Apr 1, 2020 at 3:31 AM wrote: > > I don't have control over this, Chris. This is at my office. I'm not the > resource who manages network or other settings. And we have various > anti-spyware in place, that at leasts mitigates the risk. > Then talk to the person who does. Ask if

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18615 pull_request: https://github.com/python/cpython/pull/19259 ___ Python tracker ___

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 278c1e159c970da6cd6683d18c6211f5118674cc by Victor Stinner in branch 'master': bpo-40094: Add test.support.wait_process() (GH-19254) https://github.com/python/cpython/commit/278c1e159c970da6cd6683d18c6211f5118674cc --

Re: dynamic import of dynamically created modules failes

2020-03-31 Thread Pieter van Oostrum
"Dieter Maurer" writes: > Stephan Lukits wrote at 2020-3-31 17:44 +0300: >>background: >> >>- a daemon creates package p1 (e.g. directory with __init__.py-file) and >>in p1 a module m1 is created. >> >>- Then the daemon wants to import from m1, which functions (so far all >>the time). >> >>-

ANN: SfePy 2020.1

2020-03-31 Thread Robert Cimrman
I am pleased to announce release 2020.1 of SfePy. Description --- SfePy (simple finite elements in Python) is a software for solving systems of coupled partial differential equations by the finite element method or by the isogeometric analysis (limited support). It is distributed under

[issue40127] Documentation of SSL library

2020-03-31 Thread Christophe Nanteuil
Christophe Nanteuil added the comment: Thanks for clarifying the choice. I understand that we could state : " if cafile ... are None, the function falls back to user/system configuration (which is beyond this documentation)." -- ___ Python tracker

[issue40019] test_gdb should better detect when Python is optimized

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: Ok, test_gdb should now be more reliable with various compilers and compiler optimization levels. I chose to not skip a test if '' is found in the gdb output. If it becomes an issue, test_gdb can easily be modified to also be skipped in this case.

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: Eryk: > FWIW, I wouldn't recommend relying on os.waitpid to get the correct process > exit status in Windows. Status codes are 32 bits and generally all bits are > required. os.waitpid left shifts the exit status by 8 bits in a dubious > attempt to return a

[issue40019] test_gdb should better detect when Python is optimized

2020-03-31 Thread miss-islington
miss-islington added the comment: New changeset a764a1cc663708361300cdf88fcf697633142319 by Miss Islington (bot) in branch '3.7': bpo-40019: Skip test_gdb if Python was optimized (GH-19081) https://github.com/python/cpython/commit/a764a1cc663708361300cdf88fcf697633142319 --

[issue40019] test_gdb should better detect when Python is optimized

2020-03-31 Thread miss-islington
miss-islington added the comment: New changeset 4ced9a7611ddfd923bd8f72aa61121d0e5aeb8fc by Miss Islington (bot) in branch '3.8': bpo-40019: Skip test_gdb if Python was optimized (GH-19081) https://github.com/python/cpython/commit/4ced9a7611ddfd923bd8f72aa61121d0e5aeb8fc --

[issue40120] Undefined C behavior going beyond end of struct via a char[1].

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: > Currently, C++ code that includes `` is warning-free in GCC (g++) > even with `-Wpedantic`. That won't be true after this change, unless > Py_LIMITED_API is defined. By the way, the current trend is to make more and more structures opaque in the C API.

[issue40127] Documentation of SSL library

2020-03-31 Thread Christian Heimes
Christian Heimes added the comment: There are choices beyond our control. For example the operating system may not have a usable trust store. OpenSSL's builtin paths may not be correctly configured to locate the trust store. The user may have configured her/his environment to load other or

[issue40128] IDLE Show completions/ autocomplete pop-up not working

2020-03-31 Thread Arthur
New submission from Arthur : Hi, I am new to python, I am learning it now. In the course the guy is using autocomplete and when he writes "math." he gets an autocomplete menu. on my device for some reason it is not working. I also tried the key combination to force pop-up but nothing

[issue40019] test_gdb should better detect when Python is optimized

2020-03-31 Thread STINNER Victor
STINNER Victor added the comment: We have this issue in Fedora Rawhide. test_gdb of Python 3.8 fails on s390x and armv7hl architectures with GCC 10: https://bugzilla.redhat.com/show_bug.cgi?id=1818857 I tested manually that my change fix test_gdb: tests are skipped as expected:

[issue40019] test_gdb should better detect when Python is optimized

2020-03-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +18614 pull_request: https://github.com/python/cpython/pull/19256 ___ Python tracker ___

[issue40019] test_gdb should better detect when Python is optimized

2020-03-31 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +18613 pull_request: https://github.com/python/cpython/pull/19255 ___ Python tracker

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18612 pull_request: https://github.com/python/cpython/pull/19254 ___ Python tracker ___

Python interview summary

2020-03-31 Thread Dasy Dong
I am please to share you with a interview summary[Chinese Language] about python. Mainly covering backend architecture including python principle, design patterns , data structure, Git, Redis, MySql, Spider, ELK,Kafka, Istio, Kubernetes... I will keep updating contents future , If you love the

Fwd: about to resolve problem in installation

2020-03-31 Thread Kapuganti Rakesh
-- Forwarded message - From: Kapuganti Rakesh Date: Tue, 31 Mar 2020 at 19:02 Subject: Re: about to resolve problem in installation To: Calvin Spealman I have already search in my pc but it is showing nothing and later i searched python and started that app.After some it

Re: dynamic import of dynamically created modules failes

2020-03-31 Thread Dieter Maurer
Stephan Lukits wrote at 2020-3-31 17:44 +0300: >background: > >- a daemon creates package p1 (e.g. directory with __init__.py-file) and >in p1 a module m1 is created. > >- Then the daemon wants to import from m1, which functions (so far all >the time). > >- Then a module m2 is created in p1 and

Re: about to resolve problem in installation

2020-03-31 Thread Terry Reedy
On 3/31/2020 2:23 AM, Kapuganti Rakesh wrote: Respected sir, I have downloaded the latest version of python 3.8.2 in my windows 10. I have installed that.After completion of installation process it is displaying three options of modify,repair and uninstall. How to resolve

EuroPython 2020: Online conference from July 23-26

2020-03-31 Thread M.-A. Lemburg
In the last two weeks, we have discussed and investigated concepts around running this year’s EuroPython conference as an online conference. We have looked at conference tools, your feedback, drafted up ideas on what we can do to make the event interesting and what we can accomplish given our

[issue40127] Documentation of SSL library

2020-03-31 Thread Christophe Nanteuil
Change by Christophe Nanteuil : -- keywords: +patch pull_requests: +18611 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19253 ___ Python tracker

[issue40120] Undefined C behavior going beyond end of struct via a char[1].

2020-03-31 Thread Sam Gross
Sam Gross added the comment: It may be worth considering C-API extensions written in C++. Flexible array members are not part of the C++ standard, although GCC, Clang, and MSVC support them as an extension. GCC and Clang will issue warnings with `-Wpedantic` and MSVC will issue warnings

[issue40127] Documentation of SSL library

2020-03-31 Thread Christophe Nanteuil
Change by Christophe Nanteuil : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40127] Documentation of SSL library

2020-03-31 Thread Christophe Nanteuil
New submission from Christophe Nanteuil : For the ssl.create_default_context() function, it states that, "if cafile, capath and cadata are None, the function *can* choose to trust the system's default CA certificates instead". This statement is not clear as, if the values are None, there is

Re: how to specify trusted hosts in windows config file

2020-03-31 Thread dcwhatthe
I don't have control over this, Chris. This is at my office. I'm not the resource who manages network or other settings. And we have various anti-spyware in place, that at leasts mitigates the risk. What I'm doing isn't unprecedented. People get false positives all the time on the web, and

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-03-31 Thread hai shi
Change by hai shi : -- pull_requests: +18610 pull_request: https://github.com/python/cpython/pull/19252 ___ Python tracker ___

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-03-31 Thread miss-islington
miss-islington added the comment: New changeset fb6e04b5f10086194bcc77d571f77cb30873998b by Miss Islington (bot) in branch '3.8': closes bpo-40125: Update multissltests.py to use OpenSSL 1.1.1f. (GH-19248) https://github.com/python/cpython/commit/fb6e04b5f10086194bcc77d571f77cb30873998b

[issue40126] Incorrect error handling in unittest.mock

2020-03-31 Thread Barry McLarnon
New submission from Barry McLarnon : The error handling in mock.decorate_callable (3.5-3.7) and mock.decoration_helper (3.8-3.9) is incorrectly implemented. If the error handler is triggered in the loop, the `patching` variable is out of scope and raises an unhandled `UnboundLocalError`

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-03-31 Thread miss-islington
miss-islington added the comment: New changeset 9073f9272475be620c09b2852c094788b2b7096a by Miss Islington (bot) in branch '3.7': closes bpo-40125: Update multissltests.py to use OpenSSL 1.1.1f. (GH-19248) https://github.com/python/cpython/commit/9073f9272475be620c09b2852c094788b2b7096a

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-03-31 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +18609 pull_request: https://github.com/python/cpython/pull/19251 ___ Python tracker ___

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-03-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +18608 pull_request: https://github.com/python/cpython/pull/19250 ___ Python tracker ___

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-03-31 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +18607 pull_request: https://github.com/python/cpython/pull/19249 ___ Python tracker

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-03-31 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset cd16661f903153ecac55f190ed682e576c5deb24 by Benjamin Peterson in branch 'master': closes bpo-40125: Update multissltests.py to use OpenSSL 1.1.1f. (GH-19248) https://github.com/python/cpython/commit/cd16661f903153ecac55f190ed682e576c5deb24

[issue40094] Add os.waitstatus_to_exitcode() function

2020-03-31 Thread Eryk Sun
Eryk Sun added the comment: > On Windows, os.waitpid() status also requires an operation (shif > right by 8 bits) to get an exitcode from the waitpid status. FWIW, I wouldn't recommend relying on os.waitpid to get the correct process exit status in Windows. Status codes are 32 bits and

  1   2   >