[issue39928] Pysftp Issue File Upload is not working - put command

2020-03-10 Thread Steven D'Aprano
Change by Steven D'Aprano : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue22121] Start IDLE from icon in a better place.

2020-03-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: See also #38775 about a configuration option. The two proposals need to be coordinated. -- ___ Python tracker ___

[issue39107] Upgrade tcl/tk to 8.6.10 (Windows and maxOS)

2020-03-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://www.tcl.tk/man/tcl8.6/TkCmd/contents.htm now displays the 8.6.10 pages, so the tcl folk consider this to be the current stable release. Zach or Steve or whowever can handle this for Windows, please upgrade pcbuild and whatever else 'soon' (by next

[issue39926] unicodedata for Unicode 13.0.0

2020-03-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset c77aa2d60b420747886f4258cf159bdbb7354100 by Benjamin Peterson in branch 'master': bpo-39926: Update unicodedata checksum tests for Unicode 13.0 update. (GH-18913)

Re: Python question

2020-03-10 Thread Michael Torrie
On 3/10/20 6:49 PM, Souvik Dutta wrote: > What about moving on to a social media app completely made in pythoj for > python? No thanks. I don't want to be on yet another web forum. I don't need "social media" or a "social media app." Email works exceedingly well for this sort of thing, despite

[issue39926] unicodedata for Unicode 13.0.0

2020-03-10 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +18267 pull_request: https://github.com/python/cpython/pull/18913 ___ Python tracker ___

[issue39926] unicodedata for Unicode 13.0.0

2020-03-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 051b9d08d1e6a8b1022a2bd9166be51c0b152698 by Benjamin Peterson in branch 'master': closes bpo-39926: Update Unicode to 13.0.0. (GH-18910) https://github.com/python/cpython/commit/051b9d08d1e6a8b1022a2bd9166be51c0b152698 --

[issue36144] Dictionary union. (PEP 584)

2020-03-10 Thread Charles Burkland
Change by Charles Burkland : -- nosy: +chaburkland nosy_count: 12.0 -> 13.0 pull_requests: +18266 pull_request: https://github.com/python/cpython/pull/18911 ___ Python tracker

Re: Pysftp Issue File Upload is not working - put command

2020-03-10 Thread NAND KISHORE
> > > Hi >We have requirement where we need to get file from client path and then > upload the same to vendor directory path. I am not able to upload the file > to vendor directory path , however when I tried to use the WINSCP it worked > fine. So I thought of checking with Gurus what is wrong

Issue with PYSFTP - Working in WINSCP

2020-03-10 Thread NAND KISHORE
Hi We have requirement where we need to get file from client path and then upload the same to vendor directory path. I am not able to upload the file to vendor directory path , however when I tried to use the WINSCP it worked fine. So I thought of checking with Gurus what is wrong I am doing in

Re: [Python-ideas] Re: Magnitude and ProtoMagnitude ABCs — primarily for argument validation

2020-03-10 Thread Marco Sulla via Python-list
On Tue, 10 Mar 2020 at 13:41, Chris Angelico wrote: > It makes good sense for > division by 0 and division by 0.0 to both result in the same > exception. But Python 3 returns a float, for example, in division between integers. 4 / 2 == 2.0. So some_integer / +0 should return +Infinity. This is

Re: Installation of python

2020-03-10 Thread Marco Sulla via Python-list
*Ahem* I already posted the solution to your problem. I quote myself: I suppose you also downloaded the required sources from here: https://data.mendeley.com/datasets/s2x4d542dc/1 It seems the problem is that the above sources are generated by an old version of Cython:

[issue39922] Remove unused args in Python/compile.c

2020-03-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 76d5877b72cbe66eb3b6d8caa8d19f89a938ada2 by Andy Lester in branch 'master': closes bpo-39922: Remove unused args from four functions. (GH-18893) https://github.com/python/cpython/commit/76d5877b72cbe66eb3b6d8caa8d19f89a938ada2 --

