[issue36035] pathlib.Path().rglob() breaks with broken symlinks

2019-02-22 Thread Jörg Stucke
Jörg Stucke added the comment: I tried to add a test file in https://github.com/python/cpython/pull/11988 To fix all now broken tests I had to add a try except block to the _WildcardSelector as well (analogous to the _RecursiveWildcardSelector). I could only check on Linux and I have no idea

[issue36035] pathlib.Path().rglob() breaks with broken symlinks

2019-02-22 Thread Jörg Stucke
Change by Jörg Stucke : -- pull_requests: +12011 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36074] Result of `asyncio.Server.sockets` after `Server.close()` is not clear

2019-02-22 Thread Emmanuel Arias
Emmanuel Arias added the comment: @mhchia yes! sorry! I was testing the .close() return. yes you are right is confused. I will modified the PR. Thanks -- ___ Python tracker

[issue36074] Result of `asyncio.Server.sockets` after `Server.close()` is not clear

2019-02-22 Thread Kevin Mai-Hsuan Chia
Kevin Mai-Hsuan Chia added the comment: Excuse me, I tried 3.7.2 and 3.8.0a1+ with the following code and still failed. Could you help me to try this? or can you give me a pointer to the code returning `None`? Sorry for the inconvenience and thanks a lot. ``` import asyncio import platform

[issue31162] urllib.request.urlopen CERTIFICATE_VERIFY_FAILED error

2019-02-22 Thread Emmanuel Arias
Emmanuel Arias added the comment: hmmm I think that is not a bug. I think that this is a certification problem, literally. -- nosy: +eamanu status: pending -> open ___ Python tracker

[issue36074] Result of `asyncio.Server.sockets` after `Server.close()` is not clear

2019-02-22 Thread Emmanuel Arias
Change by Emmanuel Arias : -- keywords: +patch pull_requests: +12010 stage: -> patch review ___ Python tracker ___ ___

[issue36074] Result of `asyncio.Server.sockets` after `Server.close()` is not clear

2019-02-22 Thread Emmanuel Arias
Emmanuel Arias added the comment: Maybe would be great mention that the None is still return for closed server -- ___ Python tracker ___

[issue36074] Result of `asyncio.Server.sockets` after `Server.close()` is not clear

2019-02-22 Thread Emmanuel Arias
Emmanuel Arias added the comment: hmm looking in depth when the server is closed, currently return None. -- ___ Python tracker ___

[issue35512] patch.dict resolves in_dict eagerly (should be late resolved)

2019-02-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: If I understand the issue correctly it's as below is a simple reproducer where target is resolved with {'a': 1} during the construction of the decorator [0] though it's redefined later in the program as target = dict(a=2). Also here due to this

[issue36074] Result of `asyncio.Server.sockets` after `Server.close()` is not clear

2019-02-22 Thread Emmanuel Arias
Emmanuel Arias added the comment: Yes, that is a problem (in principle) of the docs. But I think that would be appropriate return None if is closed. -- nosy: +eamanu ___ Python tracker

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Also, there is no way to delete/unwrap memory without using an existing SharedMemory instance, which is something we may not have on startup. Perhaps we should have a "shared_memory.unlink(name)" function similar to os.unlink() which simply calls C

[issue36077] Inheritance dataclasses fields and default init statement

2019-02-22 Thread SilentGhost
Change by SilentGhost : -- nosy: +eric.smith versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36077] Inheritance dataclasses fields and default init statement

2019-02-22 Thread Кирилл Чуркин
New submission from Кирилл Чуркин : I found a problem when use inherit dataclasses. When I define parent dataclass with field(s) with default (or default_factory) properties, and inherit child dataclass from parent, i define non-default field in it and got `TypeError('non-default argument

[issue35307] Command line help example is missing "--prompt" option

2019-02-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thank you @daftwullie for the report and for the PR! And thank you, @xtreak for triaging and for the reminder. :-) -- nosy: +cheryl.sabella resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-22 Thread Steven D'Aprano
Steven D'Aprano added the comment: Thanks Raymond. Apologies for commenting here instead of at the PR. While I've been fighting with more intermittedly broken than usual internet access, Github has stopped supporting my browser. I can't upgrade the browser without upgrading the OS, and I

