[issue40639] Strange behavior in changing nested dictionaries

2020-05-15 Thread Steven D'Aprano
Steven D'Aprano added the comment: Hi Jacob, and welcome. You said: "I was experimenting with nested dictionaries when I came across strange behavior that I can not figure out at all." This is a bug tracker, for reporting bugs, not a help desk for asking how to figure out Python's

[issue38938] Possible performance improvement for heaqq.merge()

2020-05-15 Thread Dennis Sweeney
Dennis Sweeney added the comment: The attached recursive_merge.py should be much less ugly and still somewhat performant. It should be the same algorithm as that PR, just written recursively rather than iteratively. I got some text files from http://www.gwicks.net/dictionaries.htm and

[issue40622] Tests fail with python3.6 built with VS2019

2020-05-15 Thread Ned Deily
Ned Deily added the comment: P.S. If you *do* want to build the current HEAD of the 3.6 branch including as yet unreleased fixes: git checkout 3.6 If you want to build a specific release, use the v^ tags provided for each release: git checkout v3.6.8 --

[issue40622] Tests fail with python3.6 built with VS2019

2020-05-15 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. Unfortunately, you are not actually building Python 3.6 here. Revision f3a5b7a is on the master branch, not 3.6. The fact that you are seeing a failure of test_peg_generator confirms that you are building from master (i.e. a pre-release

[issue40477] Python Launcher app on macOS 10.15 Catalina fails to run scripts

2020-05-15 Thread Werner
Werner added the comment: I believe, I found a simple way to get what you are looking for: Open Automator and create an app. Select »execute Shell script« put in the editor: python3 $1 Save this as MyPythonLauncher or what you want. Test it: Drop a Python script on the app. It should execute

[issue40639] Strange behavior in changing nested dictionaries

2020-05-15 Thread Jacob Underwood
New submission from Jacob Underwood : I was experimenting with nested dictionaries when I came across strange behavior that I can not figure out at all. The following function, at least for me, has some weird behavior. Originally, it was a bit longer, but somehow it achieved its intended

[issue40477] Python Launcher app on macOS 10.15 Catalina fails to run scripts

2020-05-15 Thread Ned Deily
Ned Deily added the comment: > After your final fix, if I understood you correctly, we will no longer have > to open Terminal? That's correct. That's the way the Launcher works on previous version on macOS. > will it ever be possible to not have the terminal run in the future? That's the

Re: Help with installation please

2020-05-15 Thread DL Neil via Python-list
On 15/05/20 4:18 PM, Jhoana Kacheva Melissa Joseph wrote: Hello, I downloaded python 3.8 in my windows, I selected the box for the path but when I try to run it in powershell it brought me to app store to get it again. Please advise if the following reference is accurate, and works for you:

Re: Help with installation please

2020-05-15 Thread Jhoana Kacheva Melissa Joseph
Ok, thanks Souvik. Appreciate your help. On Fri, May 15, 2020, 11:47 PM Souvik Dutta wrote: > I dont know if you should shift from powershell to cmd. Python kinda does > not work in powershell. > > Souvik flutter dev > > On Sat, May 16, 2020, 8:54 AM Jhoana Kacheva Melissa Joseph < >

Re: Help with installation please

2020-05-15 Thread Souvik Dutta
I dont know if you should shift from powershell to cmd. Python kinda does not work in powershell. Souvik flutter dev On Sat, May 16, 2020, 8:54 AM Jhoana Kacheva Melissa Joseph < kachev...@gmail.com> wrote: > 藍藍 but I still get the error in powershell. What should I do Souvik? > > On Fri, May

[issue40633] json.dumps() should encode float number NaN to null

2020-05-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: One other issue just came to mind. While we could convert NaN to null during encoding, there isn't a reasonable way to reverse the process (a null could either be a NaN or a legitimate None). That would limit the utility of a new optional conversion.

[issue40633] json.dumps() should encode float number NaN to null

2020-05-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: [Eric] > this is documented behavior [Mark] > I definitely wouldn't want to see nans translated to > "null" by default. I concur with both of these statements. I would support adding an option (off by default) to convert NaNs to None. While NaNs were

Re: Help with installation please

2020-05-15 Thread Jhoana Kacheva Melissa Joseph
藍藍 but I still get the error in powershell. What should I do Souvik? On Fri, May 15, 2020, 11:20 PM Souvik Dutta wrote: > Then you will have to use python3 forever in your life (atleast as long as > you don't change your os... 藍藍). > > On Sat, 16 May, 2020, 8:42 am Jhoana Kacheva Melissa

Re: Help with installation please

2020-05-15 Thread Souvik Dutta
Then you will have to use python3 forever in your life (atleast as long as you don't change your os... 藍藍). On Sat, 16 May, 2020, 8:42 am Jhoana Kacheva Melissa Joseph, < kachev...@gmail.com> wrote: > When I turn off the other one, it brought me to the store. > > Yes, I did the path > > On Fri,

Re: Help with installation please

2020-05-15 Thread Jhoana Kacheva Melissa Joseph
When I turn off the other one, it brought me to the store. Yes, I did the path On Fri, May 15, 2020, 11:01 PM Souvik Dutta wrote: > Have you switched off both the pythons? If so then switch on one off them > and try. If it still doesn't work then switch on the previous one and off > the other

[issue13601] sys.stderr should be line-buffered when stderr is not a TTY

2020-05-15 Thread Shantanu
Shantanu added the comment: I'm wondering if this should be mentioned in Python 3.9's What's New, potentially at https://docs.python.org/3.9/whatsnew/3.9.html#sys ? This change broke one of mypy's tests on 3.9 and it was a little tricky to find what had changed. -- nosy:

Fwd: Uninstall was succesful - but actually nothing happened

2020-05-15 Thread Henrik Milan
Hey, I noticed that the uninstaller says that the installation completed, but actually nothing really happened and all of my Python 3.6.8 installation was still completely installed on my machine and all files were located inside Python/Python36 folder still. See the picture attached. My computer

Re: Help with installation please

2020-05-15 Thread Souvik Dutta
Have you switched off both the pythons? If so then switch on one off them and try. If it still doesn't work then switch on the previous one and off the other and try again. On Sat, 16 May, 2020, 8:29 am Souvik Dutta, wrote: > Have you added python into path? > > On Sat, 16 May, 2020, 8:15 am

Re: Help with installation please

2020-05-15 Thread Souvik Dutta
Have you added python into path? On Sat, 16 May, 2020, 8:15 am Jhoana Kacheva Melissa Joseph, < kachev...@gmail.com> wrote: > Thanks for the tip! Now that I turned it off. This is what it says. > > Please see attached > > > > On Fri, May 15, 2020, 9:10 PM Souvik Dutta > wrote: > >> App

[issue40060] socket.TCP_NOTSENT_LOWAT is missing in official macOS builds

2020-05-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +macOS ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40590] test_subprocess stuck on Windows, x64

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: CI now passes. -- resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue40452] IDLE: preserve clipboard on closure on Windows

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please write out a manual test example (steps 1, 2, ..., N) that fails now and passes with the patch. -- title: IDLE preserve clipboard on closure (Windows) -> IDLE: preserve clipboard on closure on Windows versions: +Python 3.7, Python 3.8

[issue40590] test_subprocess stuck on Windows, x64

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: python -m test.testsubprocessing on my Win 10-64 with repository 3.9.0a6+, without your patch, produces minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN) minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) :

