[issue40754] ModuleNotFoundError: No module named '_testinternalcapi' under Win10

2020-05-26 Thread honglei jiang
honglei jiang added the comment: == Tests result: FAILURE == 357 tests OK. 24 tests failed: test__locale test_array test_buffer test_capi test_deque test_exceptions test_flufl test_grammar test_itertools test_locale test_memoryio test_ordered_dict test_parser test_pickle test_p

[issue40737] Fix possible reference leak for sqlite3 initialization

2020-05-26 Thread miss-islington
miss-islington added the comment: New changeset 7df9c41c69e2af8d0d36452c09d243b0975495af by Miss Islington (bot) in branch '3.9': bpo-40737: Fix possible reference leak for sqlite3 initialization (GH-20323) https://github.com/python/cpython/commit/7df9c41c69e2af8d0d36452c09d243b0975495af --

[issue40737] Fix possible reference leak for sqlite3 initialization

2020-05-26 Thread Dong-hee Na
Change by Dong-hee Na : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue40778] Updating Py_REFCNT and Py_SIZE to use _PyObject_CAST_CONS

2020-05-26 Thread Dong-hee Na
New submission from Dong-hee Na : See: https://github.com/python/cpython/pull/20290#discussion_r430007803 -- assignee: corona10 components: C API messages: 369974 nosy: corona10, vstinner priority: normal severity: normal status: open title: Updating Py_REFCNT and Py_SIZE to use _PyObje

[issue39673] Map errno==ETIME to TimeoutError

2020-05-26 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks for clarifying, Giampaolo. I'll accept this PR once it's cleaned up. -- ___ Python tracker ___

[issue38580] select()'s documentation claims only sequences are accepted, but it allows all iterables

2020-05-26 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +19684 pull_request: https://github.com/python/cpython/pull/20426 ___ Python tracker ___ ___

[issue40737] Fix possible reference leak for sqlite3 initialization

2020-05-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +19683 pull_request: https://github.com/python/cpython/pull/20425 ___ Python tracker _

[issue40737] Fix possible reference leak for sqlite3 initialization

2020-05-26 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 5eb45d7d4e812e89d77da84cc619e9db81561a34 by Erlend Egeberg Aasland in branch 'master': bpo-40737: Fix possible reference leak for sqlite3 initialization (GH-20323) https://github.com/python/cpython/commit/5eb45d7d4e812e89d77da84cc619e9db81561a34

[issue38580] select()'s documentation claims only sequences are accepted, but it allows all iterables

2020-05-26 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +19682 pull_request: https://github.com/python/cpython/pull/20424 ___ Python tracker ___ ___

[issue40763] zipfile.extractall is safe by now?

2020-05-26 Thread Va
Change by Va : -- components: +Library (Lib) title: zipfile.extractall is safe by now -> zipfile.extractall is safe by now? type: behavior -> security ___ Python tracker ___ __

[issue40763] zipfile.extractall is safe by now

2020-05-26 Thread Va
Va added the comment: > It is not obvious to me that zipfile._extract_member() together with (for windows) zipfile._sanitize_windows_name() have handled everything that could happen. What hasn't been handled then? What is the safe way to use it? I think documenting "this function is unsafe" w

[issue40719] Add pt-br to the language switcher at the Python 3.6 and 2.7 docs website

2020-05-26 Thread Rafael Fontenelle
Rafael Fontenelle added the comment: 3.6 applied. Since 2.7 was already "sunsetted", leave as is. Closing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

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

2020-05-26 Thread miss-islington
miss-islington added the comment: New changeset 66391b0c6e792236b9f487283ae161bdaf0e7ad7 by Miss Islington (bot) in branch '3.9': bpo-40637: Fix test_pbkdf2_hmac_py for missing sha1 (GH-20422) https://github.com/python/cpython/commit/66391b0c6e792236b9f487283ae161bdaf0e7ad7 --

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

2020-05-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +19681 pull_request: https://github.com/python/cpython/pull/20423 ___ Python tracker ___ __

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