[issue35813] shared memory construct to avoid need for serialization between processes

2019-02-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Code looks much better now. I'm still not convinced "SharedMemory(name=None, create=False, size=0)" is the best API. How are you supposed to "create or attach" atomically? You can do that with O_EXCL but as it stands this is not togglable via the API.

[issue35307] Command line help example is missing "--prompt" option

2019-02-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +12009 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35859] Capture behavior depends on the order of an alternation

2019-02-22 Thread Ma Lin
Ma Lin added the comment: A bug harvest, see PR11756, maybe sre has more bugs. Those bug exist since Python 2. Any ideas from regular expression experts? -- ___ Python tracker

[issue36076] ssl.get_server_certificate should use SNI

2019-02-22 Thread Maciej Grela
New submission from Maciej Grela : The ssl.get_server_certificate function doesn't send SNI information causing an wrong certificate to be sent back by the server (or connection close in some cases). This can be seen when trying to use get_server_certificate against a site behind cloudflare.

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

2019-02-22 Thread Vlad Shcherbina
Vlad Shcherbina added the comment: There is no need to add explicit knowledge of reprlib to the Row object or vice versa. Those who use reprlib to limit output size will have no problem. Reprlib already truncates arbitrary reprs at the string level:

[issue36064] docs: urllib.request.Request not accepting iterables data type

2019-02-22 Thread Martin Panter
Martin Panter added the comment: I agree the documentation is insufficient. It should have said if “data” is iterated, it must yield bytes-like objects. I agree it is unwise to yet more special cases for the uploaded data types. When Lye passed the dictionary of three keys and values, I

[issue35810] Object Initialization does not incref Heap-allocated Types

2019-02-22 Thread Petr Viktorin
Petr Viktorin added the comment: Changing all types to heap types is definitely a gigantic task. First let's make heap types more usable and bug-free, and then it will be easier :) (I do have an agenda here: improving heap types usable is also yak-shaving* for making modules play nice with

[issue36075] python 2to3 conversion tool is generating file with extra line for every input line

2019-02-22 Thread Saba Kauser
New submission from Saba Kauser : Hi, I am building my python ibm_db driver on python 3.7 using the setup.py under https://github.com/SabaKauser/python-ibmdb/blob/master/IBM_DB/ibm_db/setup.py with 2to3 compatibility as: python setup.py build and installing as: python setup.py install I

[issue31162] urllib.request.urlopen CERTIFICATE_VERIFY_FAILED error

2019-02-22 Thread Martin Panter
Change by Martin Panter : -- resolution: -> not a bug status: open -> pending title: urllib.request.urlopen error -> urllib.request.urlopen CERTIFICATE_VERIFY_FAILED error ___ Python tracker

[issue36074] Result of `asyncio.Server.sockets` after `Server.close()` is not clear

2019-02-22 Thread Kevin Mai-Hsuan Chia
New submission from Kevin Mai-Hsuan Chia : It seems the result of `asyncio.Server.sockets` after `asyncio.Server.close()` is performed becomes `[]` instead of `None` since python 3.7. However, in the [document 3.7 and

[issue35810] Object Initialization does not incref Heap-allocated Types

2019-02-22 Thread Christian Tismer
Christian Tismer added the comment: Neil, that is the absolute super-move! When all types are heap types, then I have no longer the problem that I cannot get at slots from builtin types, with all are static. I am very much for that change, because then I can make my stable ABI implementation

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Okay the PR is ready. If you all are mostly comfortable with it, it would great to get this in for the second alpha so that people have a chance to work with it. -- nosy: +davin ___ Python tracker

[issue34981] Unable to install Python from web-based installer and executable installer

2019-02-22 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36069] asyncio: create_connection cannot handle IPv6 link-local addresses anymore (linux)

2019-02-22 Thread Leonardo Mörlein
Change by Leonardo Mörlein : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36069] asyncio: create_connection cannot handle IPv6 link-local addresses anymore (linux)

2019-02-22 Thread Leonardo Mörlein
Leonardo Mörlein added the comment: Oh, you are correct. So this can be closed. -- ___ Python tracker ___ ___ Python-bugs-list

<    1   2