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

2020-05-26 Thread Tal Einat
Tal Einat added the comment: New changeset 3f215f35bdb9d666f5a692fc60f800da1bb1e4a9 by Tal Einat in branch '3.7': [3.7] bpo-38580: Document that select() accepts iterables, not just sequences (GH-16832) https://github.com/python/cpython/commit/3f215f35bdb9d666f5a692fc60f800da1bb1e4a9

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

2020-05-26 Thread Tal Einat
Tal Einat added the comment: New changeset e3e800f3d28881cc9de38cd9bcbcf8fbdea238a6 by Tal Einat in branch '3.8': [3.8] bpo-38580: Document that select() accepts iterables, not just sequences (GH-16832) https://github.com/python/cpython/commit/e3e800f3d28881cc9de38cd9bcbcf8fbdea238a6

[issue39244] multiprocessing.get_all_start_methods() wrong default on macOS

2020-05-26 Thread Tal Einat
Tal Einat added the comment: New changeset db098bc1f05bd0773943e59f83489f05f28dedf8 by idomic in branch 'master': bpo-39244: multiprocessing return default start method first on macOS (GH-18625) https://github.com/python/cpython/commit/db098bc1f05bd0773943e59f83489f05f28dedf8 --

[issue40781] Remove sys._debugmallocstats() function and PYTHONMALLOCSTATS environment variable

2020-05-26 Thread STINNER Victor
STINNER Victor added the comment: INADA-san, Antoine, Serhiy, Pablo: did any of you used this feature recently? Is it useful for your hacks? -- nosy: +inada.naoki, pablogsal, pitrou, serhiy.storchaka ___ Python tracker

[issue39244] multiprocessing.get_all_start_methods() wrong default on macOS

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

[issue39244] multiprocessing.get_all_start_methods() wrong default on macOS

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

[issue39244] multiprocessing.get_all_start_methods() wrong default on macOS

2020-05-26 Thread miss-islington
miss-islington added the comment: New changeset 1c88bf8541e6fa292f1578144add17d3672c5fcf by Miss Islington (bot) in branch '3.9': bpo-39244: multiprocessing return default start method first on macOS (GH-18625) https://github.com/python/cpython/commit/1c88bf8541e6fa292f1578144add17d3672c5fcf

[issue40779] incorrect end column for single argument generator function call AST

2020-05-26 Thread Tomasz Pytel
New submission from Tomasz Pytel : When calling a function with a single argument which is an unparenthesized generator expression the end column for the AST node is incorrect, it is one greater than the start of the function call parentheses where I assume it should be one past the closing

[issue39724] IDLE threading + stdout/stdin observed blocking behavior

2020-05-26 Thread Tal Einat
Tal Einat added the comment: Can someone talk about the reasoning behind the nested Tk mainloop? I haven't managed to find anything useful in code comments and such. Guido? -- ___ Python tracker

[issue40781] Remove sys._debugmallocstats() function and PYTHONMALLOCSTATS environment variable

2020-05-26 Thread STINNER Victor
STINNER Victor added the comment: "Recent" changes in builtin Python debug tools. * In Python 3.9, I removed the "COUNT_ALLOCS" special build: bpo-39489. * Debug build of Python 3.8 is now ABI compatible with release build: I disabled Py_TRACE_REFS macro by default in --with-pydebug build.

[issue39724] IDLE threading + stdout/stdin observed blocking behavior

2020-05-26 Thread Tal Einat
Tal Einat added the comment: This seems to be at least partly intentional: When waiting for user input, IDLE starts a nested Tk mainloop (!), which is stopped by the end-of-line handler. It seems to me that this is what is causing displaying other outputs to be delayed. --