2020-05-26 Thread Christian Heimes
Christian Heimes added the comment: New changeset be63019ed726b2da045bf232782062830bb6c27d by Christian Heimes in branch 'master': bpo-40637: Fix test_pbkdf2_hmac_py for missing sha1 (#20422) https://github.com/python/cpython/commit/be63019ed726b2da045bf232782062830bb6c27d -- _

[issue33678] selector_events.BaseSelectorEventLoop.sock_connect should preserve socket type

2020-05-26 Thread Cheryl Sabella
Cheryl Sabella added the comment: For reference, please note the comments in https://github.com/python/cpython/pull/11403#issuecomment-633779644. -- nosy: +cheryl.sabella ___ Python tracker

[issue35545] asyncio.base_events.create_connection doesn't handle scoped IPv6 addresses

2020-05-26 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue29882] Add an efficient popcount method for integers

2020-05-26 Thread Mark Dickinson
Mark Dickinson added the comment: PR is updated and mergeable. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

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

2020-05-26 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +19680 pull_request: https://github.com/python/cpython/pull/20422 ___ Python tracker ___

[issue40777] _datetimemodule.c:3328:16: error: initializer element is not constant

2020-05-26 Thread Sandro Mani
New submission from Sandro Mani : Hitting this when attempting to cross-compile python-3.9 to mingw: /builddir/build/BUILD/Python-3.9.0b1/Modules/_datetimemodule.c:3328:16: error: initializer element is not constant 3328 | .tp_base = &PyTuple_Type, Indeed PyTuple_Type does not have stati

[issue40654] shutil.copyfile mutates symlink for absolute path

2020-05-26 Thread Steve Dower
Steve Dower added the comment: > how could one write the `cmd.exe` `dir` command using Python? I haven't checked, but if the dir command resolves the entire symlink chain rather than one step at a time, you'd use realpath (though that seems unlikely, tbh). Failing that, you'd add extra logi

[issue39321] AMD64 FreeBSD Non-Debug 3.x: out of swap space (test process killed by signal 9)

2020-05-26 Thread STINNER Victor
STINNER Victor added the comment: > Added 8gb swap disk to each BB worker Great! Thank you very much! -- ___ Python tracker ___ __

[issue40776] Python 3.7.6 installation issue on mac os x 10.6.8

2020-05-26 Thread Asmi Ariv
New submission from Asmi Ariv : I am unable to install Python 3.7.6 on my Macbook with OS X 10.6.8 (Snow Leopard). I am getting the following error: The operation couldn’t be completed. (com.apple.installer.pagecontroller error -1.) Couldn't open "python-3.7.6-macosx10.6.pkg". Is it possible

[issue35714] Document that the null character '\0' terminates a struct format spec

2020-05-26 Thread miss-islington
miss-islington added the comment: New changeset 4ea802868460fad54e40cb99eb0ca283b3b293f0 by Miss Islington (bot) in branch '3.7': [3.8] bpo-35714: Reject null characters in struct format strings (GH-16928) (GH-20419) https://github.com/python/cpython/commit/4ea802868460fad54e40cb99eb0ca283b3

[issue39673] Map errno==ETIME to TimeoutError

2020-05-26 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Sigh! I misread the OP's post and thought the proposal was to add TimeoutError which I forgot existed. Sorry for the noise and please disregard my previous comment. -- ___ Python tracker

[issue35714] Document that the null character '\0' terminates a struct format spec

2020-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5ff5edfef63b3dbc1abb004b3fa4b3db87e79ff9 by Zackery Spytz in branch '3.8': [3.8] bpo-35714: Reject null characters in struct format strings (GH-16928) (GH-20419) https://github.com/python/cpython/commit/5ff5edfef63b3dbc1abb004b3fa4b3db87e79ff

[issue35714] Document that the null character '\0' terminates a struct format spec

2020-05-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +19679 pull_request: https://github.com/python/cpython/pull/20420 ___ Python tracker ___ __

[issue40762] Writing bytes using CSV module results in b prefixed strings

2020-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It would be confusing. There would be the encoding argument for open() to encode strings to bytes and the encoding argument for csv.writer() to decode bytes to strings. The latter will be ignored in all normal cases (for strings and numbers). --

[issue39301] Specification of bitshift on integers should clearly state floor division used