[issue40586] Pydoc should support https for hyperlinks.

2020-05-15 Thread Shantanu
Shantanu added the comment: This looks like a duplicate of https://bugs.python.org/issue38786, which was fixed in https://github.com/python/cpython/pull/17143 That PR wasn't backported, but maybe it should be. -- nosy: +hauntsaninja ___ Python

[issue40622] Tests fail with python3.6 built with VS2019

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Runtest itself ran to completion but the 4 tests listed failed. I suspect that this should be closed as "won't fix" because A. 3.6 only gets security fixes since Dec 2018. B. Locally built Windows binaries often fail a few tests, either occasionally or

[issue40583] Runtime type annotation mutation leads to inconsistent behavior

2020-05-15 Thread Saumitro Dasgupta
Change by Saumitro Dasgupta : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40620] Range tutorial shorthand could be made clearer

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: This block is the same in 3.9 and 3.8. My first though is this block is a holdover from 2.7, where range returned list. But looking at what is written previously, I think your interpretation is correct -- and agree that something other that code and

[issue40457] Python fails to compile/load _ssl module if OpenSSL is compiled with no-tls1-method

2020-05-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +19431 pull_request: https://github.com/python/cpython/pull/20126 ___ Python tracker ___

[issue40457] Python fails to compile/load _ssl module if OpenSSL is compiled with no-tls1-method

