[issue33164] Blake 2 module update

2021-03-30 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue43662] test_tools: test_reindent_file_with_bad_encoding() fails RHEL7 on x86-64 and s390x with GCC 4.8.5 and LTO

2021-03-30 Thread STINNER Victor
STINNER Victor added the comment: This issue should be fixed by: commit 92a02c1f7e2dcdc62913a4236589e7e5d96172b9 Author: Pablo Galindo Date: Tue Mar 30 00:24:49 2021 +0100 Fix tokenizer error when raw decoding null bytes (GH-25080) The fix is the usage of strlen() instead of "tok->end

[issue43656] StackSummary.format fails if str(value) fails

2021-03-30 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +iritkatriel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue43656] StackSummary.format fails if str(value) fails

2021-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why str() is called at all? Would not be better to use repr()? -- nosy: +serhiy.storchaka ___ Python tracker ___ __

[issue43659] AIX: test_curses crashes buildbot

2021-03-30 Thread Michael Felt
Michael Felt added the comment: my default TERM=xterm I'll also use 'ansi' The filenames will be ${TERM}.err and ${TERM}.out for TERM in xterm ansi; do ./python -m test -vuall test_curses 2>${TERM}.err >${TERM}.out done After TERM=ansi - my terminal is in raw mode (i.e., $ stty sane ^J nee

[issue43510] PEP 597: Implemente encoding="locale" option and EncodingWarning

2021-03-30 Thread Inada Naoki
Inada Naoki added the comment: I created bpo-43651 to track fixing EncodingError in Python stdlibs. I close this issue for now. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue43651] PEP 597: Fix EncodingError

2021-03-30 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue43651] PEP 597: Fix EncodingWarning warnings in the Python stdlib

2021-03-30 Thread STINNER Victor
Change by STINNER Victor : -- title: PEP 597: Fix EncodingError -> PEP 597: Fix EncodingWarning warnings in the Python stdlib ___ Python tracker ___ __

[issue43665] AIX: test_importlib regression (ENV change)

2021-03-30 Thread Michael Felt
New submission from Michael Felt : Since issue43517 test_importlib 'fails' (bot status) with ENV_CHANGED. The core dump is caused by SIGTRAP. I need help to learn how to stop the core dump from being cleaned up so I can load it into dbx and hopefully understand/learn with sub-test is actually

[issue43665] AIX: test_importlib regression (ENV change)

2021-03-30 Thread STINNER Victor
STINNER Victor added the comment: A core dump is a very bad sign of health. Can you please try to bisect which test is causing the segfault using bisect_cmd? Try the command: ./python -m test.bisect_cmd -o bisect --fail-env-changed test_importlib The command should takes 10-60 minutes, and

[issue43659] AIX: test_curses crashes buildbot

2021-03-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue43659] AIX: test_curses crashes buildbot

2021-03-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: fixed -> stage: resolved -> status: closed -> open ___ Python tracker ___ ___ Python-b

[issue43637] winreg: SetValueEx leaks memory if PySys_Audit fails

2021-03-30 Thread miss-islington
miss-islington added the comment: New changeset f79577ddbd7c87b6cc1810e98ee4eaca7ae50699 by Miss Islington (bot) in branch '3.9': bpo-43637: Fix a possible memory leak in winreg.SetValueEx() (GH-25038) https://github.com/python/cpython/commit/f79577ddbd7c87b6cc1810e98ee4eaca7ae50699 ---

[issue43637] winreg: SetValueEx leaks memory if PySys_Audit fails

2021-03-30 Thread miss-islington
miss-islington added the comment: New changeset 5486b105a4c5de840c24776c726eeac2a8dc973c by Miss Islington (bot) in branch '3.8': bpo-43637: Fix a possible memory leak in winreg.SetValueEx() (GH-25038) https://github.com/python/cpython/commit/5486b105a4c5de840c24776c726eeac2a8dc973c ---

[issue43637] winreg: SetValueEx leaks memory if PySys_Audit fails

2021-03-30 Thread Dong-hee Na
Change by Dong-hee Na : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue43659] AIX: test_curses crashes buildbot

