[issue45007] OpenSSL 1.1.1l is released

2021-08-25 Thread Ned Deily
New submission from Ned Deily : OpenSSL 1.1.1l was released on 2021-08-24 so the Windows build and macOS binary installers should be updated to it. https://www.openssl.org/source/ However, it appears that 1.1.1l introduced a build failure on older macOS systems that would affect some python.

[issue44997] [sqlite3] build fails on macOS 11.5.1

2021-08-25 Thread Ned Deily
Ned Deily added the comment: > I guess we could wrap this functionality with some preprocessor conditionals, > and/or adjust the configure script to not accept > --enable-loadable-sqlite-extensions for macOS 11.5.1 (11.5.x?). FTR, this is only a problem if you link with the Apple-supplied sy

[issue45008] asyncio.gather should not "dedup" awaitables

2021-08-25 Thread William Fisher
New submission from William Fisher : asyncio.gather uses a dictionary to de-duplicate futures and coros. However, this can lead to problems when you pass an awaitable object (implements __await__ but isn't a future or coro). 1. Two or more awaitables may compare for equality/hash, but still ex

[issue42085] Add dedicated slot for sending values

2021-08-25 Thread Dennis Sweeney
Dennis Sweeney added the comment: It did get added to the correct docs: https://docs.python.org/3.10/c-api/typeobj.html#c.PyAsyncMethods.am_send (the 3.10 and 3.11 docs, not the 3.9 docs ;-) But as I mentioned, I feel that there could be more details about the semantics/contract. -

[issue45003] Documentation wrote __div__ instead of __truediv__

2021-08-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 806e25fd3173a80021e6df87b81263b5f6056f38 by Objectivitix in branch 'main': bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951) https://github.com/python/cpython/commit/806e25fd3173a80021e6df87b81263b5f6056f38 -

[issue45003] Documentation wrote __div__ instead of __truediv__

2021-08-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +26409 pull_request: https://github.com/python/cpython/pull/27962 ___ Python tracker _

[issue45003] Documentation wrote __div__ instead of __truediv__

2021-08-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +26410 pull_request: https://github.com/python/cpython/pull/27963 ___ Python tracker ___ __

[issue45009] Get last modified date of Folders and Files using pathlib module

2021-08-25 Thread Gopesh Singh
New submission from Gopesh Singh : I am trying to get Last modified dates of Folders and Files mounted on Azure Databricks. I am using following Code: ``` root_dir = "/dbfs/mnt/ADLS1/LANDING/parent" def get_directories(root_dir): for child in Path(root_dir).iterdir(): if child.i

[issue45003] Documentation wrote __div__ instead of __truediv__

2021-08-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26411 pull_request: https://github.com/python/cpython/pull/27964 ___ Python tracker ___

[issue45009] Get last modified date of Folders and Files using pathlib module

2021-08-25 Thread Gopesh Singh
Gopesh Singh added the comment: Adding further details: // from os.path import getmtime from datetime import datetime from pathlib import Path import time // System: Operating System: Ubuntu 18.04.5 LTS Python: 3.8.8 -- ___ Python tracker

[issue45010] Remove support of special method __div__ in unittest.mock

2021-08-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Special method __div__ was used in Python 2, but is not used in Python 3. I think it can be removed from the list of supported special methods in unittest.mock. -- components: Library (Lib) messages: 400314 nosy: michael.foord, serhiy.storchaka p

[issue45010] Remove support of special method __div__ in unittest.mock

2021-08-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It was kept in the previous clean up in issue23641 because I had doubts. But now I do not see reasons to keep it. Rather keeping it can confuse users. -- ___ Python tracker _

[issue45010] Remove support of special method __div__ in unittest.mock

2021-08-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +26412 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27965 ___ Python tracker ___

<    1   2