2020-05-15 Thread miss-islington
miss-islington added the comment: New changeset 6e8cda91d92da72800d891b2fc2073ecbc134d98 by Christian Heimes in branch 'master': bpo-40457: Support OpenSSL without TLS 1.0/1.1 (GH-19862) https://github.com/python/cpython/commit/6e8cda91d92da72800d891b2fc2073ecbc134d98 -- nosy:

[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39075] types.SimpleNamespace should preserve attribute ordering (?)

2020-05-15 Thread Eric Snow
Change by Eric Snow : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Titles should be in English (translated if quoting output). I am closing because there is no indication that there is a bug in Python, as opposed to a misunderstanding of how to use it. Extended help discussion is better conducted on python-list. For one

[issue39075] types.SimpleNamespace should preserve attribute ordering (?)

2020-05-15 Thread miss-islington
miss-islington added the comment: New changeset 6b6092f533f0e4787b8564c4fad6ec6d1018af0d by Zackery Spytz in branch 'master': bpo-39075: types.SimpleNamespace no longer sorts attributes in its repr (GH-19430) https://github.com/python/cpython/commit/6b6092f533f0e4787b8564c4fad6ec6d1018af0d

Re: Help with installation please

2020-05-15 Thread Souvik Dutta
App execution aliases is not on store. Search it in the start menu. On Sat, 16 May, 2020, 6:27 am Jhoana Kacheva Melissa Joseph, < kachev...@gmail.com> wrote: > Thanks for the tip! But there is nothing to unchecked. > > I typed python on powershell, once redirected to the app store I type app >

[issue40600] Add option to disallow > 1 instance of an extension module

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Title clarified. Leaving subinterpreters aside, only one instance, AFAIK, is true for stdlib and python modules unless imported with different names, as can happen with main module (which is a nuisance if not a bug). So only once per interpreter seems

[issue31033] Add argument to .cancel() of Task and Future

2020-05-15 Thread Chris Jerdonek
Chris Jerdonek added the comment: I just want to flag one issue after rebasing my traceback PR onto what was merged. If task.cancel() is called like this-- task.cancel("POSSIBLY LONG CANCEL MESSAGE") There is the question of whether the passed message should be repeated each time the

[issue40587] [regression] inspect.getdoc not returning docstring.

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: This change was part of #40257 and is being discussed there (where I suggested reverting it). -- nosy: +terry.reedy resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker

[issue40586] Pydoc should support https for hyperlinks.

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed. pydoc is a library module. 3.5 and 3.6 only get security patches. -- components: +Library (Lib) -Demos and Tools nosy: +serhiy.storchaka, terry.reedy ___ Python tracker

[issue40586] Pydoc should support https for hyperlinks.

2020-05-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40257] Improve the use of __doc__ in pydoc

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Whether or not an object has a docstring is implementation defined, and I do not consider it to be part of its API. I just backported some new docstrings (with Brett Cannon's concurrence), and I would consider it OK for Serhiy to do the same with his

[issue40635] Documentation for socket.getfqdn incorrect?

2020-05-15 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38938] Possible performance improvement for heaqq.merge()

2020-05-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: The nested generators approach looks promising. I hope you keep working on that :-) I'm not too keen on PR 18427 because it is a massive explosion in code volume and complexity. With some continued effort, I expect we'll get to something much simpler and

[issue31033] Add argument to .cancel() of Task and Future

2020-05-15 Thread Chris Jerdonek
Chris Jerdonek added the comment: The msg argument has now been added (second PR). I'm going to keep this issue open until the traceback issue has also been addressed (the other PR), as that was one part of the discussions here. -- ___ Python

Re: Help with installation please

2020-05-15 Thread Souvik Dutta
Windows has a default python 3. that is not installed but registered (which is as wierd as Microsoft). That is why you are redirected everytime to the store. You might want to check app execution aliases in the search bar an scroll down to find the two pythons and then uncheck one of them to avoid

[issue31033] Add argument to .cancel() of Task and Future

2020-05-15 Thread Chris Jerdonek
Chris Jerdonek added the comment: New changeset 1ce5841eca6d96b1b1e8c213d04f2e92b1619bb5 by Chris Jerdonek in branch 'master': bpo-31033: Add a msg argument to Future.cancel() and Task.cancel() (GH-19979) https://github.com/python/cpython/commit/1ce5841eca6d96b1b1e8c213d04f2e92b1619bb5