2021-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you. I see that 7 tests are failed (test_background, test_color_attrs, test_color_content, test_getch, test_getstr, test_init_pair, test_insert_delete) and test_output_string perhaps crashes. Could you please run tests with test_insert_delete skipped

[issue19124] os.execv executes in background on Windows

2021-03-30 Thread Eryk Sun
Eryk Sun added the comment: Steve, what do you think about os.exec*()? Should it be emulated better or deprecated? We can't hide the reality that it's a new process with a different process ID and parent process ID -- against what POSIX requires. But emulating exec() is probably good enoug

[issue43659] AIX: test_curses crashes buildbot

2021-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please also try to comment out the following line in test_output_string. Does it help? s = '\u0661\u0662\u0663\u0664' try: func(s, 3) except UnicodeEncodeError: self.ass

[issue43666] AIX: Lib/_aix_support.py may break in a WPAR environment

2021-03-30 Thread Michael Felt
New submission from Michael Felt : When working in a WPAR (workload partition) the routines supporting aix_platform() may fail if there is no related builddate for bos.mp64. a) the fileset queried is changed to `bos.rte` b) an extreme value (9988) is returned for any similar (unexpected) situa

[issue24234] Should we define complex.__complex__ and bytes.__bytes__?

2021-03-30 Thread Takumi Kato
Takumi Kato added the comment: Recently, the situation has changed. We should consider this issue again. typing.SupportsComplex is an ABC with one abstract method __complex__. Thus, isinstance(complex, typing.SupportsComplex) is False. typing.SupportsBytes also. It is nonsense. -- no

[issue43125] Trying To Concatenate Bytes and String in SMTPLIB

2021-03-30 Thread Dong-hee Na
Change by Dong-hee Na : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.6, Python 3.8 ___ Python tracker ___ __

[issue43125] Trying To Concatenate Bytes and String in SMTPLIB

2021-03-30 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset cf35e05f89bb008d6f4553f9875e0fe87fc02406 by Grégory Starck in branch 'master': bpo-43125: Fix: return expected type (str), not original value (bytes) in email/base64mime.py::body_encode (GH-24476) https://github.com/python/cpython/commit/cf35e05f89

[issue43622] TLS 1.3, client polling returns event without data