[issue39926] unicodedata for Unicode 13.0.0

2020-03-10 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch nosy: +benjamin.peterson nosy_count: 1.0 -> 2.0 pull_requests: +18265 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18910 ___ Python tracker

[issue39321] AMD64 FreeBSD Non-Debug 3.x: main regrtest process killed by SIGKILL (Signal 9)

2020-03-10 Thread Kubilay Kocak
Kubilay Kocak added the comment: Investigating -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36184] test_gdb.test_threads() is specific to _POSIX_THREADS, fail on FreeBSD

2020-03-10 Thread Kubilay Kocak
Kubilay Kocak added the comment: For our future reference/selves, GDB (currently 9.1 w/ python bindings) is now installed on the two FreeBSD buildbot workers -- ___ Python tracker

[issue39928] Pysftp Issue File Upload is not working - put command

2020-03-10 Thread Eric V. Smith
Eric V. Smith added the comment: Hi, Sandeep. For information see https://mail.python.org/mailman/listinfo/python-list -- ___ Python tracker ___

[issue39928] Pysftp Issue File Upload is not working - put command

2020-03-10 Thread Sandeep
Sandeep added the comment: Eric how can I contact the python Mailing list -- status: pending -> open ___ Python tracker ___ ___

[issue39928] Pysftp Issue File Upload is not working - put command

2020-03-10 Thread Eric V. Smith
Eric V. Smith added the comment: This is the python bug tracker. What you are reporting is almost certainly not a bug in python. If you think it is a bug in python, please reproduce it in the smallest possible code fragment, and with no third party libraries installed. If you're seeking

Re: Python question

2020-03-10 Thread Souvik Dutta
What about moving on to a social media app completely made in pythoj for python? On Wed, 11 Mar, 2020, 12:36 am DL Neil via Python-list, < python-list@python.org> wrote: > On 11/03/20 7:34 AM, Michael Torrie wrote: > > On 3/10/20 6:40 AM, Chris Angelico wrote: > >> On Tue, Mar 10, 2020 at 11:22

[issue39927] IDLE.app fails to launch on macOS 10.15 if denied access to user's Document Folder

2020-03-10 Thread Ned Deily
Ned Deily added the comment: Thanks for bringing it up! That was a new failure mode we haven't seen before. I was going to close this issue but then it struck me that we might be able to handle this situation a bit better; we should be able to catch an exception when IDLE tries to set the

[issue39927] IDLE 3.8.2 doesn't launch on Catalina 10.15.3- HELP Service exited with abnormal code: 1

2020-03-10 Thread dd
dd added the comment: Thank you so much Ned Deily, that was it! FIXED IT! You're awesome!!! -- ___ Python tracker ___ ___

[issue39928] Pysftp Issue File Upload is not working - put command

2020-03-10 Thread Sandeep
New submission from Sandeep : Hi We have requirement where we need to get file from client path and then upload the same to vendor directory path. I am not able to upload the file to vendor directory path , however when I tried to use the WINSCP it worked fine. So I thought of checking

[issue39927] IDLE 3.8.2 doesn't launch on Catalina 10.15.3- HELP Service exited with abnormal code: 1

2020-03-10 Thread Ned Deily
Ned Deily added the comment: That message just means that Python terminated with an error; the specific traceback is lost. But I just noticed one possible explanation. It appears that if the Files & Folder security setting is set to disallow access to your Documents Folder, IDLE.app will

[issue39925] `pathlib.Path.link_to()` has the wrong argument order

2020-03-10 Thread Barney Gale
Change by Barney Gale : -- keywords: +patch pull_requests: +18264 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18909 ___ Python tracker ___

[issue39927] IDLE 3.8.2 doesn't launch on Catalina 10.15.3- HELP Service exited with abnormal code: 1