[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

[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

[issue40779] incorrect end column for single argument generator function call AST

2020-05-26 Thread Tomasz Pytel
Tomasz Pytel added the comment: I am on 3.8.1 and you are right this is the same as #39235 so please disregard. -- ___ Python tracker ___

[issue40780] str.format() handles trailing zeros inconsistently in “general” format

2020-05-26 Thread Eric V. Smith
Eric V. Smith added the comment: FWIW, which is probably not much with ".g" formatting, this is how Decimal behaves: >>> from decimal import Decimal as D >>> format(D(1504), '.3g') '1.50e+3' >>> format(D(1505), '.3g') '1.50e+3' >>> format(D(1506), '.3g') '1.51e+3' >>> format(D(1504.0),

[issue39244] multiprocessing.get_all_start_methods() wrong default on macOS

2020-05-26 Thread miss-islington
miss-islington added the comment: New changeset 285ff63351bb5a42099527c283f65434e761be83 by Miss Islington (bot) in branch '3.8': bpo-39244: multiprocessing return default start method first on macOS (GH-18625) https://github.com/python/cpython/commit/285ff63351bb5a42099527c283f65434e761be83

[issue40780] str.format() handles trailing zeros inconsistently in “general” format

2020-05-26 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.10

2020-05-26 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I'm starting it if anyone else already prepared a patch. -- ___ Python tracker ___ ___

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.10

2020-05-26 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19500] ftplib: Add client-side SSL session resumption

2020-05-26 Thread Florian Wickert
Florian Wickert added the comment: Using vsftpd 3.0.3 with ssl_enable=YES and require_ssl_reuse=YES I get the following error when I try to upload a file with conn.storbinary(): FTP command: Client "192.168.178.115", "STOR something.bin" FTP response: Client "192.168.178.115", "150 Ok to

[issue40780] str.format() handles trailing zeros inconsistently in “general” format

2020-05-26 Thread Mark Dickinson
Mark Dickinson added the comment: Very interesting. Agreed that this looks like a bug. It affects old-style formatting, too: >>> "%.3g" % 1503 '1.5e+03' >>> "%.3g" % 1504 '1.5e+03' >>> "%.3g" % 1505 '1.50e+03' -- versions: +Python 3.10, Python 3.7, Python 3.8, Python 3.9

[issue37999] No longer use implicit convertion to int with loss

2020-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 578c3955e0222ec7b3146197467fbb0fcfae12fe by Serhiy Storchaka in branch 'master': bpo-37999: No longer use __int__ in implicit integer conversions. (GH-15636) https://github.com/python/cpython/commit/578c3955e0222ec7b3146197467fbb0fcfae12fe

[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 ___

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

2020-05-26 Thread miss-islington
miss-islington added the comment: New changeset 500cd89ecce97750a1af32d4097d9945b7296bac by Miss Islington (bot) in branch '3.9': bpo-38580: Document that select() accepts iterables, not just sequences (GH-16832)

[issue40780] str.format() handles trailing zeros inconsistently in “general” format

2020-05-26 Thread David Chambers
New submission from David Chambers : According to https://docs.python.org/3/library/string.html#format-specification-mini-language, “insignificant trailing zeros are removed from the significand” when 'g' is specified. I encountered a situation in which a trailing zero is not removed: $

[issue40779] incorrect end column for single argument generator function call AST

2020-05-26 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: For more context, see also bpo-39235. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39244] multiprocessing.get_all_start_methods() wrong default on macOS

2020-05-26 Thread Tal Einat
Change by Tal Einat : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40779] incorrect end column for single argument generator function call AST

2020-05-26 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: What version are you using, 3.8? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39244] multiprocessing.get_all_start_methods() wrong default on macOS

2020-05-26 Thread Tal Einat
Tal Einat added the comment: Thanks for fixing this, Ido! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40756] Second argument of LoggerAdapter.__init__ should default to None

2020-05-26 Thread miss-islington
miss-islington added the comment: New changeset 8ad052464a4e0aef9a11663b80f187087b773592 by Arturo Escaip in branch 'master': bpo-40756: Default second argument of LoggerAdapter.__init__ to None (GH-20362) https://github.com/python/cpython/commit/8ad052464a4e0aef9a11663b80f187087b773592

[issue40601] [C API] Hide static types from the limited C API

2020-05-26 Thread STINNER Victor
STINNER Victor added the comment: > Technically, it is not, see > https://www.python.org/dev/peps/pep-0384/#structures > Structures like PyLong_Type are *not* part of the limited API. The symbol is exported by libpython: $ objdump -T /lib64/libpython3.8.so.1.0|grep PyLong_Type

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.10