2021-03-30 Thread gchauvel
gchauvel added the comment: Based on your first comment, poll returning an event and recv not able to read data is a behavior to expect with TLSv1.2/TLSv1.3 (or ...) So in order to use SSLContext in a polling loop with multiple file descriptors, a non-blocking mode (to avoid an fd event and n

[issue43659] AIX: test_curses crashes buildbot

2021-03-30 Thread Michael Felt
Michael Felt added the comment: ./python -m test -vuall -i test_output_string -i test_insert_delete test_curses 2>test.err 1>test.out returns four failures: see attached '-i test_output_string' stops the crash -- Added file: https://bugs.python.org/file49918/test.out __

[issue43631] Update to OpenSSL 1.1.1k

2021-03-30 Thread miss-islington
miss-islington added the comment: New changeset 9ac263091db4a8c7dedb577d01f544622a448744 by Christian Heimes in branch '3.8': [3.8] bpo-43631: Update to OpenSSL 1.1.1k (GH-25024) (GH-25089) https://github.com/python/cpython/commit/9ac263091db4a8c7dedb577d01f544622a448744 -- ___

[issue43631] Update to OpenSSL 1.1.1k

2021-03-30 Thread miss-islington
miss-islington added the comment: New changeset cd82d592063aa03dcc238dcc5222bd47ee0eb438 by Christian Heimes in branch '3.9': [3.9] bpo-43631: Update to OpenSSL 1.1.1k (GH-25024) (GH-25088) https://github.com/python/cpython/commit/cd82d592063aa03dcc238dcc5222bd47ee0eb438 -- ___

[issue37745] 3.8b3 - windows install gui/ inconsistent options

2021-03-30 Thread Dimitri Merejkowsky
Dimitri Merejkowsky added the comment: > the inevitable confusion when multiple PATH updates do not play well together > (which they don't). Oh I see. Did not think about that. I can see a scenario where you install 3.9, PATH is set, you install 3.10, the PATH update fails for some reason an

[issue43622] TLS 1.3, client polling returns event without data

2021-03-30 Thread gchauvel
gchauvel added the comment: err: second item: copy/paste error, the exception is PySSLWantReadErrorObject -- ___ Python tracker ___ ___

[issue43667] Solaris: Fix broken Unicode encoding in non-UTF locales

2021-03-30 Thread Jakub Kulik
New submission from Jakub Kulik : On Linux, wchar_t values are mapped to their UTF-8 counterparts; however, that does not have to be the case as the standard allows any arbitrary representation to be used, and this is the case for Solaris. In Oracle Solaris, the internal form of wchar_t is sp

[issue43667] Solaris: Fix broken Unicode encoding in non-UTF locales

2021-03-30 Thread Jakub Kulik
Change by Jakub Kulik : -- keywords: +patch pull_requests: +23840 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25096 ___ Python tracker ___

[issue43667] Solaris: Fix broken Unicode encoding in non-UTF locales

2021-03-30 Thread Jakub Kulik
Jakub Kulik added the comment: I forgot to mention: this affects Oracle Solaris. I tested this on SmartOS, and I cannot reproduce it there as it seems that they are using Unicode representation for all locales. Based on the documentation, this might also affect other systems as well (e.g. HP

[issue43656] StackSummary.format fails if str(value) fails

2021-03-30 Thread Martin
Martin added the comment: Yes, it is repr in FrameSummary.__init__. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue43651] PEP 597: Fix EncodingWarning warnings in the Python stdlib

2021-03-30 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +23841 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25097 ___ Python tracker ___

[issue43668] Segfault with for fresh ubuntu 20.04 install

2021-03-30 Thread axel
New submission from axel : The python interpreter segfaults when running in a miniconda environment on a fresh install of ubuntu 20.04.2. This seems to happen intermittently, both while running "pip" during the conda setup of an environment and during the execution of code like below. The iss

[issue43668] Segfault with for fresh ubuntu 20.04 install

2021-03-30 Thread STINNER Victor
STINNER Victor added the comment: This is very likely a crash in a 3rd party C extensions. You should try to write a simpler reproducer and report it to the C extensions causing the crash. You can try to enable the Python Development Mode to see if it provides you more information: https://d

[issue43668] Segfault with for fresh ubuntu 20.04 install

2021-03-30 Thread STINNER Victor
STINNER Victor added the comment: Also, it would help a lot to use a Python built in debug mode. -- ___ Python tracker ___ ___ Pyth

[issue43656] StackSummary.format fails if str(value) fails

2021-03-30 Thread Irit Katriel
Irit Katriel added the comment: See issue39228. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue43668] Segfault with for fresh ubuntu 20.04 install

2021-03-30 Thread STINNER Victor
STINNER Victor added the comment: > Also, it would help a lot to use a Python built in debug mode. See: https://pythondev.readthedocs.io/builds.html#pydebug -- ___ Python tracker ___

[issue43668] Segfault with for fresh ubuntu 20.04 install

2021-03-30 Thread axel
axel added the comment: Thanks for the reply, I don't know exactly what you mean by making a simpler reproducer, but as I wrote in the original post, just using pip will cause this issue to happen from time to time, which is why I find it unlikely to be caused by third party libs. I will t

[issue43510] PEP 597: Implemente encoding="locale" option and EncodingWarning

2021-03-30 Thread Inada Naoki
Inada Naoki added the comment: In bpo-43651, I found code pattern that it's difficult to use io.text_encoding(): class OpenWrapper: def __new__(cls, *args, **kwargs): return open(*args, **kwargs) `kwargs["encoding"] = text_encoding(kwargs.get("encoding)` doesn't work

[issue43669] PEP 644: Require OpenSSL 1.1.1 or newer

2021-03-30 Thread Christian Heimes
New submission from Christian Heimes : Tracker ticket for PEP 644, https://www.python.org/dev/peps/pep-0644/ This PEP proposes for CPython’s standard library to support only OpenSSL 1.1.1 LTS or newer. Support for OpenSSL versions past end-of-lifetime, incompatible forks, and other TLS librari

[issue43669] PEP 644: Require OpenSSL 1.1.1 or newer

2021-03-30 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +23842 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23014 ___ Python tracker ___

[issue43668] Segfault with for fresh ubuntu 20.04 install

2021-03-30 Thread STINNER Victor
STINNER Victor added the comment: > Thanks for the reply, I don't know exactly what you mean by making a simpler > reproducer Script with less lines and less imports. > just using pip will cause this issue to happen from time to time, which is > why I find it unlikely to be caused by third

[issue43670] Typo in 3.10 changelog

2021-03-30 Thread Ilya Gruzinov
New submission from Ilya Gruzinov : In next lines typo in function `load`: # BUG: "rb" mode or encoding="utf-8" should be used. with open("data.json") as f: data = json.laod(f) -- assignee: docs@python components: Documentation messages: 389825 nosy: docs@python, shagren priority:

[issue36384] ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-03-30 Thread Christian Heimes
Christian Heimes added the comment: Serhiy was right, this is a security issue. The patch should not have landed in 3.8. At a bare minimum the patch should have been postponed until documentation was updated. Since 3.8 the ipaddresss does not behave as documented. A similar security issue in

[issue43671] segfault when using tkinter + pygame for ~5 minutes

2021-03-30 Thread Samuel Kirwin
New submission from Samuel Kirwin : Per the attached file, when testing an adapted version of pygame's alien script as part of research. Python segfaulted. This has occured twice about 5 minutes in. I had console running all messages at the time if more logs needed. MacOS Big Sur 11.2.3 on M

[issue43510] PEP 597: Implemente encoding="locale" option and EncodingWarning

2021-03-30 Thread Eryk Sun
Eryk Sun added the comment: > I think we should accept `encoding="locale"` even in binary mode. That's a good idea. It means the same as passing None, except it avoids a warning. -- nosy: +eryksun ___ Python tracker

[issue31956] Add start and stop parameters to the array.index()

2021-03-30 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue36384] ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-03-30 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +23844 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25099 ___ Python tracker