2020-03-10 Thread dd
Change by dd : -- title: IDLE 3.8.2 doesn't launch on Catalina 10.15.3- HELP -> IDLE 3.8.2 doesn't launch on Catalina 10.15.3- HELP Service exited with abnormal code: 1 ___ Python tracker

[issue39927] IDLE 3.8.2 doesn't launch on Catalina 10.15.3- HELP

2020-03-10 Thread dd
dd added the comment: Yes, installed Python from the mac installer on this page. I have done it multiple times already without any success. This is the error I keep seeing Mar 10 17:39:23 DDs-MacBook-Pro com.apple.xpc.launchd[1] (org.python.IDLE.4188[1615]): Service exited with abnormal

[issue39927] IDLE 3.8.2 doesn't launch on Catalina 10.15.3- HELP

2020-03-10 Thread Ned Deily
Ned Deily added the comment: No, clicking on the app *should* work. I'm assuming you installed Python 3.8.2 from the python.org macOS installer? If so, you *could* try reinstalling it again. For what it's worth, I am not aware of any current problems with launching the app on 10.15.x; it

[issue39927] IDLE 3.8.2 doesn't launch on Catalina 10.15.3- HELP

2020-03-10 Thread dd
dd added the comment: Is the Unix shell the only way to open IDLE from now on? Seems like I can get it to open that way, but clicking on the app like I used to no longer works. Thank you so much! -- ___ Python tracker

[issue39927] IDLE 3.8.2 doesn't launch on Catalina 10.15.3- HELP

2020-03-10 Thread dd
dd added the comment: Thanks! That way IDLE does open. See this in the System log Mar 10 17:26:24 DDs-MacBook-Pro diagnosticd[1289]: Posting stream filter: "{ global = 47245099008; }" Mar 10 17:26:24 DDs-MacBook-Pro diagnosticd[1289]: System mode client started - Console

[issue39927] IDLE 3.8.2 doesn't launch on Catalina 10.15.3- HELP

2020-03-10 Thread dd
dd added the comment: I see this error in the system.log Mar 10 17:18:25 DDs-MacBook-Pro com.apple.xpc.launchd[1] (org.python.IDLE.4188[1295]): Service exited with abnormal code: 1 -- ___ Python tracker

[issue39927] IDLE 3.8.2 doesn't launch on Catalina 10.15.3- HELP

2020-03-10 Thread Ned Deily
Ned Deily added the comment: You need to first exit out of the Python interpreter back to the Unix shell. Type: quit() Then try: python3.8 -m idlelib -- ___ Python tracker

[issue39927] IDLE 3.8.2 doesn't launch on Catalina 10.15.3- HELP

2020-03-10 Thread dd
dd added the comment: Thanks @ned.deily That did not work. >>> python3.8 -m idlelib File "", line 1 python3.8 -m idlelib ^ SyntaxError: invalid syntax Also see this error on the system log >>> python3.8 -m idlelib File "", line 1 python3.8 -m idlelib ^

[issue39927] IDLE 3.8.2 doesn't launch on Catalina 10.15.3- HELP

2020-03-10 Thread Ned Deily
Ned Deily added the comment: Try running IDLE from the command line: python3.8 -m idlelib If that works, then open the Console.app, select the system log, and then try double-clicking the IDLE.app icon again and see if any messages appear there. -- nosy: +ned.deily

[issue39927] IDLE 3.8.2 doesn't launch on Catalina 10.15.3- HELP

2020-03-10 Thread dd
New submission from dd : I just upgraded my Mac OS to 10.15.3 and Python 3.8.2 install went fine. But IDLE doesn't launch at all. I have already gone to System Preferences and allowed it to allow apps from anywhere. When I go to the command line and do Python 3 I see the correct version.

[issue39926] unicodedata for Unicode 13.0.0

2020-03-10 Thread Zufu Liu
New submission from Zufu Liu : Unicode 13.0.0 was released on March 10. https://www.unicode.org/versions/latest/ http://www.unicode.org/versions/Unicode13.0.0/ -- messages: 363859 nosy: zufuliu priority: normal severity: normal status: open title: unicodedata for Unicode 13.0.0 type:

[issue38631] Replace Py_FatalError() with regular Python exceptions

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4e53abb0f4773e1cce68a4f41ddbb43e74364c5f by Victor Stinner in branch 'master': bpo-38631: _PyGILState_Init() returns PyStatus (GH-18908) https://github.com/python/cpython/commit/4e53abb0f4773e1cce68a4f41ddbb43e74364c5f --

[issue38631] Replace Py_FatalError() with regular Python exceptions

2020-03-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18263 pull_request: https://github.com/python/cpython/pull/18908 ___ Python tracker ___

[issue39763] distutils.spawn should use subprocess (hang in parallel builds on QNX)

2020-03-10 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39925] `pathlib.Path.link_to()` has the wrong argument order

2020-03-10 Thread Barney Gale
Barney Gale added the comment: I'm not sure how it can be fixed on the documentation side - it's difficult to explain that `a.link_to(b)` creates a link from B to A, and not vice-versa. We could introduce a new method that does the right thing? `Path.hardlink_to()`? --

[issue39925] `pathlib.Path.link_to()` has the wrong argument order

2020-03-10 Thread Eric V. Smith
Eric V. Smith added the comment: I think it's too late to change this. Is this a documentation issue? -- nosy: +eric.smith ___ Python tracker ___

[issue39763] distutils.spawn should use subprocess (hang in parallel builds on QNX)

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: > OK. BEFORE I open a new issue, I am going to guess that something is wrong > with finding _socket.so - because it exists, but "something" is not finding > it. Did the build worked on AIX before the commit 1ec63b62035e73111e204a0e03b83503e1c58f2e which

[issue38662] Decouple ensurepip from pip's internals using runpy

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: Thanks Pradyun Gedam and Miro Hrončok for the fix. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue39763] distutils.spawn should use subprocess (hang in parallel builds on QNX)

2020-03-10 Thread Michael Felt
Michael Felt added the comment: I am confused. The bot complains nearly immediately about missing _socket Following modules built successfully but were removed because they could not be imported: _asyncio running build_scripts copying

[issue38662] Decouple ensurepip from pip's internals using runpy

2020-03-10 Thread miss-islington
miss-islington added the comment: New changeset 212acf544a41a983aea7166d43d8dfe9a8296655 by Miss Islington (bot) in branch '3.8': bpo-38662: ensurepip invokes pip via runpy (GH-18901) https://github.com/python/cpython/commit/212acf544a41a983aea7166d43d8dfe9a8296655 --

[issue38662] Decouple ensurepip from pip's internals using runpy

2020-03-10 Thread miss-islington
miss-islington added the comment: New changeset 8d5c958ddebbb96c2de5d58da4c7aa1790629cf9 by Miss Islington (bot) in branch '3.7': bpo-38662: ensurepip invokes pip via runpy (GH-18901) https://github.com/python/cpython/commit/8d5c958ddebbb96c2de5d58da4c7aa1790629cf9 --

[issue39925] `pathlib.Path.link_to()` has the wrong argument order

2020-03-10 Thread Barney Gale
New submission from Barney Gale : `mylink.symlink_to(target)` and `mylink.link_to(target)` should both create a link (soft or hard) at *mylink* that points to *target*. But `link_to()` does the opposite - it creates *target* and points it towards *mylink*. Correct behaviour from

[issue38662] Decouple ensurepip from pip's internals using runpy

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: > Yes, pip will support 2.7 at least until CPython does (and likely longer). 2.7 is no longer supported in CPython. So I will not backport the fix to 2.7. And I removed the 2.7 from versions of this issue. -- ___