2020-05-26 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks Zackery for the fix! Nick: is this good enough to close, or would you like to see something more here? -- ___ Python tracker ___

[issue39301] Specification of bitshift on integers should clearly state floor division used

2020-05-26 Thread Mark Dickinson
Mark Dickinson added the comment: New changeset c2a177adf3575d4eb81030fba851f78d7a8e3f51 by Miss Islington (bot) in branch '3.8': bpo-39301: State that floor division is used for right shift operations (GH-20347) (GH-20415) https://github.com/python/cpython/commit/c2a177adf3575d4eb81030fba85

[issue39301] Specification of bitshift on integers should clearly state floor division used

2020-05-26 Thread Mark Dickinson
Mark Dickinson added the comment: New changeset b068d892c1ba7b996e43aceb974bfadac3c577ed by Miss Islington (bot) in branch '3.7': bpo-39301: State that floor division is used for right shift operations (GH-20347) (GH-20416) https://github.com/python/cpython/commit/b068d892c1ba7b996e43aceb974

[issue35714] Document that the null character '\0' terminates a struct format spec

2020-05-26 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +19678 pull_request: https://github.com/python/cpython/pull/20419 ___ Python tracker ___ ___

[issue39301] Specification of bitshift on integers should clearly state floor division used

2020-05-26 Thread Mark Dickinson
Mark Dickinson added the comment: New changeset cc0f50d62c75a1d171f5de9b56caef64e79eb013 by Miss Islington (bot) in branch '3.9': bpo-39301: State that floor division is used for right shift operations (GH-20347) (GH-20414) https://github.com/python/cpython/commit/cc0f50d62c75a1d171f5de9b56c

[issue40762] Writing bytes using CSV module results in b prefixed strings

2020-05-26 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: I don't think this would be accepted but I think you could try to propose that on the python-ideas mailing list to get some feedback on your proposal. -- nosy: +skip.montanaro ___ Python tracker

[issue40775] Fix missing dot in sqlite3 Node type name

2020-05-26 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- keywords: +patch pull_requests: +19677 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20418 ___ Python tracker _

[issue40775] Fix missing dot in sqlite3 Node type name

2020-05-26 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- components: Library (Lib) nosy: erlendaasland priority: normal severity: normal status: open title: Fix missing dot in sqlite3 Node type name versions: Python 3.10, Python 3.8, Python 3.9 ___ Python tracker

[issue39301] Specification of bitshift on integers should clearly state floor division used

2020-05-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +19676 pull_request: https://github.com/python/cpython/pull/20417 ___ Python tracker ___ __

[issue39301] Specification of bitshift on integers should clearly state floor division used

2020-05-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +19674 pull_request: https://github.com/python/cpython/pull/20415 ___ Python tracker ___ __

[issue39301] Specification of bitshift on integers should clearly state floor division used

2020-05-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +19675 pull_request: https://github.com/python/cpython/pull/20416 ___ Python tracker ___ __

[issue39301] Specification of bitshift on integers should clearly state floor division used

2020-05-26 Thread Mark Dickinson
Mark Dickinson added the comment: New changeset af7553ac95a96713be847dd45bc5a8aeb0a75955 by Zackery Spytz in branch 'master': bpo-39301: State that floor division is used for right shift operations (GH-20347) https://github.com/python/cpython/commit/af7553ac95a96713be847dd45bc5a8aeb0a75955

[issue39301] Specification of bitshift on integers should clearly state floor division used

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

[issue31485] Tkinter widget.unbind(sequence, funcid) unbind all bindings

2020-05-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue35714] Document that the null character '\0' terminates a struct format spec

2020-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Zackery, do you mind to create a backport to 3.8? -- ___ Python tracker ___ ___ Python-bugs-lis

[issue35714] Document that the null character '\0' terminates a struct format spec

2020-05-26 Thread miss-islington
miss-islington added the comment: New changeset 5221a10dde4a3853fe7ace316d95767648055109 by Miss Islington (bot) in branch '3.9': bpo-35714: Reject null characters in struct format strings (GH-16928) https://github.com/python/cpython/commit/5221a10dde4a3853fe7ace316d95767648055109 -

<    1   2