[issue43666] AIX: Lib/_aix_support.py may break in a WPAR environment

2021-03-30 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +23845 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25095 ___ Python tracker ___ ___

[issue43671] segfault when using tkinter + pygame for ~5 minutes

2021-03-30 Thread Pycrytor10
Pycrytor10 added the comment: Can reproduce with a modified pygame.examples.alien to run in a loop after a similar time. -- Added file: https://bugs.python.org/file49920/aliens.py ___ Python tracker ___

[issue43671] segfault when using tkinter + pygame for ~5 minutes

2021-03-30 Thread Pycrytor10
Change by Pycrytor10 : Added file: https://bugs.python.org/file49921/segfaultpygame.txt ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43399] xml.etree.ElementTree.extend does not work with iterators when using the Python implementation

2021-03-30 Thread Alex
Alex added the comment: Is there anything else I should be doing, in order to get this merged in time for 3.10? (the PR is "awaiting merge") For the record, the equivalent PR for PyPy is now merged in the py3.7 branch: https://foss.heptapod.net/pypy/pypy/-/merge_requests/807. Regarding the b

[issue43671] segfault when using tkinter + pygame for ~5 minutes

2021-03-30 Thread Pycrytor10
Pycrytor10 added the comment: Also filed https://github.com/pygame/pygame/issues/2543 as not sure where issue comes from -- ___ Python tracker ___ ___

[issue38263] [Windows] multiprocessing: DupHandle.detach() race condition on DuplicateHandle(DUPLICATE_CLOSE_SOURCE)