[issue38662] Decouple ensurepip from pip's internals using runpy

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: Miro Hrončok: "I wasn't even hoping for a backport. Thanks!" ( https://github.com/python/cpython/pull/18901#issuecomment-597324810 ) pip wheel files are still updated in stable 3.7 and 3.8 branches. Example in August 2018 in 3.7: * commit

[issue38662] Decouple ensurepip from pip's internals using runpy

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: While it's not a major issue in CPython, I can say that being tightly coupled to pip internals is a major in Fedora which updates pip frequently and tries to support multiple pip versions. -- ___ Python tracker

[issue38662] Decouple ensurepip from pip's internals using runpy

2020-03-10 Thread STINNER Victor
Change by STINNER Victor : -- components: +Library (Lib) versions: -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue38662] Decouple ensurepip from pip's internals using runpy

2020-03-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +18262 pull_request: https://github.com/python/cpython/pull/18907 ___ Python tracker ___

[issue38662] Decouple ensurepip from pip's internals using runpy

2020-03-10 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 9.0 -> 10.0 pull_requests: +18261 pull_request: https://github.com/python/cpython/pull/18906 ___ Python tracker

[issue38662] Decouple ensurepip from pip's internals using runpy

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 88f82b2b9ea3514359cb6e3218121f75334063ac by Miro Hrončok in branch 'master': bpo-38662: ensurepip invokes pip via runpy (GH-18901) https://github.com/python/cpython/commit/88f82b2b9ea3514359cb6e3218121f75334063ac -- nosy: +vstinner

[issue39924] pathlib handles missing `os.link`, `os.symlink` and `os.readlink` inconsistently

2020-03-10 Thread Barney Gale
New submission from Barney Gale : Small bug report encompassing some related issues in `pathlib._NormalAccessor`: - `link_to()` should be named `link()` for consistency with other methods - `symlink()` doesn't need to guard against `os.symlink()` not accepting `target_is_directory` on

[issue39900] `pathlib.Path.__bytes__()` calls `os.fsencode()` without using accessor

2020-03-10 Thread Barney Gale
Barney Gale added the comment: Closing after @pitrou clarified the meaning of __fspath__() here: https://discuss.python.org/t/make-pathlib-extensible/3428/12?u=barneygale -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed

[issue39857] subprocess.run: add an extra_env kwarg to complement existing env kwarg

2020-03-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: I think those dict unpacking and merging options are sufficient that adding an extra_env= parameter would merely complicate the already over complex API. Thanks for the suggestions folks! -- resolution: -> rejected stage: -> resolved status:

[issue37588] Py_DEPRECATED and unavoidable warnings

2020-03-10 Thread Ben Boeckel
Ben Boeckel added the comment: I believe this to be a clang bug. I've filed an issue with upstream here: https://bugs.llvm.org/show_bug.cgi?id=45170 -- nosy: +mathstuf ___ Python tracker

[issue39763] distutils.spawn should use subprocess (hang in parallel builds on QNX)

2020-03-10 Thread Michael Felt
Michael Felt added the comment: OK. BEFORE I open a new issue, I am going to guess that something is wrong with finding _socket.so - because it exists, but "something" is not finding it. Following modules built successfully but were removed because they could not be imported:^M _asyncio

Re: Python question

2020-03-10 Thread DL Neil via Python-list
On 11/03/20 7:34 AM, Michael Torrie wrote: On 3/10/20 6:40 AM, Chris Angelico wrote: On Tue, Mar 10, 2020 at 11:22 PM Marco Sulla via Python-list ... I'm also reading this in Gmail, and I didn't get any such warning. I'm going to call that a spurious warning, a false positive. Gmail often

[issue39763] distutils.spawn should use subprocess (hang in parallel builds on QNX)

2020-03-10 Thread Michael Felt
Michael Felt added the comment: re: _socket - I'll start researching now, but it may still be related to this. a) if it looks like related to this issue I'll add a some report here b) in any case, as requested, I'll start a new issue - and leave it to you to decide to close that and continue

[issue20039] Missing documentation for argparse.ArgumentTypeError