2020-05-26 Thread STINNER Victor
STINNER Victor added the comment: Is there anyone interested to implement this change in Python 3.10? -- ___ 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: +19682 pull_request: https://github.com/python/cpython/pull/20424 ___ Python tracker ___

[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

[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 ___ ___

[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

[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

[issue40778] Updating Py_REFCNT and Py_SIZE to use _PyObject_CAST_CONS

2020-05-26 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +19685 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20428 ___ Python tracker ___

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-05-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19686 pull_request: https://github.com/python/cpython/pull/20429 ___ Python tracker ___

[issue40780] str.format() handles trailing zeros inconsistently in “general” format

2020-05-26 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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: Oh. I'm not sure that it works as expected :-( AMD64 FreeBSD Non-Debug 3.x build 804, Finished 18 minutes ago: https://buildbot.python.org/all/#/builders/214/builds/804 0:33:28 load avg: 4.64 [329/425/1] test_code_module passed -- running:

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

2020-05-26 Thread Jakub Stasiak
Jakub Stasiak added the comment: Cheers for backporting this, Tal, you beat me to it! -- ___ Python tracker ___ ___

[issue40779] incorrect end column for single argument generator function call AST

2020-05-26 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40778] Updating Py_REFCNT and Py_SIZE to use _PyObject_CAST_CONS

2020-05-26 Thread Dong-hee Na
Dong-hee Na added the comment: Victor will convert the macros to the functions. So this change will be included in his PR. -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40781] Remove sys._debugmallocstats() function and PYTHONMALLOCSTATS environment variable

2020-05-26 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +19687 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20430 ___ Python tracker ___

[issue40781] Remove sys._debugmallocstats() function and PYTHONMALLOCSTATS environment variable

2020-05-26 Thread STINNER Victor
New submission from STINNER Victor : I never used sys._debugmallocstats() function or PYTHONMALLOCSTATS environment variable, whereas I spend significant time on optimizing memory allocators and free lists. The output is written into stderr which is very convenient to process these data. I

[issue40782] AbstactEventLoop.run_in_executor is listed as an async method, but should actually return a Futrue

2020-05-26 Thread James Barrett
New submission from James Barrett : As discussed in < https://github.com/python/typeshed/issues/3999#issuecomment-634097968 > the type of `AbstractEventLoop.run_in_executor` is defined at < https://github.com/python/cpython/blob/master/Lib/asyncio/events.py#L286 > as follows: ``` async def

[issue38964] Output of syntax error in f-string contains wrong filename

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

[issue17258] multiprocessing.connection challenge implicitly uses MD5

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

[issue39830] zipfile.Path is not included in __all__

2020-05-26 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 5c1d745da5e1166a8724b619060165dcf3949e93 by Miss Islington (bot) in branch '3.8': bpo-39830: Add zipfile.Path to __all__ (GH-19115) (GH-19116) https://github.com/python/cpython/commit/5c1d745da5e1166a8724b619060165dcf3949e93 --

[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

[issue40736] better message for re.search TypeError ("expected string or bytes-like object")

2020-05-26 Thread zihengCat
zihengCat added the comment: Does it mean modify `cpython/Modules/_sre.c` and add `PyObject` information to PyError string ? https://github.com/python/cpython/blob/master/Modules/_sre.c#L376 -- nosy: +zihengcat ___ Python tracker

[issue40654] shutil.copyfile mutates symlink for absolute path

2020-05-26 Thread Jason R. Coombs
Jason R. Coombs added the comment: Thanks Steve. While I was able to avoid the original symptom by not using readlink, I still think there's an issue here, both in the surprising behavior observed by shutil.copyfile, but also by the essential behavior of readlink. The more essential issue

[issue40696] exception chain cycles cause hangs (was "Exception handling with "await" can hang in Python3.9.0b1")

2020-05-26 Thread Mariusz Felisiak
Mariusz Felisiak added the comment: FYI, I created fix https://github.com/django/django/pull/12978 for view's exception handling in Django. -- ___ 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: Zackery, do you mind to create a backport to 3.8? -- ___ Python tracker ___ ___

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

2020-05-26 Thread Kubilay Kocak
Kubilay Kocak added the comment: Added 8gb swap disk to each BB worker -- resolution: -> fixed status: open -> closed ___ 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 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)

[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)

[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)

[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

[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 : -- 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: +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: +19675 pull_request: https://github.com/python/cpython/pull/20416 ___ 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

[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

[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

[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 ___

[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). --

[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)

[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 ___

[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 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)

[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

[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

[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 = _Type, Indeed PyTuple_Type does not have static

[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 ___

[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

[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

[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 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 --

[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 ___

[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 ___

[issue40779] incorrect end column for single argument generator function call AST

2020-05-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker ___

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.10

2020-05-26 Thread Guido van Rossum
Guido van Rossum added the comment: - Double forward ref: IMO this can be resolved in the get_type_hints() functions. (Łukasz do you agree?) - inspect.signature(): Maybe this could switch to using typing.get_type_hints()? Then again if performance is important here maybe we cannot change

[issue40786] madvise should be accessible outside of mmap instance

2020-05-26 Thread Enji Cooper
Change by Enji Cooper : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40786] madvise should be accessible outside of mmap instance

2020-05-26 Thread Enji Cooper
New submission from Enji Cooper : madvise can be used when manipulating mmap'ed pages, but it can also be used when protecting processes and other things. Having madvise be available in mmap as a function would be helpful instead of having to jump through a lot of hoops to run `MADV_PROTECT`

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.10

2020-05-26 Thread Eric V. Smith
Eric V. Smith added the comment: To my knowledge, dataclasses works with `from __future__ import annotations`. If there are specific examples of problems, I'd like to hear about it: please open a separate issue. There is a hack (discussed at PyCon 2018 with all of the relevant players)

[issue16995] Add Base32 support for RFC4648 "Extended Hex" alphabet (patch attached)

2020-05-26 Thread Filipe Laíns
Change by Filipe Laíns : -- nosy: +FFY00 nosy_count: 6.0 -> 7.0 pull_requests: +19697 pull_request: https://github.com/python/cpython/pull/20441 ___ Python tracker ___

[issue39724] IDLE threading + stdout/stdin observed blocking behavior

2020-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Researching 'nested mainloop': the one we are concerned with is in pyshell.PyShell.readline, currently line 1078. self.top.mainloop() # nested mainloop() This was in David Scherer's 'Initial Revision' of 2000 Aug 14 without the comment. It has

[issue40217] The garbage collector doesn't take in account that objects of heap allocated types hold a strong reference to their type

2020-05-26 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +19690 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/20433 ___ Python tracker ___

[issue40783] test_interpreters test_interpreters leaked [216, 216, 216] references

2020-05-26 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : https://buildbot.python.org/all/#/builders/394/builds/94 .. test_interpreters leaked [216, 216, 216] references, sum=648 test_interpreters leaked [84, 84, 84] memory blocks, sum=252 1 test failed again: test_interpreters --

[issue40783] test_interpreters test_interpreters leaked [216, 216, 216] references

2020-05-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- assignee: -> nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40783] test_interpreters test_interpreters leaked [216, 216, 216] references

2020-05-26 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Yes, We can track it under here: https://bugs.python.org/issue32604#msg369454 Following up when my schedule improves this week. -- ___ Python tracker

[issue40753] Remove Python 2 compatibility code from pathlib

2020-05-26 Thread Brett Cannon
Brett Cannon added the comment: If you can't find the guidance then please either open an issue or submit a PR to update the devguide with the info. As for why your other PR was accepted, that was fixing an actual bug in the docstring. This one has absolutely no semantic change to Python;

[issue40784] test_sqlite: CheckFuncDeterministic() fails with SQLite 3.32

2020-05-26 Thread STINNER Victor
New submission from STINNER Victor : With SQLite 3.32, test_sqlite fails with: FAIL: CheckFuncDeterministic (sqlite3.test.userfunctions.FunctionTests) -- Traceback (most recent call last): File

  1   2   >