2021-03-30 Thread Eryk Sun
Eryk Sun added the comment: spawn_main() could handle a PermissionError by checking the exit code. If the parent has terminated already, then simply exit quietly. _winapi.PROCESS_QUERY_LIMITED_INFORMATION would need to be defined. For example: def spawn_main(pipe_handle, parent_pid=None,

[issue42134] Raise ImportWarning when falling back to find_module()

2021-03-30 Thread Brett Cannon
Brett Cannon added the comment: New changeset a7ff6df60c05e1b69fca743573b1e118bebf121d by Brett Cannon in branch 'master': bpo-42134: Raise ImportWarning when calling find_module() in the import system (GH-25044) https://github.com/python/cpython/commit/a7ff6df60c05e1b69fca743573b1e118bebf12

[issue43672] Raise ImportWarning when calling find_loader()

2021-03-30 Thread Brett Cannon
New submission from Brett Cannon : Using find_loader() in the import system should raise ImportWarning to start transitioning people over to find_spec() who haven't migrated since Python 3.4. -- assignee: brett.cannon components: Interpreter Core messages: 389834 nosy: brett.cannon pri

[issue38263] [Windows] multiprocessing: DupHandle.detach() race condition on DuplicateHandle(DUPLICATE_CLOSE_SOURCE)

2021-03-30 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue43567] regen.vcxproj cannot regenerate some necessary files

2021-03-30 Thread Guido van Rossum
Guido van Rossum added the comment: Can you past the full output from your command? Also, try making a dummy change (e.g. add a blank line) to each of the input files -- this will trigger the rebuild. PS. Please don't remove nosy folks unless they request so. -- nosy: +anthonypjshaw

[issue41369] Update to libmpdec-2.5.1

2021-03-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 73b20ae2fb7a5c1374aa5c3719f64c53d29fa0d2 by Antoine Pitrou in branch 'master': bpo-41369: Finish updating the vendored libmpdec to version 2.5.1 (GH-24962) https://github.com/python/cpython/commit/73b20ae2fb7a5c1374aa5c3719f64c53d29fa0d2 -

[issue41369] Update to libmpdec-2.5.1

2021-03-30 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue33125] Windows 10 ARM64 platform support

2021-03-30 Thread Steve Dower
Steve Dower added the comment: Our builds are fine, so there's no need for an issue on our side. The decision to release is based on the ecosystem catching up. If you're able to help projects like setuptools, pip, and the core parts of the data science stack (which will need the most help) b

[issue19124] os.execv executes in background on Windows

2021-03-30 Thread Steve Dower
Steve Dower added the comment: > emulating exec() is probably good enough for most cases, especially if code > expects to work in Windows. I think good-enough emulation is fine, but we should update the docs to clarify that non-Unix platforms may create a subprocess with a new PID, and calle

[issue37945] [Windows] test_locale.TestMiscellaneous.test_getsetlocale_issue1813() fails

2021-03-30 Thread Steve Dower
Steve Dower added the comment: This is now holding up some security releases (due to a couple of CVEs). Can we get the test skipped or fixed asap, please? -- nosy: +lukasz.langa, ned.deily priority: normal -> release blocker ___ Python tracker

[issue43656] StackSummary.format fails if str(value) fails

2021-03-30 Thread Martin
Martin added the comment: I didn't know repr is supposed to always succeed. Does the documentation mention this? -- ___ Python tracker ___ ___

[issue43567] regen.vcxproj cannot regenerate some necessary files

2021-03-30 Thread Guido van Rossum
Guido van Rossum added the comment: @Steve, Anthony: I am now in a state where I have *no* changes anywhere, build.bat completes without errors, but build.bat --regen produces this error (after first doing a regular build): C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Comm

[issue43656] StackSummary.format fails if str(value) fails

2021-03-30 Thread Martin
Martin added the comment: I can't find any mention of this in the documentation: https://docs.python.org/3/reference/datamodel.html#object.__repr__ https://docs.python.org/3/library/functions.html#repr I think this should be mentioned somewhere. -- _

[issue43673] Missing stub for logging attribute manager

2021-03-30 Thread William (David) Wilcox
Change by William (David) Wilcox : -- components: Library (Lib) nosy: wdwilcox priority: normal severity: normal status: open title: Missing stub for logging attribute manager type: enhancement versions: Python 3.10 ___ Python tracker

[issue19124] os.execv executes in background on Windows

2021-03-30 Thread Eryk Sun
Eryk Sun added the comment: > Even if that's just swapping the execv call for spawnv(_P_WAIT) > and then exiting, that's fine by me Maybe call SuspendThread() on other threads, at least the ones that can be enumerated with the threading module. > I don't see how its behaviour would change a