[issue40583] Runtime type annotation mutation leads to inconsistent behavior

2020-05-15 Thread Saumitro Dasgupta
Saumitro Dasgupta added the comment: Fair enough. If that's the consensus, I'll close the issue. -- ___ Python tracker ___ ___

[issue40583] Runtime type annotation mutation leads to inconsistent behavior

2020-05-15 Thread Eric V. Smith
Eric V. Smith added the comment: Perhaps it should be better documented. I don't see the behavior changing. -- ___ Python tracker ___

[issue40583] Runtime type annotation mutation leads to inconsistent behavior

2020-05-15 Thread Saumitro Dasgupta
Saumitro Dasgupta added the comment: I'd argue that the situation is a bit different from class variables here, since __annotations__ is indirectly brought into existence by the presence of statically-established type annotations. You can be perfectly aware of how class variables work yet

[issue40583] Runtime type annotation mutation leads to inconsistent behavior

2020-05-15 Thread Eric V. Smith
Eric V. Smith added the comment: But this is no different from every other mutable class variable in Python: class Base: data = {} class Alpha(Base): pass class Beta(Base): data = {} Alpha.data['injected'] = bool assert Alpha.data is Base.data Beta.data['injected'] = bool I'm

[issue40638] input() with malformed input stream triggers assertion failure

2020-05-15 Thread Maxwell Bernstein
Change by Maxwell Bernstein : -- keywords: +patch pull_requests: +19430 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20125 ___ Python tracker

[issue40638] input() with malformed input stream triggers assertion failure

2020-05-15 Thread Maxwell Bernstein
New submission from Maxwell Bernstein : builtin_input_impl does multiple attribute lookups in a row assuming they will succeed, but part of attribute lookup assumes that there is no pending exception. I propose doing the lookups one by one and checking for an error after each. There is an

[issue40637] Allow users to disable builtin hash modules on compile time

2020-05-15 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40637] Allow users to disable builtin hash modules on compile time

2020-05-15 Thread miss-islington
miss-islington added the comment: New changeset 9b60e55db2897acc30d6b9ef1dbc49674eed40c7 by Christian Heimes in branch 'master': bpo-40637: Add option to disable builtin hashes (GH-20121) https://github.com/python/cpython/commit/9b60e55db2897acc30d6b9ef1dbc49674eed40c7 -- nosy:

[issue40636] Provide a strict form of zip (PEP-618) requiring same length inputs

2020-05-15 Thread miss-islington
miss-islington added the comment: New changeset c3d025a86a60348f19551bd9921304c5db322531 by Miss Islington (bot) in branch '3.8': bpo-40636: Clarify the zip built-in docstring. (GH-20118) https://github.com/python/cpython/commit/c3d025a86a60348f19551bd9921304c5db322531 --

[issue40583] Runtime type annotation mutation leads to inconsistent behavior

2020-05-15 Thread Saumitro Dasgupta
Saumitro Dasgupta added the comment: In my opinion, the main problem here is the element of surprise. Given a statement like this: foo.__annotations__['injected'] = bool the expressed intent is "extend this object's annotations". It's surprising that it can sometimes result in

[issue40445] compileall.compile_dir docs aren't updated for bpo-38112

2020-05-15 Thread miss-islington
miss-islington added the comment: New changeset a2b3cdd661a4b6c6c74adbfcb6ac1865bfd2a011 by Shantanu in branch 'master': bpo-40445: Update compileall.compile_dir docs (GH-19806) https://github.com/python/cpython/commit/a2b3cdd661a4b6c6c74adbfcb6ac1865bfd2a011 -- nosy:

[issue40636] Provide a strict form of zip (PEP-618) requiring same length inputs

2020-05-15 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +19429 pull_request: https://github.com/python/cpython/pull/20124 ___ Python tracker

[issue40636] Provide a strict form of zip (PEP-618) requiring same length inputs

2020-05-15 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 6a5d3ff67644af42b1a781be2eacb2e82913441c by Gregory P. Smith in branch 'master': bpo-40636: Clarify the zip built-in docstring. (GH-20118) https://github.com/python/cpython/commit/6a5d3ff67644af42b1a781be2eacb2e82913441c --

[issue40495] compileall: option to hardlink duplicate optimization levels bytecode cache files