2020-03-10 Thread Nicholas Chammas
Nicholas Chammas added the comment: Just a note that I also went looking for the docs for argparse.ArgumentTypeError after coming across it in this (highly viewed) post: https://stackoverflow.com/a/14117511/877069 -- nosy: +nchammas ___ Python

Re: Python question

2020-03-10 Thread Michael Torrie
On 3/10/20 6:40 AM, Chris Angelico wrote: > On Tue, Mar 10, 2020 at 11:22 PM Marco Sulla via Python-list >> I would reply, but I was already too much off topic. I want only to >> write what Gmail reports to me about the last message of the person >> that started this discussion: >> >>> This

[issue38500] PEP 523: Add PyInterpreterState_SetEvalFrameFunc() to the public C API (Python 3.8 regression)

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: > I think you mean PEP 352? And a more formal proposal to withdraw would need > to be made and that has not happened, so assume the PEP is still accepted and > final. I mean PEP 523 "Adding a frame evaluation API to CPython" as I wrote in the title, sorry

[issue38500] PEP 523: Add PyInterpreterState_SetEvalFrameFunc() to the public C API (Python 3.8 regression)

2020-03-10 Thread Brett Cannon
Brett Cannon added the comment: > Mark Shannon listed flaws in the PEP 532 and suggest to withdraw this PEP. I think you mean PEP 352? And a more formal proposal to withdraw would need to be made and that has not happened, so assume the PEP is still accepted and final. --

[issue39832] Modules with decomposable characters in module name not found on macOS

2020-03-10 Thread Brett Cannon
Brett Cannon added the comment: Regardless of which module is proposed to solve this, there is still a bootstrapping issue to consider. -- ___ Python tracker ___

[issue38500] Provide a way to get/set PyInterpreterState.frame_eval without needing to access interpreter internals

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: > Posted > https://mail.python.org/archives/list/python-...@python.org/thread/4UZJYAZL3NHRAGN5WAMJC4IHAHEXF3QF/ > to see if anyone else wants to weigh in. Mark Shannon listed flaws in the PEP 532 and suggest to withdraw this PEP. Honestly, I'm open to any

[issue38500] PEP 523: Add PyInterpreterState_SetEvalFrameFunc() to the public C API (Python 3.8 regression)

2020-03-10 Thread STINNER Victor
Change by STINNER Victor : -- title: Provide a way to get/set PyInterpreterState.frame_eval without needing to access interpreter internals -> PEP 523: Add PyInterpreterState_SetEvalFrameFunc() to the public C API (Python 3.8 regression) versions: -Python 3.8

Re: How does the super type present itself and do lookups?

2020-03-10 Thread Adam Preble
On Tuesday, March 10, 2020 at 9:28:11 AM UTC-5, Peter Otten wrote: > self.foo looks up the attribute in the instance, falls back to the class and > then works its way up to the parent class, whereas > > super().foo bypasses both instance and class, and starts its lookup in the > parent class.

[issue38500] Provide a way to get/set PyInterpreterState.frame_eval without needing to access interpreter internals

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: I plan to merge my PR 17340 at the end of week to not miss Python 3.9 feature freeze deadline, unless someone speaks up and find a good reason to not merge this PR. The PR adds a public C API PyInterpreterState_SetEvalFrameFunc() and now pass tstate to the

[issue38818] Modify PyInterpreterState.eval_frame to pass tstate (PyThreadState)

2020-03-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18260 pull_request: https://github.com/python/cpython/pull/17340 ___ Python tracker ___

[issue38500] Provide a way to get/set PyInterpreterState.frame_eval without needing to access interpreter internals

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-38818 "Modify PyInterpreterState.eval_frame to pass tstate (PyThreadState)" as a duplicate of this issue. It has been said earlier that if we choose to add a public C API to set the frame evaluation function, it's better to design it properly

[issue38818] Modify PyInterpreterState.eval_frame to pass tstate (PyThreadState)

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-38500. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Provide a way to get/set PyInterpreterState.frame_eval without needing to access interpreter internals