[issue36534] tarfile and zipfile: handling Windows (path) illegal characters in archive member names

2021-03-30 Thread Eryk Sun
Change by Eryk Sun : -- versions: +Python 3.10 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue42968] [Windows] multiprocessing handle leak when child process is killed during startup/unpickling

2021-03-30 Thread Eryk Sun
Change by Eryk Sun : -- title: multiprocessing handle leak on Windows when child process is killed during startup/unpickling -> [Windows] multiprocessing handle leak when child process is killed during startup/unpickling versions: -Python 3.7 ___

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

2021-03-30 Thread Eryk Sun
Change by Eryk Sun : -- components: +Extension Modules title: Inconsistent os.stat behavior for directory with Access Denied -> [Windows] Inconsistent os.stat behavior for directory with Access Denied versions: +Python 3.10 -Python 3.7 ___ Python tr

[issue43105] [Windows] Can't import extension modules resolved via relative paths in sys.path

2021-03-30 Thread Eryk Sun
Change by Eryk Sun : -- components: +Interpreter Core, Library (Lib) -Extension Modules title: Can't import extension modules resolved via relative paths in sys.path on Windows -> [Windows] Can't import extension modules resolved via relative paths in sys.path versions: -Python 3.7

[issue29753] [Linux] ctypes packs bitfields Incorrectly

2021-03-30 Thread Eryk Sun
Change by Eryk Sun : -- title: Ctypes Packing Bitfields Incorrectly - Linux -> [Linux] ctypes packs bitfields Incorrectly versions: +Python 3.10 -Python 3.7 ___ Python tracker ___

[issue43673] Missing stub for logging attribute manager

2021-03-30 Thread William (David) Wilcox
Change by William (David) Wilcox : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43431] Subprocess timeout causes output to be returned as bytes in text mode

2021-03-30 Thread Eryk Sun
Change by Eryk Sun : -- versions: -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue42134] Raise ImportWarning when falling back to find_module()

2021-03-30 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue32671] redesign Windows os.getlogin, and add os.getuser

2021-03-30 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> rejected stage: test needed -> resolved status: open -> closed ___ Python tracker ___ ___ Py

[issue39228] traceback.FrameSummary does not handle exceptions from `repr()`

2021-03-30 Thread Martin
Martin added the comment: > As is true for most special methods, it is a bug for __repr__ methods to > raise. Is this codified anywhere? I only learned about that in this bug report. -- nosy: +moi90 ___ Python tracker

[issue43671] segfault when using tkinter + pygame for ~5 minutes