2020-05-15 Thread Shantanu
Change by Shantanu : -- nosy: +hauntsaninja nosy_count: 6.0 -> 7.0 pull_requests: +19428 pull_request: https://github.com/python/cpython/pull/19806 ___ Python tracker ___

[issue40583] Runtime type annotation mutation leads to inconsistent behavior

2020-05-15 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: This is actually a specified behavior (motivated by memory savings for class objects, that are already pretty large). If you scroll down the link you posted it says: > Note that if annotations are not found statically, then the > ``__annotations__``

[issue40163] multissl doesn't support tarballs in /source/old/

2020-05-15 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker ___

[issue40606] Copy property return annotations to __annotations__

2020-05-15 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- nosy: +levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40632] AttributeError: type object 'Callable' has no attribute '_abc_registry'

2020-05-15 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: I think a better question is why the `typing` in site packages is ever imported? I thought that an stdlib module always takes precedence over an installed one with the same name. -- nosy: +levkivskyi ___ Python

[issue40163] multissl doesn't support tarballs in /source/old/

2020-05-15 Thread miss-islington
miss-islington added the comment: New changeset 7a89f9b4e2c05a6abdf59e8a96a1fc80a47a1144 by Miss Islington (bot) in branch '3.7': bpo-40163: Fix multissltest download of old OpenSSL (GH-19329) https://github.com/python/cpython/commit/7a89f9b4e2c05a6abdf59e8a96a1fc80a47a1144 --

[issue40163] multissl doesn't support tarballs in /source/old/

2020-05-15 Thread miss-islington
miss-islington added the comment: New changeset fcea08059f46d2d9582bb7ce5b2e905b20b86e8e by Miss Islington (bot) in branch '3.8': bpo-40163: Fix multissltest download of old OpenSSL (GH-19329) https://github.com/python/cpython/commit/fcea08059f46d2d9582bb7ce5b2e905b20b86e8e --

[issue40595] AttributeError from type annotation

2020-05-15 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Yes, this is as expected. A recommended workaround is to define a type alias like `Match = re.Match` before the class body. You can also suppress the exception with `from __future__ import annotations` (so that the annotations are not evaluated), but

[issue40515] test_ssl.py hangs with SSL 1.1 built with no threads

2020-05-15 Thread Christian Heimes
Christian Heimes added the comment: Users will now get an error message when they are trying to compile against an OpenSSL build without thread support. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9

[issue40515] test_ssl.py hangs with SSL 1.1 built with no threads

2020-05-15 Thread Christian Heimes
Christian Heimes added the comment: New changeset efc9065904c4df8962e04303c2c03642f45019b5 by Christian Heimes in branch '3.7': [3.7] bpo-40515: Require OPENSSL_THREADS (GH-19953) (GH-20120) https://github.com/python/cpython/commit/efc9065904c4df8962e04303c2c03642f45019b5 --

[issue40515] test_ssl.py hangs with SSL 1.1 built with no threads

2020-05-15 Thread Christian Heimes
Christian Heimes added the comment: New changeset 387c7441f589cc45ea86f1fa257af616c39d9a4b by Christian Heimes in branch '3.8': [3.8] bpo-40515: Require OPENSSL_THREADS (GH-19953) (GH-20119) https://github.com/python/cpython/commit/387c7441f589cc45ea86f1fa257af616c39d9a4b --

[issue40163] multissl doesn't support tarballs in /source/old/

2020-05-15 Thread Christian Heimes
Change by Christian Heimes : -- stage: patch review -> backport needed versions: -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___

[issue40163] multissl doesn't support tarballs in /source/old/

2020-05-15 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +19426 pull_request: https://github.com/python/cpython/pull/20122 ___ Python tracker

[issue40163] multissl doesn't support tarballs in /source/old/

2020-05-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +19427 pull_request: https://github.com/python/cpython/pull/20123 ___ Python tracker ___

[issue40163] multissl doesn't support tarballs in /source/old/

2020-05-15 Thread Christian Heimes
Christian Heimes added the comment: New changeset 938717fd04c53c717895a756d5910e8c8813706c by Christian Heimes in branch 'master': bpo-40163: Fix multissltest download of old OpenSSL (GH-19329) https://github.com/python/cpython/commit/938717fd04c53c717895a756d5910e8c8813706c --

[issue40607] asyncio.wait_for should reraise future exception even if timeout expires

