[issue37637] multiprocessing numpy.ndarray not transmitted properly

2019-07-20 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37616] [3.10 prep] zip path incorrect

2019-07-20 Thread Ngalim Siregar
Change by Ngalim Siregar : -- keywords: +patch pull_requests: +14661 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14874 ___ Python tracker ___

[issue37638] Having issues following build instructions

2019-07-20 Thread Tianming Zhuang
New submission from Tianming Zhuang : Hi there. This is my first time trying to build python from source. I am following in structions here: https://devguide.python.org/setup/#setup I notice that after I build, I don't get a success message like the example shown:

[issue37638] Having issues following build instructions

2019-07-20 Thread Tianming Zhuang
Change by Tianming Zhuang : -- type: -> behavior versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37622] Signature of SHA256 HMAC digest not matching with the signature of jwt library

2019-07-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please describe which function of the stdlib you believe is broken. It's very likely that your framing code is incorrect. -- nosy: +benjamin.peterson resolution: -> not a bug stage: -> resolved status: open -> closed

[issue37635] Using constant for whence arg in seek()

2019-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is Antoine's call. I believe he made the original decision not to sweep through the standard library, changing it everywhere it occurred. Perhaps this was performance reasons, perhaps the existing code was already clear enough, perhaps the

[issue37635] Using constant for whence arg in seek()

2019-07-20 Thread Kyle Stanley
Kyle Stanley added the comment: >The named versions are just alternatives available for end-users While it is true that the usage of 0,1,2 is more commonly used across the repository, the constants are used several times across Lib/_compression.py and Lib/_pyio.py. From my perspective, it

[issue37636] Deprecate slicing and ordering operations on sys.version

2019-07-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Changing the major version number itself is a breaking change. For example, there is a code that checks sys.version_info[0] == 3 or even sys.version[0] == "3". -- nosy: +serhiy.storchaka ___ Python tracker

[issue37636] Deprecate slicing and ordering operations on sys.version

2019-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Rolling to 4.0 implies backward incompatible changes It might or it might not depending on how we communicate it. See Python 2.0 for a precedent. That was not a backward incompatible release. -- ___ Python

[issue37636] Deprecate slicing and ordering operations on sys.version

2019-07-20 Thread Josh Rosenberg
Josh Rosenberg added the comment: Rolling to 4.0 implies backward incompatible changes; doing just to avoid 3.10 is breaking semantic versioning rules. -- nosy: +josh.r ___ Python tracker

[issue37637] multiprocessing numpy.ndarray not transmitted properly

2019-07-20 Thread Benedikt Bieringer
New submission from Benedikt Bieringer <2xb.cod...@wwu.de>: The following code demonstrates the issue: import numpy as np from multiprocessing import Pipe p1, p2 = Pipe() arr = np.zeros((3, 5, 6), dtype=np.uint8) p2.send_bytes(arr) pm = p1.recv_bytes() print(pm) Only 3 bytes are transmitted

[issue37636] Deprecate slicing and ordering operations on sys.version

2019-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Have we considered just rolling our next version to 4.0 instead of 3.10? -- nosy: +rhettinger ___ Python tracker ___

[issue36324] Inverse cumulative normal distribution function

2019-07-20 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +14660 pull_request: https://github.com/python/cpython/pull/14871 ___ Python tracker ___

[issue3726] Allow ', ' delimiters in logging.config.fileConfig()

2019-07-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -14658 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37627] Minor improvements to IDLE's "Run Customized"

2019-07-20 Thread Ngalim Siregar
Change by Ngalim Siregar : -- keywords: +patch pull_requests: +14659 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14870 ___ Python tracker ___

[issue3726] Allow ', ' delimiters in logging.config.fileConfig()

2019-07-20 Thread Ngalim Siregar
Change by Ngalim Siregar : -- pull_requests: +14658 pull_request: https://github.com/python/cpython/pull/14870 ___ Python tracker ___

[issue37635] Using constant for whence arg in seek()

2019-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think it's okay to leave these as 0, 1, 2 because they have a long and well known tradition across multiple languages. The named versions are just alternatives available for end-users. The numbered forms also let us avoid a bunch of otherwise

[issue37444] Differing exception between builtins and importlib when importing beyond top-level package

2019-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I think this should be an ImportError I also think ImportError is what people would expect when an import fails. -- nosy: +rhettinger ___ Python tracker

[issue37444] Differing exception between builtins and importlib when importing beyond top-level package

2019-07-20 Thread Ngalim Siregar
Change by Ngalim Siregar : -- keywords: +patch pull_requests: +14657 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14869 ___ Python tracker ___

[issue37555] _CallList.__contains__ doesn't always respect ANY.

2019-07-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This issue is a part of more general issue. I have opened a thread on Python-Dev for discussing it: https://mail.python.org/archives/list/python-...@python.org/thread/VSV4K4AOKM4CBQMOELPFV5VMYALPH464/. -- ___

[issue37636] Deprecate slicing and ordering operations on sys.version

2019-07-20 Thread Anthony Sottile
Change by Anthony Sottile : -- nosy: +Anthony Sottile ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37636] Deprecate slicing and ordering operations on sys.version

2019-07-20 Thread Nick Coghlan
New submission from Nick Coghlan : At the core dev sprints in 2017 (IIRC), Ezio and I were talking about some of the potential issues with 3.10, and one of them was folks attempting to manipulate sys.version with string operations rather than using the already decomposed sys.version info.

[issue35476] _imp_create_dynamic_impl() does not clear error.

2019-07-20 Thread Nick Coghlan
Nick Coghlan added the comment: Agreed, raising the exception properly would be the way to go. -- nosy: +ncoghlan ___ Python tracker ___

[issue37451] Remove redudant test code in _testcapimodule.c

2019-07-20 Thread Xiang Zhang
Change by Xiang Zhang : -- components: +Tests resolution: -> rejected stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker ___

[issue37633] Py_CompileString and PyParser_SimpleParseString not exported in python38.dll

2019-07-20 Thread PyScripter
PyScripter added the comment: Py_CompileStringFlags is not exported either. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue28869] __module__ attribute is not set correctly for a class created by direct metaclass call

2019-07-20 Thread Alejandro Gonzalez
Alejandro Gonzalez added the comment: Hello, Could anyone take a look at the PR 14126 submitted? Sorry for the trouble and thank you in advance. -- ___ Python tracker ___

[issue37476] Adding tests for PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize

2019-07-20 Thread Xiang Zhang
Change by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: Adding a unit test of unicode in test_unicode.py -> Adding tests for PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize ___ Python tracker

[issue37476] Adding a unit test of unicode in test_unicode.py

2019-07-20 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 5623ac87bbe5de481957eca5eeae06347612fbeb by Xiang Zhang (Hai Shi) in branch 'master': bpo-37476: Adding tests for asutf8 and asutf8andsize (GH-14531) https://github.com/python/cpython/commit/5623ac87bbe5de481957eca5eeae06347612fbeb --