[issue43400] Remove "Mock is very easy to use" from unittest.mock documentation

2021-03-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Mock has a section on getting started that has several recipes but it's not under howto section. Perhaps this page could be updated if you want to make a PR : https://docs.python.org/3/library/unittest.mock-examples.html There is also a section on

[issue43405] DeprecationWarnings in test_unicode

2021-03-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The changes were introduced in https://bugs.python.org/issue36346 -- nosy: +methane, xtreak ___ Python tracker ___

[issue43400] Improve recipes and howtos for the unittest.mock

2021-03-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: Renaming this issue to reflect a shift in focus towards broader improvements to the documentation. -- title: Remove "Mock is very easy to use" from unittest.mock documentation -> Improve recipes and howtos for the unittest.mock versions: -Python

[issue43400] Improve recipes and howtos for the unittest.mock

2021-03-04 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: rhettinger -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue43372] ctypes: test_frozentable fails when make regen-frozen

2021-03-04 Thread Neil Schemenauer
Change by Neil Schemenauer : -- pull_requests: +23531 pull_request: https://github.com/python/cpython/pull/24759 ___ Python tracker ___

[issue42246] Implement PEP 626 -- Precise line numbers for debugging

2021-03-04 Thread Neil Schemenauer
Change by Neil Schemenauer : -- pull_requests: +23532 pull_request: https://github.com/python/cpython/pull/24759 ___ Python tracker ___

[issue43372] ctypes: test_frozentable fails when make regen-frozen

2021-03-04 Thread Neil Schemenauer
Change by Neil Schemenauer : -- assignee: -> nascheme ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue43404] No SSL certificates when using the Mac installer

2021-03-04 Thread Ned Deily
Ned Deily added the comment: When installing current Pythons for macOS downloaded from python.org, you will need to run the "Install Certificates.command" file installed into the /Applications/Python 3.x" folder for the version installed. This is noted in the initial screen when running the

[issue43390] Set the SA_ONSTACK in PyOS_setsig to play well with other VMs like Golang

2021-03-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 02ac6f41e5569ec28d625bb005155903f64cc9ee by Gregory P. Smith in branch 'master': bpo-43390: Set SA_ONSTACK in PyOS_setsig (GH-24730) https://github.com/python/cpython/commit/02ac6f41e5569ec28d625bb005155903f64cc9ee -- __

[issue43390] Set the SA_ONSTACK in PyOS_setsig to play well with other VMs like Golang

2021-03-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: I expect zero fallout from this given the semantics. SA_ONSTACK really appears to be something that should've been the POSIX default since it was introduced as a feature in ~BSD4.2 in the early 80s. But it never was. It'll be good to have in the beta rel

[issue42627] urllib.request.getproxies() misparses Windows registry proxy settings

2021-03-04 Thread 狂男风
Change by 狂男风 : -- nosy: +CrazyBoyFeng ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue43395] os.path states that bytes can't represent all MBCS paths under Windows

2021-03-04 Thread Eric L.
Eric L. added the comment: Very confusing but very interesting. I'm trying to follow as I'm the main maintainer of the rdiff-backup software, which goes cross-platforms, so these small differences might become important. Now, looking into the docs, following your explanations, I noticed that

[issue43300] "bisect" module should support reverse-sorted sequences

2021-03-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thank you for the suggestion, but am going close this for the reasons mentioned above. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue42627] urllib.request.getproxies() misparses Windows registry proxy settings

2021-03-04 Thread 狂男风
狂男风 added the comment: We know Windows reslove: `http=host:port;https=host:port;ftp=host:port;socks=host:port` as: `http=http://host:port;https=http://host:port;ftp=http://host:port;socks=socks://host:port` means: Using HTTP type proxy for HTTP, HTTPS and FTP requests, but Socks4/4a type prox

<    1   2