[issue35569] OSX: Enable IPV6_RECVPKTINFO

2020-03-10 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Thanks for testing @chrysn. I guess I should add unit tests if this is to be applied to master. -- ___ Python tracker ___

[issue35569] OSX: Enable IPV6_RECVPKTINFO

2020-03-10 Thread chrysn
chrysn added the comment: Testing the application to current git master (on a borrowed machine with Darwin Kernel Version 18.5.0), the provided patch does enable the desired IPV6_RECVPKTINFO flag, and the received pktinfo struct complies to the spec. --

[issue34822] Simplify AST for slices

2020-03-10 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34822] Simplify AST for slices

2020-03-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 13d52c268699f199a8e917a0f1dc4c51e5346c42 by Serhiy Storchaka in branch 'master': bpo-34822: Simplify AST for subscription. (GH-9605) https://github.com/python/cpython/commit/13d52c268699f199a8e917a0f1dc4c51e5346c42 --

Re: Python question

2020-03-10 Thread Chris Angelico
On Tue, Mar 10, 2020 at 11:22 PM Marco Sulla via Python-list wrote: > > On Fri, 6 Mar 2020 at 17:30, Souvik Dutta wrote: > > And you cannot form opinions for > > other people's by saying them not to support a person. That is injustice > > and rude. > > I would reply, but I was already too much

[issue39922] Remove unused args in Python/compile.c

2020-03-10 Thread Andy Lester
Andy Lester added the comment: Sorry about the noise. I will do that. Yes, I have a bunch more to submit. -- ___ Python tracker ___

Re: How does the super type present itself and do lookups?

2020-03-10 Thread Barry Scott
> On 4 Mar 2020, at 17:12, Adam Preble wrote: > > Months ago, I asked a bunch of stuff about super() and managed to fake it > well enough to move on to other things for awhile. The day of reckoning came > this week and I was forced to implement it better for my personal Python > project. I

[issue39922] Remove unused args in Python/compile.c

2020-03-10 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: IMHO if you are going to proceed with this kind of issues, it would be cool to create a meta issue and post updates/link PRs to it. You are creating an extra (and unnecessary) traffic in the "new bugs announce" list. -- nosy: +Batuhan Taskaya

Re: Lock acquisition by the same thread - deadlock protection

2020-03-10 Thread Barry Scott
> On 9 Mar 2020, at 22:53, Yonatan Goldschmidt > wrote: > > I recently debugged a program hang, eventually finding out it's a deadlock of > a single thread, > resulting from my usage of 2 libraries. One of them - call it library A - is > reentrant & runs code in > GC finalizers, while the

Re: Installation of python

2020-03-10 Thread Dan Stromberg
On Mon, Mar 9, 2020 at 7:20 AM Tim Ko wrote: > Hello, > > I am trying to install a custom Python package but ran into an error. The > error presumably associated with cython. I tried a different compiler since > Intel compiler often crashes when using cython, but couldn't get it > working. >

Re: [Python-ideas] Re: Magnitude and ProtoMagnitude ABCs — primarily for argument validation

2020-03-10 Thread Alan Bawden
Chris Angelico writes: > People keep saying this - that nan exists to avoid exceptions - but > that doesn't take signalling nans into account. Even in C, they are > expected to raise an exception or equivalent. Actually, its not that far from the truth to say that NaNs "exist to avoid

[RELEASE] Python 3.7.7 is now available

2020-03-10 Thread Ned Deily
https://discuss.python.org/t/python-3-7-7-is-now-available/3682 https://www.python.org/downloads/release/python-377/ -- Ned Deily n...@python.org -- [] -- Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to

[RELEASE] Python 3.7.7 is now available

2020-03-10 Thread Ned Deily
https://discuss.python.org/t/python-3-7-7-is-now-available/3682 https://www.python.org/downloads/release/python-377/ -- Ned Deily n...@python.org -- [] -- https://mail.python.org/mailman/listinfo/python-list