2020-05-15 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 382a5635bd10c237c3e23e346b21cde27e48d7fa by romasku in branch 'master': bpo-40607: Reraise exception during task cancelation in asyncio.wait_for() (GH-20054) https://github.com/python/cpython/commit/382a5635bd10c237c3e23e346b21cde27e48d7fa

[issue40637] Allow users to disable builtin hash modules on compile time

2020-05-15 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +19425 pull_request: https://github.com/python/cpython/pull/20121 ___ Python tracker ___

[issue40515] test_ssl.py hangs with SSL 1.1 built with no threads

2020-05-15 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +19424 pull_request: https://github.com/python/cpython/pull/20120 ___ Python tracker ___

[issue40637] Allow users to disable builtin hash modules on compile time

2020-05-15 Thread Christian Heimes
New submission from Christian Heimes : Python has a couple of builtin hash module: md5, sha1, sha256/224, sha512/383, sha3/shake family, and blake2b/s. Most of them are used as fallbacks in case OpenSSL bindings are not available. In some scenarios it is useful or required to disable the

[issue40515] test_ssl.py hangs with SSL 1.1 built with no threads

2020-05-15 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +19423 pull_request: https://github.com/python/cpython/pull/20119 ___ Python tracker ___

Re: Help with installation please

2020-05-15 Thread MRAB
On 2020-05-15 05:18, Jhoana Kacheva Melissa Joseph wrote: Hello, I downloaded python 3.8 in my windows, I selected the box for the path but when I try to run it in powershell it brought me to app store to get it again. How are you running Python? What are you putting on the command line?

[issue40636] Provide a strict form of zip (PEP-618) requiring same length inputs

2020-05-15 Thread Gregory P. Smith
New submission from Gregory P. Smith : PEP 618 https://www.python.org/dev/peps/pep-0618 discussions are still on going. This issue is being filed to track an implementation, assuming the PEP is accepted and one is decided upon. I'm filing it now, as I can at least use the issue for

[issue40636] Provide a strict form of zip (PEP-618) requiring same length inputs

2020-05-15 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +19422 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20118 ___ Python tracker

Re: RV: CodecRegistryError problem for an IDE.

2020-05-15 Thread MRAB
On 2020-05-15 18:53, Bryan Cabrera Ramírez wrote: Hi, I'm trying to insall an INET package for an IDE called OMNeT++ and when I try to build the INET the following happens in the command window: Fatal Python error: Py_Initialize: unable to load the file

Re: php to python code converter

2020-05-15 Thread DL Neil via Python-list
On 15/05/20 12:58 AM, Jon Ribbens via Python-list wrote: On 2020-05-14, MRAB wrote: Look at the date of the original post. It says "8 May 2009". That's over 11 years ago! Since then, Google Code has ceased to exist. Disgraceful, all URLs should continue to work for at least as long as this

BEST PYTHON TRAINING IN CHENNAI WITH PLACEMENT

2020-05-15 Thread keerthanakeerthu4110
ACTE is one of the India’s leading Class Room & Online training providers. We partner with IT companies and individuals to address their unique needs, providing training and coaching that helps working professionals achieve their career goals.No.1 most influential education brand in the India

[issue40515] test_ssl.py hangs with SSL 1.1 built with no threads

2020-05-15 Thread miss-islington
miss-islington added the comment: New changeset c087a268a4d4ead8ef2ca21e325423818729da89 by Christian Heimes in branch 'master': bpo-40515: Require OPENSSL_THREADS (GH-19953) https://github.com/python/cpython/commit/c087a268a4d4ead8ef2ca21e325423818729da89 -- nosy: +miss-islington

RV: CodecRegistryError problem for an IDE.

2020-05-15 Thread Bryan Cabrera Ramírez
Hi,   I'm trying to insall an INET package for an IDE called OMNeT++ and when I try to build the INET the following happens in the command window:     Fatal Python error: Py_Initialize: unable to load the file system codec   File

Help with installation please

2020-05-15 Thread Jhoana Kacheva Melissa Joseph
Hello, I downloaded python 3.8 in my windows, I selected the box for the path but when I try to run it in powershell it brought me to app store to get it again. Please let me know Thanks Melissa -- https://mail.python.org/mailman/listinfo/python-list

[issue36543] Remove old-deprecated ElementTree features (part 2)

2020-05-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +19421 pull_request: https://github.com/python/cpython/pull/20117 ___ Python tracker ___