2021-03-30 Thread E. Paine
E. Paine added the comment: Not sure why this was marked as a problem with tkinter (neither Pygame nor the example use it). I would be very surprised if this wasn't an issue with Pygame, as the Python is just requesting a dictionary deallocation which is then handled by Pygame's `font.cpytho

[issue43671] segfault when using tkinter + pygame for ~5 minutes

2021-03-30 Thread Pycrytor10
Pycrytor10 added the comment: My original script has tkinter used as well. I wasn't entirely sure where it was when I filed the bug at first and just saw a tk/tcl mentioned in the logs. It does look now I've managed to investigate further to be something in pygame. I've never had to debug a

[issue36384] ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-03-30 Thread STINNER Victor
STINNER Victor added the comment: > The patch should not have landed in 3.8. At a bare minimum the patch should > have been postponed until documentation was updated. Since 3.8 the ipaddresss > does not behave as documented. A similar security issue in NPM was published > two days ago, CVE-2

[issue36534] tarfile and zipfile: handling Windows (path) illegal characters in archive member names

2021-03-30 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue43674] strange effect at recursion limit

2021-03-30 Thread TW
New submission from TW : user@development:~$ python3 Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. def recurse(n): print(n) try: recurse(n+1) except RecursionError: print("re

[issue30511] shutil.make_archive should not need to chdir (alternatively: make shutil.make_archive thread-safe)

2021-03-30 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: Just wasted two hours for this. Can someone really update the documentation of it if this is not going to change. -- nosy: +michael-o ___ Python tracker ___

[issue37368] test_asyncio: test_create_server_ssl_match_failed() failed on s390x SLES 3.x and logged an unraisable exception

2021-03-30 Thread Neil Schemenauer
Neil Schemenauer added the comment: It seems to not be specific to S390, same kind of failure on the PPC64LE RHEL8 LTO + PGE 3.x tester: Exception ignored in: Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL8

[issue43332] Make http.client._tunnel send one byte string over the network

2021-03-30 Thread Zveinn
Zveinn added the comment: No problem, Hopefully this will improve the performance on some network devices and proxy services. -- ___ Python tracker ___

[issue39228] traceback.FrameSummary does not handle exceptions from `repr()`

2021-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: __repr__() and repr() can raise exceptions. Silencing arbitrary exception is usually a bad idea. Even correctly raised code can raise exceptions such as MemoryError, RecursionError and KeybordInterrupt. For this reason I think that the proposed change shou

[issue43399] xml.etree.ElementTree.extend does not work with iterators when using the Python implementation

2021-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 51a85ddce8b336addcb61b96f04c9c5edef07296 by Alex Prengère in branch 'master': bpo-43399: Fix ElementTree.extend not working on iterators (GH-24751) https://github.com/python/cpython/commit/51a85ddce8b336addcb61b96f04c9c5edef07296 --

[issue43399] xml.etree.ElementTree.extend does not work with iterators when using the Python implementation

2021-03-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +23846 pull_request: https://github.com/python/cpython/pull/25101 ___ Python tracker _

[issue43399] xml.etree.ElementTree.extend does not work with iterators when using the Python implementation

2021-03-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +23847 pull_request: https://github.com/python/cpython/pull/25102 ___ Python tracker ___ __

[issue43675] test

2021-03-30 Thread Aysal Marandian
Change by Aysal Marandian : -- nosy: aysal.marandian priority: normal severity: normal status: open title: test ___ Python tracker ___ _

[issue28276] test_loading.py - false positive result for "def test_find" when find_library() is not functional or the (shared) library does not exist

2021-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Concur. Also you can add "ssl" to the list of tested names if both "c" and "m" fail on AIX. -- nosy: +serhiy.storchaka ___ Python tracker

[issue43675] test

2021-03-30 Thread Aysal Marandian
New submission from Aysal Marandian : test out python -- resolution: -> not a bug versions: +Python 3.10 ___ Python tracker ___ ___

[issue43399] xml.etree.ElementTree.extend does not work with iterators when using the Python implementation

2021-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Pinging us was the only action needed. Thank you for your contribution Alex. -- ___ Python tracker ___

[issue43675] test

2021-03-30 Thread Eric V. Smith
Change by Eric V. Smith : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue43399] xml.etree.ElementTree.extend does not work with iterators when using the Python implementation

2021-03-30 Thread miss-islington
miss-islington added the comment: New changeset c1079cde2a7676892a9b98703903206b7d26ed1f by Miss Islington (bot) in branch '3.8': bpo-43399: Fix ElementTree.extend not working on iterators (GH-24751) https://github.com/python/cpython/commit/c1079cde2a7676892a9b98703903206b7d26ed1f -

[issue43399] xml.etree.ElementTree.extend does not work with iterators when using the Python implementation

2021-03-30 Thread miss-islington
miss-islington added the comment: New changeset b500bd8e672d15c6dfa24568a3264fdc0f3e0c01 by Miss Islington (bot) in branch '3.9': bpo-43399: Fix ElementTree.extend not working on iterators (GH-24751) https://github.com/python/cpython/commit/b500bd8e672d15c6dfa24568a3264fdc0f3e0c01 -

[issue39228] traceback.FrameSummary does not handle exceptions from `repr()`

2021-03-30 Thread Irit Katriel
Irit Katriel added the comment: If we decide to reject this then we should add unit tests that show this state of affairs is deliberate. -- nosy: +iritkatriel ___ Python tracker

[issue41461] test_pathlib assumes underlying filesystem permits creation with world-write permissions

2021-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: umask(0o002) looks good idea (and perhaps umask(0o026) instead of umask(0o022)). Please add also a short explanation comment. -- nosy: +serhiy.storchaka ___ Python tracker __

  1   2   >