[issue38662] Decouple ensurepip from pip's internals using runpy

2020-03-10 Thread Miro Hrončok
Change by Miro Hrončok : -- nosy: +hroncok nosy_count: 7.0 -> 8.0 pull_requests: +18259 pull_request: https://github.com/python/cpython/pull/18901 ___ Python tracker ___

Re: How does the super type present itself and do lookups?

2020-03-10 Thread Peter Otten
Adam Preble wrote: > If you don't know, you can trap what super() returns some time and poke it > with a stick. If you print it you'll be able to tell it's definitely > unique: , > > > If you try to invoke methods on it, it'll invoke the superclass' methods. > That's what is supposed to happen

[issue39869] Improve Instance Objects tutorial documentation

2020-03-10 Thread miss-islington
miss-islington added the comment: New changeset 5b29a82b13b65ca785bf296c91f253f3b5d6d694 by Miss Islington (bot) in branch '3.7': bpo-39869: Fix typo in 'Instance objects' section. (GH-18889) https://github.com/python/cpython/commit/5b29a82b13b65ca785bf296c91f253f3b5d6d694 --

[issue39869] Improve Instance Objects tutorial documentation

2020-03-10 Thread Mariatta
Change by Mariatta : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39869] Improve Instance Objects tutorial documentation

2020-03-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +18258 pull_request: https://github.com/python/cpython/pull/18900 ___ Python tracker ___

[issue39869] Improve Instance Objects tutorial documentation

2020-03-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +18257 pull_request: https://github.com/python/cpython/pull/18899 ___ Python tracker ___

[issue39869] Improve Instance Objects tutorial documentation

2020-03-10 Thread miss-islington
miss-islington added the comment: New changeset e5e56328afac50aad6d8893185d8e7ba8928afe2 by Antoine in branch 'master': bpo-39869: Fix typo in 'Instance objects' section. (GH-18889) https://github.com/python/cpython/commit/e5e56328afac50aad6d8893185d8e7ba8928afe2 -- nosy:

[issue39918] random.Random(False) weird error

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: Fixed by: New changeset 00d7cd8ab8db2c1e1f591ade828f88a1a973d70f by Victor Stinner in branch 'master': bpo-38075: Fix random_seed(): use PyObject_CallOneArg() (GH-18897) https://github.com/python/cpython/commit/00d7cd8ab8db2c1e1f591ade828f88a1a973d70f

[issue39869] Improve Instance Objects tutorial documentation

2020-03-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +18256 pull_request: https://github.com/python/cpython/pull/18898 ___ Python tracker ___

Re: Is there something similar to guidechimp in python?

2020-03-10 Thread labs64dummystudent
суббота, 7 марта 2020 г., 4:11:53 UTC+1 пользователь Souvik Dutta написал: > This is guidechimp -https://github.com/Labs64/GuideChimp > Is there anything similar to this in python? GuideChimp is a JavaScript library which can be integrated by adding js/css ressources to any web application.

[issue38075] Make random module PEP-384 compatible

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 00d7cd8ab8db2c1e1f591ade828f88a1a973d70f by Victor Stinner in branch 'master': bpo-38075: Fix random_seed(): use PyObject_CallOneArg() (GH-18897) https://github.com/python/cpython/commit/00d7cd8ab8db2c1e1f591ade828f88a1a973d70f --

[issue39920] os.lstat() does not work with Window Dos devices

2020-03-10 Thread Steve Dower
Change by Steve Dower : -- versions: +Python 3.7, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39920] os.lstat() does not work with Window Dos devices

2020-03-10 Thread Steve Dower
Steve Dower added the comment: This is an os.lstat() limitation, nothing to do with pathlib. I'll defer to Eryk for suggestions here, since he probably knows the right answer already :) (if not, I'll go do the research to figure out what we're currently missing). -- title: Pathlib

[issue39857] subprocess.run: add an extra_env kwarg to complement existing env kwarg

2020-03-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list

  1   2   >