[issue36264] os.path.expanduser should not use HOME on windows

2020-05-15 Thread Eryk Sun
Eryk Sun added the comment: > set "HOME" to override a location derived from ~ Using HOME in Windows is not reliable because it is not a system environment variable. That makes it fair game for administrators, users, and applications to use however they like. Platform differences can be

[issue40479] Port _hashlib to OpenSSL 3.0.0

2020-05-15 Thread miss-islington
miss-islington added the comment: New changeset 5a06cf01ecb6a048fb47c086adc1336f54fe8789 by Miss Islington (bot) in branch '3.8': bpo-40479: Test with latest OpenSSL versions (GH-20108) https://github.com/python/cpython/commit/5a06cf01ecb6a048fb47c086adc1336f54fe8789 --

[issue24416] Have date.isocalendar() return a structseq instance

2020-05-15 Thread Paul Ganssle
Change by Paul Ganssle : -- pull_requests: +19420 pull_request: https://github.com/python/cpython/pull/20113 ___ Python tracker ___

[issue40479] Port _hashlib to OpenSSL 3.0.0

2020-05-15 Thread miss-islington
miss-islington added the comment: New changeset 5e6b491403d7211588dcd399167f5bc21781c69c by Miss Islington (bot) in branch '3.7': bpo-40479: Test with latest OpenSSL versions (GH-20108) https://github.com/python/cpython/commit/5e6b491403d7211588dcd399167f5bc21781c69c --

[issue40635] Documentation for socket.getfqdn incorrect?

2020-05-15 Thread Chris Herdt
New submission from Chris Herdt : The documentation for socket.getfqdn() includes this info: "In case no fully qualified domain name is available, the hostname as returned by gethostname() is returned." However, that does not appear to be correct. To reproduce a case that exhibits contrary

[issue40633] json.dumps() should encode float number NaN to null

2020-05-15 Thread Mark Dickinson
Mark Dickinson added the comment: I don't think "null" in JSON is supposed to represent "Not a Number"; it's closer in meaning to Python's `None`. I definitely wouldn't want to see nans translated to "null" by default. This also only seems to address a part of the issue: what's the proposed

[issue40479] Port _hashlib to OpenSSL 3.0.0

2020-05-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +19419 pull_request: https://github.com/python/cpython/pull/20112 ___ Python tracker ___

[issue40479] Port _hashlib to OpenSSL 3.0.0

2020-05-15 Thread miss-islington
miss-islington added the comment: New changeset 62d618c06bd395308b7163dbcb26c7e6d0922033 by Christian Heimes in branch 'master': bpo-40479: Test with latest OpenSSL versions (GH-20108) https://github.com/python/cpython/commit/62d618c06bd395308b7163dbcb26c7e6d0922033 --

[issue40479] Port _hashlib to OpenSSL 3.0.0

2020-05-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +19418 pull_request: https://github.com/python/cpython/pull/20111 ___ Python tracker ___

[issue40479] Port _hashlib to OpenSSL 3.0.0

2020-05-15 Thread miss-islington
miss-islington added the comment: New changeset 16d4e6f6f559b4fd21c9d29fea303489f658674f by Christian Heimes in branch 'master': bpo-40479: Fix hashlib issue with OpenSSL 3.0.0 (GH-20107) https://github.com/python/cpython/commit/16d4e6f6f559b4fd21c9d29fea303489f658674f -- nosy:

[issue40055] test___all__ and test_distutils alters the enviroinment: pkg_resources.PEP440Warning

2020-05-15 Thread miss-islington
miss-islington added the comment: New changeset 4e6545b002dd4d068b2538ffca60830d0e7fd369 by Miss Islington (bot) in branch '3.8': bpo-40055: test_distutils leaves warnings filters unchanged (GH-20095) https://github.com/python/cpython/commit/4e6545b002dd4d068b2538ffca60830d0e7fd369

[issue40055] test___all__ and test_distutils alters the enviroinment: pkg_resources.PEP440Warning

2020-05-15 Thread miss-islington
miss-islington added the comment: New changeset 7ef275160953f00b4303149df6d919c0afe763cb by Miss Islington (bot) in branch '3.7': bpo-40055: test_distutils leaves warnings filters unchanged (GH-20095) https://github.com/python/cpython/commit/7ef275160953f00b4303149df6d919c0afe763cb

  1   2   >